ZVISION: Added override keywords

This commit is contained in:
Eugene Sandulenko 2020-02-05 16:40:12 +01:00
parent 78cc55c4b0
commit 445c77007d
2 changed files with 16 additions and 16 deletions

View File

@ -63,24 +63,24 @@ public:
_directoryGlobs = ZVision::directoryGlobs;
}
const char *getEngineId() const {
const char *getEngineId() const override {
return "zvision";
}
virtual const char *getName() const {
virtual const char *getName() const override {
return "Z-Vision";
}
virtual const char *getOriginalCopyright() const {
virtual const char *getOriginalCopyright() const override {
return "Z-Vision (C) 1996 Activision";
}
virtual bool hasFeature(MetaEngineFeature f) const override;
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
SaveStateList listSaves(const char *target) const;
virtual int getMaximumSaveSlot() const;
void removeSaveState(const char *target, int slot) const;
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
SaveStateList listSaves(const char *target) const override;
virtual int getMaximumSaveSlot() const override;
void removeSaveState(const char *target, int slot) const override;
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const override;
};
bool ZVisionMetaEngine::hasFeature(MetaEngineFeature f) const {

View File

@ -151,8 +151,8 @@ private:
uint8 _cheatBuffer[KEYBUF_SIZE];
public:
Common::Error run();
void pauseEngineIntern(bool pause);
Common::Error run() override;
void pauseEngineIntern(bool pause) override;
ZVisionGameId getGameId() const;
Common::Language getLanguage() const;
@ -231,8 +231,8 @@ public:
return _fps;
}
GUI::Debugger *getDebugger();
void syncSoundSettings();
GUI::Debugger *getDebugger() override;
void syncSoundSettings() override;
void loadSettings();
void saveSettings();
@ -241,10 +241,10 @@ public:
// Engine features
bool hasFeature(EngineFeature f) const override;
bool canLoadGameStateCurrently();
bool canSaveGameStateCurrently();
Common::Error loadGameState(int slot);
Common::Error saveGameState(int slot, const Common::String &desc);
bool canLoadGameStateCurrently() override;
bool canSaveGameStateCurrently() override;
Common::Error loadGameState(int slot) override;
Common::Error saveGameState(int slot, const Common::String &desc) override;
private:
void initialize();