diff options
Diffstat (limited to 'engines/draci')
-rw-r--r-- | engines/draci/detection.cpp | 2 | ||||
-rw-r--r-- | engines/draci/font.h | 4 | ||||
-rw-r--r-- | engines/draci/mouse.h | 2 | ||||
-rw-r--r-- | engines/draci/script.h | 2 | ||||
-rw-r--r-- | engines/draci/sprite.h | 4 |
5 files changed, 7 insertions, 7 deletions
diff --git a/engines/draci/detection.cpp b/engines/draci/detection.cpp index ac809f8454..c3204fc656 100644 --- a/engines/draci/detection.cpp +++ b/engines/draci/detection.cpp @@ -110,7 +110,7 @@ public: } virtual bool hasFeature(MetaEngineFeature f) const; - virtual int getMaximumSaveSlot() const { return 99; }; + virtual int getMaximumSaveSlot() const { return 99; } virtual SaveStateList listSaves(const char *target) const; virtual void removeSaveState(const char *target, int slot) const; virtual SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; diff --git a/engines/draci/font.h b/engines/draci/font.h index b80a2fbedf..010de66e2c 100644 --- a/engines/draci/font.h +++ b/engines/draci/font.h @@ -61,8 +61,8 @@ public: ~Font(); bool loadFont(const Common::String &filename); - uint8 getFontHeight() const { return _fontHeight; }; - uint8 getMaxCharWidth() const { return _maxCharWidth; }; + uint8 getFontHeight() const { return _fontHeight; } + uint8 getMaxCharWidth() const { return _maxCharWidth; } uint8 getCharWidth(byte chr) const; void drawChar(Surface *dst, uint8 chr, int tx, int ty, int with_colour) const; diff --git a/engines/draci/mouse.h b/engines/draci/mouse.h index c47ce5b33c..c7f492cb6e 100644 --- a/engines/draci/mouse.h +++ b/engines/draci/mouse.h @@ -49,7 +49,7 @@ class GameItem; class Mouse { public: Mouse(DraciEngine *vm); - ~Mouse() {}; + ~Mouse() {} void handleEvent(Common::Event event); void cursorOn(); diff --git a/engines/draci/script.h b/engines/draci/script.h index 3d5880575d..1551d3573c 100644 --- a/engines/draci/script.h +++ b/engines/draci/script.h @@ -97,7 +97,7 @@ class GameObject; class Script { public: - Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); }; + Script(DraciEngine *vm) : _vm(vm), _jump(0), _endProgram(false) { setupCommandList(); } void run(const GPL2Program &program, uint16 offset); void runWrapper(const GPL2Program &program, uint16 offset, bool disableCursor, bool releaseAnims); diff --git a/engines/draci/sprite.h b/engines/draci/sprite.h index b889603e63..ddc56ecd80 100644 --- a/engines/draci/sprite.h +++ b/engines/draci/sprite.h @@ -51,7 +51,7 @@ public: virtual void draw(Surface *surface, bool markDirty, int relX, int relY) const = 0; virtual void drawReScaled(Surface *surface, bool markDirty, const Displacement &displacement) const = 0; - virtual ~Drawable() {}; + virtual ~Drawable() {} uint getWidth() const { return _width; } uint getHeight() const { return _height; } @@ -141,7 +141,7 @@ class Text : public Drawable { public: Text(const Common::String &str, const Font *font, byte fontColour, int x, int y, uint spacing); - ~Text() {}; + ~Text() {} void setText(const Common::String &str); void setColour(byte fontColour) { _colour = fontColour; } |