mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
TONY: Added override keywords
This commit is contained in:
parent
4ba1ce7f23
commit
40684a2111
@ -71,24 +71,24 @@ public:
|
||||
TonyMetaEngine() : AdvancedMetaEngine(Tony::gameDescriptions, sizeof(Tony::TonyGameDescription), tonyGames) {
|
||||
}
|
||||
|
||||
virtual const char *getEngineId() const {
|
||||
virtual const char *getEngineId() const override {
|
||||
return "tony";
|
||||
}
|
||||
|
||||
virtual const char *getName() const {
|
||||
virtual const char *getName() const override {
|
||||
return "Tony Tough and the Night of Roasted Moths";
|
||||
}
|
||||
|
||||
virtual const char *getOriginalCopyright() const {
|
||||
virtual const char *getOriginalCopyright() const override {
|
||||
return "Tony Tough and the Night of Roasted Moths (C) Protonic Interactive";
|
||||
}
|
||||
|
||||
virtual bool hasFeature(MetaEngineFeature f) const override;
|
||||
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
|
||||
virtual SaveStateList listSaves(const char *target) const;
|
||||
virtual int getMaximumSaveSlot() const;
|
||||
virtual 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;
|
||||
virtual SaveStateList listSaves(const char *target) const override;
|
||||
virtual int getMaximumSaveSlot() const override;
|
||||
virtual void removeSaveState(const char *target, int slot) const override;
|
||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const override;
|
||||
};
|
||||
|
||||
bool TonyMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||
|
@ -95,7 +95,7 @@ private:
|
||||
|
||||
protected:
|
||||
// Engine APIs
|
||||
virtual Common::Error run();
|
||||
virtual Common::Error run() override;
|
||||
virtual bool hasFeature(EngineFeature f) const override;
|
||||
public:
|
||||
LPCUSTOMFUNCTION _funcList[300];
|
||||
@ -110,7 +110,7 @@ public:
|
||||
Common::List<FPSfx *> _activeSfx;
|
||||
Globals _globals;
|
||||
Debugger *_debugger;
|
||||
GUI::Debugger *getDebugger() { return _debugger; }
|
||||
GUI::Debugger *getDebugger() override { return _debugger; }
|
||||
|
||||
int16 _cTableDialog[256];
|
||||
int16 _lTableDialog[256];
|
||||
@ -164,10 +164,10 @@ public:
|
||||
return &_theEngine;
|
||||
}
|
||||
|
||||
virtual bool canLoadGameStateCurrently();
|
||||
virtual bool canSaveGameStateCurrently();
|
||||
Common::Error loadGameState(int slot);
|
||||
Common::Error saveGameState(int slot, const Common::String &desc);
|
||||
virtual bool canLoadGameStateCurrently() override;
|
||||
virtual bool canSaveGameStateCurrently() override;
|
||||
Common::Error loadGameState(int slot) override;
|
||||
Common::Error saveGameState(int slot, const Common::String &desc) override;
|
||||
|
||||
void play();
|
||||
void close();
|
||||
@ -230,7 +230,7 @@ public:
|
||||
void openInitLoadMenu(CORO_PARAM);
|
||||
void openInitOptions(CORO_PARAM);
|
||||
|
||||
virtual void syncSoundSettings();
|
||||
virtual void syncSoundSettings() override;
|
||||
void saveSoundSettings();
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user