diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/mohawk/cstime.h | 4 | ||||
-rw-r--r-- | engines/mohawk/dialogs.h | 2 | ||||
-rw-r--r-- | engines/mohawk/livingbooks.h | 4 | ||||
-rw-r--r-- | engines/mohawk/riven.h | 14 |
4 files changed, 12 insertions, 12 deletions
diff --git a/engines/mohawk/cstime.h b/engines/mohawk/cstime.h index 1c39a86ca0..9edd185085 100644 --- a/engines/mohawk/cstime.h +++ b/engines/mohawk/cstime.h @@ -129,7 +129,7 @@ enum CSTimeState { class MohawkEngine_CSTime : public MohawkEngine { protected: - Common::Error run(); + Common::Error run() override; public: MohawkEngine_CSTime(OSystem *syst, const MohawkGameDescription *gamedesc); @@ -142,7 +142,7 @@ public: CSTimeGraphics *_gfx; bool _needsUpdate; - GUI::Debugger *getDebugger() { return _console; } + GUI::Debugger *getDebugger() override { return _console; } CSTimeView *getView() { return _view; } CSTimeCase *getCase() { return _case; } CSTimeInterface *getInterface() { return _interface; } diff --git a/engines/mohawk/dialogs.h b/engines/mohawk/dialogs.h index efc1005737..d7e822c2a9 100644 --- a/engines/mohawk/dialogs.h +++ b/engines/mohawk/dialogs.h @@ -116,7 +116,7 @@ public: virtual ~MystOptionsDialog(); virtual void open() override; - virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data); + virtual void handleCommand(GUI::CommandSender *sender, uint32 cmd, uint32 data) override; private: MohawkEngine_Myst *_vm; diff --git a/engines/mohawk/livingbooks.h b/engines/mohawk/livingbooks.h index 4b87b6464f..4649b9f5c9 100644 --- a/engines/mohawk/livingbooks.h +++ b/engines/mohawk/livingbooks.h @@ -707,7 +707,7 @@ protected: class MohawkEngine_LivingBooks : public MohawkEngine { protected: - Common::Error run(); + Common::Error run() override; public: MohawkEngine_LivingBooks(OSystem *syst, const MohawkGameDescription *gamedesc); @@ -725,7 +725,7 @@ public: Common::SeekableSubReadStreamEndian *wrapStreamEndian(uint32 tag, uint16 id); Common::String readString(Common::ReadStream *stream); Common::Rect readRect(Common::ReadStreamEndian *stream); - GUI::Debugger *getDebugger() { return _console; } + GUI::Debugger *getDebugger() override { return _console; } void addArchive(Archive *archive); void removeArchive(Archive *archive); diff --git a/engines/mohawk/riven.h b/engines/mohawk/riven.h index 86a431170f..def218dafd 100644 --- a/engines/mohawk/riven.h +++ b/engines/mohawk/riven.h @@ -79,7 +79,7 @@ typedef Common::HashMap<Common::String, uint32, Common::IgnoreCase_Hash, Common: class MohawkEngine_Riven : public MohawkEngine { protected: - Common::Error run(); + Common::Error run() override; public: MohawkEngine_Riven(OSystem *syst, const MohawkGameDescription *gamedesc); @@ -95,13 +95,13 @@ public: // Display debug rectangles around the hotspots bool _showHotspots; - GUI::Debugger *getDebugger(); + GUI::Debugger *getDebugger() override; - bool canLoadGameStateCurrently(); - bool canSaveGameStateCurrently(); - Common::Error loadGameState(int slot); - Common::Error saveGameState(int slot, const Common::String &desc); - bool hasFeature(EngineFeature f) const; + bool canLoadGameStateCurrently() override; + bool canSaveGameStateCurrently() override; + Common::Error loadGameState(int slot) override; + Common::Error saveGameState(int slot, const Common::String &desc) override; + bool hasFeature(EngineFeature f) const override; void doFrame(); |