Ticket #9151: semicolon.patch
File semicolon.patch, 27.2 KB (added by , 15 years ago) |
---|
-
gui/ThemeParser.h
210 210 KEY_END() 211 211 KEY_END() 212 212 213 } PARSER_END() ;213 } PARSER_END() 214 214 215 215 /** Render info callbacks */ 216 216 bool parserCallback_render_info(ParserNode *node); -
common/rect.h
41 41 42 42 Point() : x(0), y(0) {} 43 43 Point(int16 x1, int16 y1) : x(x1), y(y1) {} 44 bool operator==(const Point &p) const { return x == p.x && y == p.y; } ;45 bool operator!=(const Point &p) const { return x != p.x || y != p.y; } ;44 bool operator==(const Point &p) const { return x == p.x && y == p.y; } 45 bool operator!=(const Point &p) const { return x != p.x || y != p.y; } 46 46 47 47 /** 48 48 * Return the square of the distance between this point and the point p. -
engines/m4/scene.h
111 111 M4Surface *getBackgroundSurface() const { return _backgroundSurface; } 112 112 void showInterface(); 113 113 void hideInterface(); 114 GameInterfaceView *getInterface() { return _interfaceSurface; } ;115 SceneResources &getSceneResources() { return *_sceneResources; } ;114 GameInterfaceView *getInterface() { return _interfaceSurface; } 115 SceneResources &getSceneResources() { return *_sceneResources; } 116 116 117 117 void onRefresh(RectList *rects, M4Surface *destSurface); 118 118 bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents); -
engines/m4/console.h
66 66 bool cmdSceneInfo(int argc, const char **argv); 67 67 public: 68 68 MadsConsole(MadsEngine *vm); 69 virtual ~MadsConsole() {} ;69 virtual ~MadsConsole() {} 70 70 }; 71 71 72 72 class M4Console : public Console { … … 76 76 bool cmdSceneInfo(int argc, const char **argv); 77 77 public: 78 78 M4Console(M4Engine *vm); 79 virtual ~M4Console() {} ;79 virtual ~M4Console() {} 80 80 }; 81 81 82 82 } // End of namespace M4 -
engines/m4/script.h
88 88 int value; 89 89 }; 90 90 91 ScriptValue() : type(kInteger), value(0) {} ;92 ScriptValue(ScriptValueType itype, int ivalue) : type(itype), value(ivalue) {} ;91 ScriptValue() : type(kInteger), value(0) {} 92 ScriptValue(ScriptValueType itype, int ivalue) : type(itype), value(ivalue) {} 93 93 94 ScriptValue(const int intValue) : type(kInteger), value(intValue) {} ;94 ScriptValue(const int intValue) : type(kInteger), value(intValue) {} 95 95 96 96 ScriptValue& operator=(const int intValue) { 97 97 type = kInteger; -
engines/m4/gui.h
213 213 class DialogView : public View { 214 214 public: 215 215 DialogView(MadsM4Engine *Vm, const Common::Rect &viewBounds, bool transparent = false): 216 View(Vm, viewBounds, transparent) {} ;216 View(Vm, viewBounds, transparent) {} 217 217 DialogView(MadsM4Engine *Vm, int x = 0, int y = 0, bool transparent = false): 218 View(Vm, x, y, transparent) {} ;218 View(Vm, x, y, transparent) {} 219 219 220 220 MadsM4Engine *vm() { return _vm; } 221 221 virtual SpriteAsset *sprites() = 0; … … 399 399 private: 400 400 int _tag; 401 401 public: 402 GUIRect(View *owner, const Common::Rect &bounds, int tag): GUIObject(owner, bounds) { _tag = tag; } ;402 GUIRect(View *owner, const Common::Rect &bounds, int tag): GUIObject(owner, bounds) { _tag = tag; } 403 403 404 404 virtual bool onEvent(M4EventType eventType, int32 param, int x, int y, GUIObject *¤tItem) { return false; } 405 405 int getTag() const { return _tag; } … … 443 443 444 444 class GameInterfaceView : public View { 445 445 public: 446 GameInterfaceView(MadsM4Engine *vm, const Common::Rect &rect): View(vm, rect) {} ;447 ~GameInterfaceView() {} ;446 GameInterfaceView(MadsM4Engine *vm, const Common::Rect &rect): View(vm, rect) {} 447 ~GameInterfaceView() {} 448 448 449 virtual void initialise() {} ;450 virtual void setSelectedObject(int objectNumber) {} ;451 virtual void addObjectToInventory(int objectNumber) {} ;449 virtual void initialise() {} 450 virtual void setSelectedObject(int objectNumber) {} 451 virtual void addObjectToInventory(int objectNumber) {} 452 452 }; 453 453 454 454 } -
engines/m4/m4_scene.h
76 76 virtual void showHotSpots(); 77 77 78 78 byte *getInverseColourTable() const { return _inverseColourTable; } 79 M4InterfaceView *getInterface() { return (M4InterfaceView *)_interfaceSurface; } ;80 M4SceneResources &getSceneResources() { return _sceneResources; } ;79 M4InterfaceView *getInterface() { return (M4InterfaceView *)_interfaceSurface; } 80 M4SceneResources &getSceneResources() { return _sceneResources; } 81 81 void setStatusText(const char *text); 82 82 void setAction(int action, int objectId = -1); 83 83 }; -
engines/m4/mads_scene.h
205 205 void loadPlayerSprites(const char *prefix); 206 206 void showMADSV2TextBox(char *text, int x, int y, char *faceName); 207 207 208 MadsInterfaceView *getInterface() { return (MadsInterfaceView *)_interfaceSurface; } ;209 MadsSceneResources &getSceneResources() { return _sceneResources; } ;208 MadsInterfaceView *getInterface() { return (MadsInterfaceView *)_interfaceSurface; } 209 MadsSceneResources &getSceneResources() { return _sceneResources; } 210 210 MadsAction &getAction() { return _action; } 211 211 void setStatusText(const char *text) {};//***DEPRECATED*** 212 212 }; -
engines/m4/m4.h
202 202 Animation *_animation; 203 203 Common::RandomSource *_random; 204 204 205 Scene *scene() { return _scene; } ;205 Scene *scene() { return _scene; } 206 206 }; 207 207 208 208 class MadsEngine : public MadsM4Engine { … … 214 214 215 215 virtual Common::Error run(); 216 216 217 MadsGlobals *globals() { return (MadsGlobals *)_globals; } ;218 MadsScene *scene() { return (MadsScene *)_scene; } ;217 MadsGlobals *globals() { return (MadsGlobals *)_globals; } 218 MadsScene *scene() { return (MadsScene *)_scene; } 219 219 }; 220 220 221 221 class M4Engine : public MadsM4Engine { … … 227 227 228 228 virtual Common::Error run(); 229 229 230 M4Globals *globals() { return (M4Globals *)_globals; } ;231 M4Scene *scene() { return (M4Scene *)_scene; } ;230 M4Globals *globals() { return (M4Globals *)_globals; } 231 M4Scene *scene() { return (M4Scene *)_scene; } 232 232 }; 233 233 234 234 // FIXME: remove globals -
engines/m4/resource.h
94 94 95 95 virtual Common::SeekableReadStream *loadResource(const char *resourceName, bool loadFlag) = 0; 96 96 public: 97 ResourceManager(MadsM4Engine *vm): _vm(vm) {} ;97 ResourceManager(MadsM4Engine *vm): _vm(vm) {} 98 98 virtual ~ResourceManager(); 99 99 100 100 Common::SeekableReadStream *get(const char *resourceName, bool loadFlag = true); … … 124 124 protected: 125 125 Common::SeekableReadStream *loadResource(const char *resourceName, bool loadFlag); 126 126 public: 127 MADSResourceManager(MadsM4Engine *vm): ResourceManager(vm) {} ;127 MADSResourceManager(MadsM4Engine *vm): ResourceManager(vm) {} 128 128 bool resourceExists(const char *resourceName); 129 129 130 130 static const char *getResourceName(char asciiCh, int prefix, ExtensionType extType, const char *suffix, int index); -
engines/m4/viewmgr.h
90 90 struct Hotkey { 91 91 public: 92 92 typedef void (*Callback)(MadsM4Engine *vm, View *view, uint32 key); 93 Hotkey(uint32 keyVal, Hotkey::Callback callbackFn) : key(keyVal), callback(callbackFn) {} ;93 Hotkey(uint32 keyVal, Hotkey::Callback callbackFn) : key(keyVal), callback(callbackFn) {} 94 94 uint32 key; 95 95 Hotkey::Callback callback; 96 96 }; … … 136 136 137 137 virtual void onRefresh(RectList *rects, M4Surface *destSurface); 138 138 virtual bool onEvent(M4EventType eventType, int32 param, int x, int y, bool &captureEvents) { return false; } 139 virtual void updateState() {} ;139 virtual void updateState() {} 140 140 141 141 protected: 142 142 MadsM4Engine *_vm; -
engines/m4/globals.h
173 173 174 174 class MadsObject { 175 175 public: 176 MadsObject() {} ;176 MadsObject() {} 177 177 MadsObject(Common::SeekableReadStream *stream); 178 178 void load(Common::SeekableReadStream *stream); 179 bool isInInventory() const { return roomNumber == PLAYER_INVENTORY; } ;179 bool isInInventory() const { return roomNumber == PLAYER_INVENTORY; } 180 180 181 181 uint16 descId; 182 182 uint16 roomNumber; … … 192 192 MadsM4Engine *_vm; 193 193 public: 194 194 Globals(MadsM4Engine *vm); 195 virtual ~Globals() {} ;195 virtual ~Globals() {} 196 196 197 197 bool isInterfaceVisible(); 198 198 … … 203 203 M4Engine *_vm; 204 204 public: 205 205 M4Globals(M4Engine *vm); 206 virtual ~M4Globals() {} ;206 virtual ~M4Globals() {} 207 207 208 208 bool invSuppressClickSound; 209 209 }; -
engines/agi/wagparser.h
150 150 /** 151 151 * Was the property read ok from the source stream? 152 152 */ 153 bool readOk() const { return _readOk; } ;153 bool readOk() const { return _readOk; } 154 154 155 155 /** 156 156 * Return the property's code. 157 157 * @return The property's code if readOk(), PC_UNDEFINED otherwise. 158 158 */ 159 enum WagPropertyCode getCode() const { return _propCode; } ;159 enum WagPropertyCode getCode() const { return _propCode; } 160 160 161 161 /** 162 162 * Return the property's type. 163 163 * @return The property's type if readOk(), PT_UNDEFINED otherwise. 164 164 */ 165 enum WagPropertyType getType() const { return _propType; } ;165 enum WagPropertyType getType() const { return _propType; } 166 166 167 167 /** 168 168 * Return the property's number. 169 169 * @return The property's number if readOk(), 0 otherwise. 170 170 */ 171 byte getNumber() const { return _propNum; } ;171 byte getNumber() const { return _propNum; } 172 172 173 173 /** 174 174 * Return the property's data's length. … … 181 181 * Can be used as a C-style string (i.e. this is guaranteed to have a trailing zero). 182 182 * @return The property's data if readOk(), NULL otherwise. 183 183 */ 184 const char *getData() const { return _propData; } ;184 const char *getData() const { return _propData; } 185 185 186 186 // Member variables 187 187 protected: … … 230 230 * @note Use only after a call to parse() first. 231 231 * @return The list of loaded properties. 232 232 */ 233 const PropertyList &getProperties() const { return _propList; } ;233 const PropertyList &getProperties() const { return _propList; } 234 234 235 235 /** 236 236 * Get property with the given property code. … … 264 264 * Was the file parsed successfully? 265 265 * @return True if file was parsed successfully, false otherwise. 266 266 */ 267 bool parsedOk() const { return _parsedOk; } ;267 bool parsedOk() const { return _parsedOk; } 268 268 269 269 protected: 270 270 /** -
engines/metaengine.h
126 126 * @param target name of a config manager target 127 127 * @param slot slot number of the save state to be removed 128 128 */ 129 virtual void removeSaveState(const char *target, int slot) const {} ;129 virtual void removeSaveState(const char *target, int slot) const {} 130 130 131 131 /** 132 132 * Returns meta infos from the specified save state. -
engines/kyra/script_tim.h
260 260 int cmd_stopAllFuncs(const uint16 *param); 261 261 #define cmd_return(n, v) \ 262 262 int cmd_return_##n(const uint16 *){ return v; } 263 cmd_return( 1, 1) ;264 cmd_return(n1, -1) ;263 cmd_return( 1, 1) 264 cmd_return(n1, -1) 265 265 #undef cmd_return 266 266 }; 267 267 -
engines/kyra/screen.h
532 532 int _mouseLockCount; 533 533 const uint8 _cursorColorKey; 534 534 535 virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {} ;535 virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {} 536 536 537 537 enum { 538 538 kMaxDirtyRects = 50 -
engines/sci/graphics/coordadjuster.h
41 41 class GfxCoordAdjuster { 42 42 public: 43 43 GfxCoordAdjuster(); 44 virtual ~GfxCoordAdjuster() { } ;44 virtual ~GfxCoordAdjuster() { } 45 45 46 virtual void kernelGlobalToLocal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { } ;47 virtual void kernelLocalToGlobal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { } ;46 virtual void kernelGlobalToLocal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { } 47 virtual void kernelLocalToGlobal(int16 &x, int16 &y, reg_t planeObject = NULL_REG) { } 48 48 49 virtual Common::Rect onControl(Common::Rect rect) { return rect; } ;50 virtual void setCursorPos(Common::Point &pos) { } ;51 virtual void moveCursor(Common::Point &pos) { } ;49 virtual Common::Rect onControl(Common::Rect rect) { return rect; } 50 virtual void setCursorPos(Common::Point &pos) { } 51 virtual void moveCursor(Common::Point &pos) { } 52 52 53 virtual Common::Rect pictureGetDisplayArea() { return Common::Rect(0, 0); } ;53 virtual Common::Rect pictureGetDisplayArea() { return Common::Rect(0, 0); } 54 54 private: 55 55 }; 56 56 -
engines/sci/graphics/animate.h
104 104 void addToPicDrawCels(); 105 105 void addToPicDrawView(GuiResourceId viewId, int16 loopNo, int16 celNo, int16 leftPos, int16 topPos, int16 priority, int16 control); 106 106 107 uint16 getLastCastCount() { return _lastCastCount; } ;107 uint16 getLastCastCount() { return _lastCastCount; } 108 108 109 109 virtual void kernelAnimate(reg_t listReference, bool cycle, int argc, reg_t *argv); 110 110 virtual void kernelAddToPicList(reg_t listReference, int argc, reg_t *argv); -
engines/sci/graphics/screen.h
51 51 GfxScreen(ResourceManager *resMan, int16 width = 320, int16 height = 200, bool upscaledHires = false); 52 52 ~GfxScreen(); 53 53 54 uint16 getWidth() { return _width; } ;55 uint16 getHeight() { return _height; } ;56 uint16 getDisplayWidth() { return _displayWidth; } ;57 uint16 getDisplayHeight() { return _displayHeight; } ;58 byte getColorWhite() { return _colorWhite; } ;59 byte getColorDefaultVectorData() { return _colorDefaultVectorData; } ;54 uint16 getWidth() { return _width; } 55 uint16 getHeight() { return _height; } 56 uint16 getDisplayWidth() { return _displayWidth; } 57 uint16 getDisplayHeight() { return _displayHeight; } 58 byte getColorWhite() { return _colorWhite; } 59 byte getColorDefaultVectorData() { return _colorDefaultVectorData; } 60 60 61 61 void copyToScreen(); 62 62 void copyFromScreen(byte *buffer); -
engines/sci/engine/kstring.cpp
274 274 275 275 #ifdef ENABLE_SCI32 276 276 // If the string is a string object, get to the actual string in the data selector 277 if (s->_segMan->isObject(reg)) 277 if (s->_segMan->isObject(reg)) 278 278 reg = GET_SEL32(s->_segMan, reg, SELECTOR(data)); 279 279 #endif 280 280 … … 400 400 free(arguments); 401 401 402 402 *target = 0; /* Terminate string */ 403 403 404 404 #ifdef ENABLE_SCI32 405 405 // Resize SCI32 strings if necessary 406 406 if (getSciVersion() >= SCI_VERSION_2) { -
engines/sci/engine/message.cpp
53 53 54 54 virtual bool findRecord(const MessageTuple &tuple, MessageRecord &record) = 0; 55 55 56 virtual ~MessageReader() { } ;56 virtual ~MessageReader() { } 57 57 58 58 protected: 59 59 MessageReader(const byte *data, uint size, uint headerSize, uint recordSize) -
engines/sci/engine/kernel32.cpp
382 382 // Some SCI games use a modified SCI2 kernel table instead of the SCI2.1/SCI3 kernel table. 383 383 // The GK2 demo does this as well as at least one version of KQ7. We detect which version 384 384 // to use based on where kDoSound is called from Sound::play(). 385 385 386 386 // This is interesting because they all have the same interpreter version (2.100.002), yet 387 387 // they would not be compatible with other games of the same interpreter. 388 388 … … 634 634 reg_t *adjustedArgs = new reg_t[argc]; 635 635 adjustedArgs[0] = stringHandle; 636 636 memcpy(&adjustedArgs[1], argv + 1, (argc - 1) * sizeof(reg_t)); 637 637 638 638 kFormat(s, argc, adjustedArgs); 639 639 delete[] adjustedArgs; 640 640 return stringHandle; -
engines/sci/resource.h
121 121 uint16 number; 122 122 uint32 tuple; // Only used for audio36 and sync36 123 123 124 ResourceId() : type(kResourceTypeInvalid), number(0), tuple(0) { } ;124 ResourceId() : type(kResourceTypeInvalid), number(0), tuple(0) { } 125 125 126 126 ResourceId(ResourceType type_, uint16 number_, uint32 tuple_ = 0) 127 127 : type(type_), number(number_), tuple(tuple_) { -
engines/draci/script.h
97 97 class Script { 98 98 99 99 public: 100 Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); } ;100 Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); } 101 101 102 102 void run(const GPL2Program &program, uint16 offset); 103 103 void runWrapper(const GPL2Program &program, uint16 offset, bool disableCursor, bool releaseAnims); -
engines/draci/sprite.h
51 51 virtual void draw(Surface *surface, bool markDirty, int relX, int relY) const = 0; 52 52 virtual void drawReScaled(Surface *surface, bool markDirty, const Displacement &displacement) const = 0; 53 53 54 virtual ~Drawable() {} ;54 virtual ~Drawable() {} 55 55 56 56 uint getWidth() const { return _width; } 57 57 uint getHeight() const { return _height; } … … 141 141 public: 142 142 Text(const Common::String &str, const Font *font, byte fontColour, 143 143 int x, int y, uint spacing); 144 ~Text() {} ;144 ~Text() {} 145 145 146 146 void setText(const Common::String &str); 147 147 void setColour(byte fontColour) { _colour = fontColour; } -
engines/draci/font.h
61 61 ~Font(); 62 62 63 63 bool loadFont(const Common::String &filename); 64 uint8 getFontHeight() const { return _fontHeight; } ;65 uint8 getMaxCharWidth() const { return _maxCharWidth; } ;64 uint8 getFontHeight() const { return _fontHeight; } 65 uint8 getMaxCharWidth() const { return _maxCharWidth; } 66 66 uint8 getCharWidth(byte chr) const; 67 67 void drawChar(Surface *dst, uint8 chr, int tx, int ty, int with_colour) const; 68 68 -
engines/draci/detection.cpp
110 110 } 111 111 112 112 virtual bool hasFeature(MetaEngineFeature f) const; 113 virtual int getMaximumSaveSlot() const { return 99; } ;113 virtual int getMaximumSaveSlot() const { return 99; } 114 114 virtual SaveStateList listSaves(const char *target) const; 115 115 virtual void removeSaveState(const char *target, int slot) const; 116 116 virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; -
engines/draci/mouse.h
49 49 class Mouse { 50 50 public: 51 51 Mouse(DraciEngine *vm); 52 ~Mouse() {} ;52 ~Mouse() {} 53 53 54 54 void handleEvent(Common::Event event); 55 55 void cursorOn(); -
engines/scumm/player_nes.cpp
101 101 int32 Pos; 102 102 uint32 Cycles; // short 103 103 104 inline byte GetTimer() const { return Timer; } ;104 inline byte GetTimer() const { return Timer; } 105 105 }; 106 106 107 107 class Square : public SoundGen { -
engines/scumm/smush/channel.h
93 93 vol = _volume; 94 94 pan = _pan; 95 95 return true; 96 } ;96 } 97 97 }; 98 98 99 99 class ImuseChannel : public SmushChannel { … … 123 123 vol = _volume; 124 124 pan = _pan; 125 125 return true; 126 } ;126 } 127 127 }; 128 128 129 129 } // End of namespace Scumm -
engines/scumm/player_pce.h
77 77 Player_PCE(ScummEngine *scumm, Audio::Mixer *mixer); 78 78 virtual ~Player_PCE(); 79 79 80 virtual void setMusicVolume(int vol) { _maxvol = vol; } ;80 virtual void setMusicVolume(int vol) { _maxvol = vol; } 81 81 void startMusic(int songResIndex); 82 82 virtual void startSound(int sound); 83 83 virtual void stopSound(int sound); -
engines/scumm/player_sid.h
59 59 Player_SID(ScummEngine *scumm, Audio::Mixer *mixer); 60 60 virtual ~Player_SID(); 61 61 62 virtual void setMusicVolume(int vol) { _maxvol = vol; } ;62 virtual void setMusicVolume(int vol) { _maxvol = vol; } 63 63 void startMusic(int songResIndex); 64 64 virtual void startSound(int sound); 65 65 virtual void stopSound(int sound); -
engines/agos/animation.h
71 71 private: 72 72 virtual void handleNextFrame(); 73 73 virtual bool processFrame() = 0; 74 virtual void startSound() {} ;74 virtual void startSound() {} 75 75 }; 76 76 77 77 class MoviePlayerDXA : public MoviePlayer, ::Graphics::DXADecoder { -
engines/cruise/detection.cpp
253 253 } 254 254 255 255 virtual bool hasFeature(MetaEngineFeature f) const; 256 virtual int getMaximumSaveSlot() const { return 99; } ;256 virtual int getMaximumSaveSlot() const { return 99; } 257 257 virtual SaveStateList listSaves(const char *target) const; 258 258 virtual void removeSaveState(const char *target, int slot) const; 259 259 virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; -
engines/sky/mouse.h
55 55 void restoreMouseData(uint16 frameNum); 56 56 void drawNewMouse(); 57 57 void spriteMouse(uint16 frameNum, uint8 mouseX, uint8 mouseY); 58 void useLogicInstance(Logic *skyLogic) { _skyLogic = skyLogic; } ;58 void useLogicInstance(Logic *skyLogic) { _skyLogic = skyLogic; } 59 59 void buttonPressed(uint8 button); 60 60 void mouseMoved(uint16 mouseX, uint16 mouseY); 61 61 void waitMouseNotPressed(int minDelay = 0); 62 uint16 giveMouseX() { return _mouseX; } ;63 uint16 giveMouseY() { return _mouseY; } ;64 uint16 giveCurrentMouseType() { return _currentCursor; } ;62 uint16 giveMouseX() { return _mouseX; } 63 uint16 giveMouseY() { return _mouseY; } 64 uint16 giveCurrentMouseType() { return _currentCursor; } 65 65 bool wasClicked(); 66 void logicClick() { _logicClick = true; } ;66 void logicClick() { _logicClick = true; } 67 67 void resetCursor(); 68 68 69 69 protected: -
engines/lure/res_struct.h
699 699 700 700 class SequenceDelayData { 701 701 private: 702 SequenceDelayData() {} ;702 SequenceDelayData() {} 703 703 public: 704 704 SequenceDelayData(uint16 delay, uint16 seqOffset, bool canClearFlag); 705 705 static SequenceDelayData *load(uint32 delay, uint16 seqOffset, bool canClearFlag); -
engines/groovie/resource.h
36 36 37 37 class ResMan { 38 38 public: 39 virtual ~ResMan() {} ;39 virtual ~ResMan() {} 40 40 41 41 Common::SeekableReadStream *open(uint32 fileRef); 42 42 virtual uint16 getRef(Common::String name, Common::String scriptname = "") = 0; … … 51 51 class ResMan_t7g : public ResMan { 52 52 public: 53 53 ResMan_t7g(); 54 ~ResMan_t7g() {} ;54 ~ResMan_t7g() {} 55 55 56 56 uint16 getRef(Common::String name, Common::String scriptname); 57 57 bool getResInfo(uint32 fileRef, ResInfo &resInfo); … … 60 60 class ResMan_v2 : public ResMan { 61 61 public: 62 62 ResMan_v2(); 63 ~ResMan_v2() {} ;63 ~ResMan_v2() {} 64 64 65 65 uint16 getRef(Common::String name, Common::String scriptname); 66 66 bool getResInfo(uint32 fileRef, ResInfo &resInfo); -
engines/groovie/player.h
40 40 41 41 bool load(Common::SeekableReadStream *file, uint16 flags); 42 42 bool playFrame(); 43 virtual void resetFlags() {} ;44 virtual void setOrigin(int16 x, int16 y) {} ;43 virtual void resetFlags() {} 44 virtual void setOrigin(int16 x, int16 y) {} 45 45 46 46 protected: 47 47 // To be implemented by subclasses -
backends/platform/sdl/sdl.h
235 235 virtual bool hasFeature(Feature f); 236 236 virtual void setFeatureState(Feature f, bool enable); 237 237 virtual bool getFeatureState(Feature f); 238 virtual void preprocessEvents(SDL_Event *event) {} ;238 virtual void preprocessEvents(SDL_Event *event) {} 239 239 240 240 #ifdef USE_OSD 241 241 void displayMessageOnOSD(const char *msg);