Ticket #9151: semicolon.patch

File semicolon.patch, 27.2 KB (added by salty-horse, 15 years ago)
  • gui/ThemeParser.h

     
    210210                        KEY_END()
    211211                KEY_END()
    212212
    213         } PARSER_END();
     213        } PARSER_END()
    214214
    215215        /** Render info callbacks */
    216216        bool parserCallback_render_info(ParserNode *node);
  • common/rect.h

     
    4141
    4242        Point() : x(0), y(0) {}
    4343        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; }
    4646
    4747        /**
    4848         * Return the square of the distance between this point and the point p.
  • engines/m4/scene.h

     
    111111        M4Surface *getBackgroundSurface() const { return _backgroundSurface; }
    112112        void showInterface();
    113113        void hideInterface();
    114         GameInterfaceView *getInterface() { return _interfaceSurface; };
    115         SceneResources &getSceneResources() { return *_sceneResources; };
     114        GameInterfaceView *getInterface() { return _interfaceSurface; }
     115        SceneResources &getSceneResources() { return *_sceneResources; }
    116116
    117117        void onRefresh(RectList *rects, M4Surface *destSurface);
    118118        bool onEvent(M4EventType eventType, int32 param1, int x, int y, bool &captureEvents);
  • engines/m4/console.h

     
    6666        bool cmdSceneInfo(int argc, const char **argv);
    6767public:
    6868        MadsConsole(MadsEngine *vm);
    69         virtual ~MadsConsole() {};
     69        virtual ~MadsConsole() {}
    7070};
    7171
    7272class M4Console : public Console {
     
    7676        bool cmdSceneInfo(int argc, const char **argv);
    7777public:
    7878        M4Console(M4Engine *vm);
    79         virtual ~M4Console() {};
     79        virtual ~M4Console() {}
    8080};
    8181
    8282} // End of namespace M4
  • engines/m4/script.h

     
    8888                int value;
    8989        };
    9090
    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) {}
    9393
    94         ScriptValue(const int intValue) : type(kInteger), value(intValue) {};
     94        ScriptValue(const int intValue) : type(kInteger), value(intValue) {}
    9595
    9696        ScriptValue& operator=(const int intValue) {
    9797                type = kInteger;
  • engines/m4/gui.h

     
    213213class DialogView : public View {
    214214public:
    215215        DialogView(MadsM4Engine *Vm, const Common::Rect &viewBounds, bool transparent = false):
    216                 View(Vm, viewBounds, transparent) {};
     216                View(Vm, viewBounds, transparent) {}
    217217        DialogView(MadsM4Engine *Vm, int x = 0, int y = 0, bool transparent = false):
    218                 View(Vm, x, y, transparent) {};
     218                View(Vm, x, y, transparent) {}
    219219
    220220        MadsM4Engine *vm() { return _vm; }
    221221        virtual SpriteAsset *sprites() = 0;
     
    399399private:
    400400        int _tag;
    401401public:
    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; }
    403403
    404404        virtual bool onEvent(M4EventType eventType, int32 param, int x, int y, GUIObject *&currentItem) { return false; }
    405405        int getTag() const { return _tag; }
     
    443443
    444444class GameInterfaceView : public View {
    445445public:
    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() {}
    448448
    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) {}
    452452};
    453453
    454454}
  • engines/m4/m4_scene.h

     
    7676        virtual void showHotSpots();
    7777
    7878        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; }
    8181        void setStatusText(const char *text);
    8282        void setAction(int action, int objectId = -1);
    8383};
  • engines/m4/mads_scene.h

     
    205205        void loadPlayerSprites(const char *prefix);
    206206        void showMADSV2TextBox(char *text, int x, int y, char *faceName);
    207207
    208         MadsInterfaceView *getInterface() { return (MadsInterfaceView *)_interfaceSurface; };
    209         MadsSceneResources &getSceneResources() { return _sceneResources; };
     208        MadsInterfaceView *getInterface() { return (MadsInterfaceView *)_interfaceSurface; }
     209        MadsSceneResources &getSceneResources() { return _sceneResources; }
    210210        MadsAction &getAction() { return _action; }
    211211        void setStatusText(const char *text) {};//***DEPRECATED***
    212212};
  • engines/m4/m4.h

     
    202202        Animation *_animation;
    203203        Common::RandomSource *_random;
    204204
    205         Scene *scene() { return _scene; };
     205        Scene *scene() { return _scene; }
    206206};
    207207
    208208class MadsEngine : public MadsM4Engine {
     
    214214
    215215        virtual Common::Error run();
    216216
    217         MadsGlobals *globals() { return (MadsGlobals *)_globals; };
    218         MadsScene *scene() { return (MadsScene *)_scene; };
     217        MadsGlobals *globals() { return (MadsGlobals *)_globals; }
     218        MadsScene *scene() { return (MadsScene *)_scene; }
    219219};
    220220
    221221class M4Engine : public MadsM4Engine {
     
    227227
    228228        virtual Common::Error run();
    229229
    230         M4Globals *globals() { return (M4Globals *)_globals; };
    231         M4Scene *scene() { return (M4Scene *)_scene; };
     230        M4Globals *globals() { return (M4Globals *)_globals; }
     231        M4Scene *scene() { return (M4Scene *)_scene; }
    232232};
    233233
    234234// FIXME: remove globals
  • engines/m4/resource.h

     
    9494
    9595        virtual Common::SeekableReadStream *loadResource(const char *resourceName, bool loadFlag) = 0;
    9696public:
    97         ResourceManager(MadsM4Engine *vm): _vm(vm) {};
     97        ResourceManager(MadsM4Engine *vm): _vm(vm) {}
    9898        virtual ~ResourceManager();
    9999
    100100        Common::SeekableReadStream *get(const char *resourceName, bool loadFlag = true);
     
    124124protected:
    125125        Common::SeekableReadStream *loadResource(const char *resourceName, bool loadFlag);
    126126public:
    127         MADSResourceManager(MadsM4Engine *vm): ResourceManager(vm) {};
     127        MADSResourceManager(MadsM4Engine *vm): ResourceManager(vm) {}
    128128        bool resourceExists(const char *resourceName);
    129129
    130130        static const char *getResourceName(char asciiCh, int prefix, ExtensionType extType, const char *suffix, int index);
  • engines/m4/viewmgr.h

     
    9090struct Hotkey {
    9191public:
    9292        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) {}
    9494        uint32 key;
    9595        Hotkey::Callback callback;
    9696};
     
    136136
    137137        virtual void onRefresh(RectList *rects, M4Surface *destSurface);
    138138        virtual bool onEvent(M4EventType eventType, int32 param, int x, int y, bool &captureEvents) { return false; }
    139         virtual void updateState() {};
     139        virtual void updateState() {}
    140140
    141141protected:
    142142        MadsM4Engine *_vm;
  • engines/m4/globals.h

     
    173173
    174174class MadsObject {
    175175public:
    176         MadsObject() {};
     176        MadsObject() {}
    177177        MadsObject(Common::SeekableReadStream *stream);
    178178        void load(Common::SeekableReadStream *stream);
    179         bool isInInventory() const { return roomNumber == PLAYER_INVENTORY; };
     179        bool isInInventory() const { return roomNumber == PLAYER_INVENTORY; }
    180180
    181181        uint16 descId;
    182182        uint16 roomNumber;
     
    192192        MadsM4Engine *_vm;
    193193public:
    194194        Globals(MadsM4Engine *vm);
    195         virtual ~Globals() {};
     195        virtual ~Globals() {}
    196196
    197197        bool isInterfaceVisible();
    198198
     
    203203        M4Engine *_vm;
    204204public:
    205205        M4Globals(M4Engine *vm);
    206         virtual ~M4Globals() {};
     206        virtual ~M4Globals() {}
    207207
    208208        bool invSuppressClickSound;
    209209};
  • engines/agi/wagparser.h

     
    150150        /**
    151151         * Was the property read ok from the source stream?
    152152         */
    153         bool readOk() const { return _readOk; };
     153        bool readOk() const { return _readOk; }
    154154
    155155        /**
    156156         * Return the property's code.
    157157         * @return The property's code if readOk(), PC_UNDEFINED otherwise.
    158158         */
    159         enum WagPropertyCode getCode() const { return _propCode; };
     159        enum WagPropertyCode getCode() const { return _propCode; }
    160160
    161161        /**
    162162         * Return the property's type.
    163163         * @return The property's type if readOk(), PT_UNDEFINED otherwise.
    164164         */
    165         enum WagPropertyType getType() const { return _propType; };
     165        enum WagPropertyType getType() const { return _propType; }
    166166
    167167        /**
    168168         * Return the property's number.
    169169         * @return The property's number if readOk(), 0 otherwise.
    170170         */
    171         byte getNumber() const { return _propNum; };
     171        byte getNumber() const { return _propNum; }
    172172
    173173        /**
    174174         * Return the property's data's length.
     
    181181         * Can be used as a C-style string (i.e. this is guaranteed to have a trailing zero).
    182182         * @return The property's data if readOk(), NULL otherwise.
    183183         */
    184         const char *getData() const { return _propData; };
     184        const char *getData() const { return _propData; }
    185185
    186186// Member variables
    187187protected:
     
    230230         * @note Use only after a call to parse() first.
    231231         * @return The list of loaded properties.
    232232         */
    233         const PropertyList &getProperties() const { return _propList; };
     233        const PropertyList &getProperties() const { return _propList; }
    234234
    235235        /**
    236236         * Get property with the given property code.
     
    264264         * Was the file parsed successfully?
    265265         * @return True if file was parsed successfully, false otherwise.
    266266         */
    267         bool parsedOk() const { return _parsedOk; };
     267        bool parsedOk() const { return _parsedOk; }
    268268
    269269protected:
    270270        /**
  • engines/metaengine.h

     
    126126         * @param target        name of a config manager target
    127127         * @param slot          slot number of the save state to be removed
    128128         */
    129         virtual void removeSaveState(const char *target, int slot) const {};
     129        virtual void removeSaveState(const char *target, int slot) const {}
    130130
    131131        /**
    132132         * Returns meta infos from the specified save state.
  • engines/kyra/script_tim.h

     
    260260        int cmd_stopAllFuncs(const uint16 *param);
    261261#define cmd_return(n, v) \
    262262        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)
    265265#undef cmd_return
    266266};
    267267
  • engines/kyra/screen.h

     
    532532        int _mouseLockCount;
    533533        const uint8 _cursorColorKey;
    534534
    535         virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {};
     535        virtual void postProcessCursor(uint8 *data, int w, int h, int pitch) {}
    536536
    537537        enum {
    538538                kMaxDirtyRects = 50
  • engines/sci/graphics/coordadjuster.h

     
    4141class GfxCoordAdjuster {
    4242public:
    4343        GfxCoordAdjuster();
    44         virtual ~GfxCoordAdjuster() { };
     44        virtual ~GfxCoordAdjuster() { }
    4545
    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) { }
    4848
    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) { }
    5252
    53         virtual Common::Rect pictureGetDisplayArea() { return Common::Rect(0, 0); };
     53        virtual Common::Rect pictureGetDisplayArea() { return Common::Rect(0, 0); }
    5454private:
    5555};
    5656
  • engines/sci/graphics/animate.h

     
    104104        void addToPicDrawCels();
    105105        void addToPicDrawView(GuiResourceId viewId, int16 loopNo, int16 celNo, int16 leftPos, int16 topPos, int16 priority, int16 control);
    106106
    107         uint16 getLastCastCount() { return _lastCastCount; };
     107        uint16 getLastCastCount() { return _lastCastCount; }
    108108
    109109        virtual void kernelAnimate(reg_t listReference, bool cycle, int argc, reg_t *argv);
    110110        virtual void kernelAddToPicList(reg_t listReference, int argc, reg_t *argv);
  • engines/sci/graphics/screen.h

     
    5151        GfxScreen(ResourceManager *resMan, int16 width = 320, int16 height = 200, bool upscaledHires = false);
    5252        ~GfxScreen();
    5353
    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; }
    6060
    6161        void copyToScreen();
    6262        void copyFromScreen(byte *buffer);
  • engines/sci/engine/kstring.cpp

     
    274274
    275275#ifdef ENABLE_SCI32
    276276                                // 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))
    278278                                        reg = GET_SEL32(s->_segMan, reg, SELECTOR(data));
    279279#endif
    280280
     
    400400        free(arguments);
    401401
    402402        *target = 0; /* Terminate string */
    403        
     403
    404404#ifdef ENABLE_SCI32
    405405        // Resize SCI32 strings if necessary
    406406        if (getSciVersion() >= SCI_VERSION_2) {
  • engines/sci/engine/message.cpp

     
    5353
    5454        virtual bool findRecord(const MessageTuple &tuple, MessageRecord &record) = 0;
    5555
    56         virtual ~MessageReader() { };
     56        virtual ~MessageReader() { }
    5757
    5858protected:
    5959        MessageReader(const byte *data, uint size, uint headerSize, uint recordSize)
  • engines/sci/engine/kernel32.cpp

     
    382382        // Some SCI games use a modified SCI2 kernel table instead of the SCI2.1/SCI3 kernel table.
    383383        // The GK2 demo does this as well as at least one version of KQ7. We detect which version
    384384        // to use based on where kDoSound is called from Sound::play().
    385        
     385
    386386        // This is interesting because they all have the same interpreter version (2.100.002), yet
    387387        // they would not be compatible with other games of the same interpreter.
    388388
     
    634634                reg_t *adjustedArgs = new reg_t[argc];
    635635                adjustedArgs[0] = stringHandle;
    636636                memcpy(&adjustedArgs[1], argv + 1, (argc - 1) * sizeof(reg_t));
    637                
     637
    638638                kFormat(s, argc, adjustedArgs);
    639639                delete[] adjustedArgs;
    640640                return stringHandle;
  • engines/sci/resource.h

     
    121121        uint16 number;
    122122        uint32 tuple; // Only used for audio36 and sync36
    123123
    124         ResourceId() : type(kResourceTypeInvalid), number(0), tuple(0) { };
     124        ResourceId() : type(kResourceTypeInvalid), number(0), tuple(0) { }
    125125
    126126        ResourceId(ResourceType type_, uint16 number_, uint32 tuple_ = 0)
    127127                        : type(type_), number(number_), tuple(tuple_) {
  • engines/draci/script.h

     
    9797class Script {
    9898
    9999public:
    100         Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); };
     100        Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); }
    101101
    102102        void run(const GPL2Program &program, uint16 offset);
    103103        void runWrapper(const GPL2Program &program, uint16 offset, bool disableCursor, bool releaseAnims);
  • engines/draci/sprite.h

     
    5151        virtual void draw(Surface *surface, bool markDirty, int relX, int relY) const = 0;
    5252        virtual void drawReScaled(Surface *surface, bool markDirty, const Displacement &displacement) const = 0;
    5353
    54         virtual ~Drawable() {};
     54        virtual ~Drawable() {}
    5555
    5656        uint getWidth() const { return _width; }
    5757        uint getHeight() const { return _height; }
     
    141141public:
    142142        Text(const Common::String &str, const Font *font, byte fontColour,
    143143            int x, int y, uint spacing);
    144         ~Text() {};
     144        ~Text() {}
    145145
    146146        void setText(const Common::String &str);
    147147        void setColour(byte fontColour) { _colour = fontColour; }
  • engines/draci/font.h

     
    6161        ~Font();
    6262
    6363        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; }
    6666        uint8 getCharWidth(byte chr) const;
    6767        void drawChar(Surface *dst, uint8 chr, int tx, int ty, int with_colour) const;
    6868
  • engines/draci/detection.cpp

     
    110110        }
    111111
    112112        virtual bool hasFeature(MetaEngineFeature f) const;
    113         virtual int getMaximumSaveSlot() const { return 99; };
     113        virtual int getMaximumSaveSlot() const { return 99; }
    114114        virtual SaveStateList listSaves(const char *target) const;
    115115        virtual void removeSaveState(const char *target, int slot) const;
    116116        virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
  • engines/draci/mouse.h

     
    4949class Mouse {
    5050public:
    5151        Mouse(DraciEngine *vm);
    52         ~Mouse() {};
     52        ~Mouse() {}
    5353
    5454        void handleEvent(Common::Event event);
    5555        void cursorOn();
  • engines/scumm/player_nes.cpp

     
    101101        int32 Pos;
    102102        uint32 Cycles;  // short
    103103
    104         inline byte GetTimer() const { return Timer; };
     104        inline byte GetTimer() const { return Timer; }
    105105};
    106106
    107107class Square : public SoundGen {
  • engines/scumm/smush/channel.h

     
    9393                vol = _volume;
    9494                pan = _pan;
    9595                return true;
    96         };
     96        }
    9797};
    9898
    9999class ImuseChannel : public SmushChannel {
     
    123123                vol = _volume;
    124124                pan = _pan;
    125125                return true;
    126         };
     126        }
    127127};
    128128
    129129} // End of namespace Scumm
  • engines/scumm/player_pce.h

     
    7777        Player_PCE(ScummEngine *scumm, Audio::Mixer *mixer);
    7878        virtual ~Player_PCE();
    7979
    80         virtual void setMusicVolume(int vol) { _maxvol = vol; };
     80        virtual void setMusicVolume(int vol) { _maxvol = vol; }
    8181        void startMusic(int songResIndex);
    8282        virtual void startSound(int sound);
    8383        virtual void stopSound(int sound);
  • engines/scumm/player_sid.h

     
    5959        Player_SID(ScummEngine *scumm, Audio::Mixer *mixer);
    6060        virtual ~Player_SID();
    6161
    62         virtual void setMusicVolume(int vol) { _maxvol = vol; };
     62        virtual void setMusicVolume(int vol) { _maxvol = vol; }
    6363        void startMusic(int songResIndex);
    6464        virtual void startSound(int sound);
    6565        virtual void stopSound(int sound);
  • engines/agos/animation.h

     
    7171private:
    7272        virtual void handleNextFrame();
    7373        virtual bool processFrame() = 0;
    74         virtual void startSound() {};
     74        virtual void startSound() {}
    7575};
    7676
    7777class MoviePlayerDXA : public MoviePlayer, ::Graphics::DXADecoder {
  • engines/cruise/detection.cpp

     
    253253        }
    254254
    255255        virtual bool hasFeature(MetaEngineFeature f) const;
    256         virtual int getMaximumSaveSlot() const { return 99; };
     256        virtual int getMaximumSaveSlot() const { return 99; }
    257257        virtual SaveStateList listSaves(const char *target) const;
    258258        virtual void removeSaveState(const char *target, int slot) const;
    259259        virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
  • engines/sky/mouse.h

     
    5555        void restoreMouseData(uint16 frameNum);
    5656        void drawNewMouse();
    5757        void spriteMouse(uint16 frameNum, uint8 mouseX, uint8 mouseY);
    58         void useLogicInstance(Logic *skyLogic) { _skyLogic = skyLogic; };
     58        void useLogicInstance(Logic *skyLogic) { _skyLogic = skyLogic; }
    5959        void buttonPressed(uint8 button);
    6060        void mouseMoved(uint16 mouseX, uint16 mouseY);
    6161        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; }
    6565        bool wasClicked();
    66         void logicClick() { _logicClick = true; };
     66        void logicClick() { _logicClick = true; }
    6767        void resetCursor();
    6868
    6969protected:
  • engines/lure/res_struct.h

     
    699699
    700700class SequenceDelayData {
    701701private:
    702         SequenceDelayData() {};
     702        SequenceDelayData() {}
    703703public:
    704704        SequenceDelayData(uint16 delay, uint16 seqOffset, bool canClearFlag);
    705705        static SequenceDelayData *load(uint32 delay, uint16 seqOffset, bool canClearFlag);
  • engines/groovie/resource.h

     
    3636
    3737class ResMan {
    3838public:
    39         virtual ~ResMan() {};
     39        virtual ~ResMan() {}
    4040
    4141        Common::SeekableReadStream *open(uint32 fileRef);
    4242        virtual uint16 getRef(Common::String name, Common::String scriptname = "") = 0;
     
    5151class ResMan_t7g : public ResMan {
    5252public:
    5353        ResMan_t7g();
    54         ~ResMan_t7g() {};
     54        ~ResMan_t7g() {}
    5555
    5656        uint16 getRef(Common::String name, Common::String scriptname);
    5757        bool getResInfo(uint32 fileRef, ResInfo &resInfo);
     
    6060class ResMan_v2 : public ResMan {
    6161public:
    6262        ResMan_v2();
    63         ~ResMan_v2() {};
     63        ~ResMan_v2() {}
    6464
    6565        uint16 getRef(Common::String name, Common::String scriptname);
    6666        bool getResInfo(uint32 fileRef, ResInfo &resInfo);
  • engines/groovie/player.h

     
    4040
    4141        bool load(Common::SeekableReadStream *file, uint16 flags);
    4242        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) {}
    4545
    4646protected:
    4747        // To be implemented by subclasses
  • backends/platform/sdl/sdl.h

     
    235235        virtual bool hasFeature(Feature f);
    236236        virtual void setFeatureState(Feature f, bool enable);
    237237        virtual bool getFeatureState(Feature f);
    238         virtual void preprocessEvents(SDL_Event *event) {};
     238        virtual void preprocessEvents(SDL_Event *event) {}
    239239
    240240#ifdef USE_OSD
    241241        void displayMessageOnOSD(const char *msg);