TOLTECS: Added override keywords
This commit is contained in:
parent
0aaba0b3b8
commit
4ba1ce7f23
2 changed files with 16 additions and 16 deletions
|
@ -236,25 +236,25 @@ public:
|
||||||
ToltecsMetaEngine() : AdvancedMetaEngine(Toltecs::gameDescriptions, sizeof(Toltecs::ToltecsGameDescription), toltecsGames) {
|
ToltecsMetaEngine() : AdvancedMetaEngine(Toltecs::gameDescriptions, sizeof(Toltecs::ToltecsGameDescription), toltecsGames) {
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *getEngineId() const {
|
const char *getEngineId() const override {
|
||||||
return "toltecs";
|
return "toltecs";
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual const char *getName() const {
|
virtual const char *getName() const override {
|
||||||
return "3 Skulls of the Toltecs";
|
return "3 Skulls of the Toltecs";
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual const char *getOriginalCopyright() const {
|
virtual const char *getOriginalCopyright() const override {
|
||||||
return "3 Skulls of the Toltecs (C) Revistronic 1996";
|
return "3 Skulls of the Toltecs (C) Revistronic 1996";
|
||||||
}
|
}
|
||||||
|
|
||||||
virtual bool hasFeature(MetaEngineFeature f) const override;
|
virtual bool hasFeature(MetaEngineFeature f) const override;
|
||||||
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
|
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const override;
|
||||||
virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const;
|
virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const override;
|
||||||
SaveStateList listSaves(const char *target) const;
|
SaveStateList listSaves(const char *target) const override;
|
||||||
virtual int getMaximumSaveSlot() const;
|
virtual int getMaximumSaveSlot() const override;
|
||||||
void removeSaveState(const char *target, int slot) const;
|
void removeSaveState(const char *target, int slot) const override;
|
||||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
|
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const override;
|
||||||
};
|
};
|
||||||
|
|
||||||
bool ToltecsMetaEngine::hasFeature(MetaEngineFeature f) const {
|
bool ToltecsMetaEngine::hasFeature(MetaEngineFeature f) const {
|
||||||
|
|
|
@ -96,7 +96,7 @@ class ToltecsEngine : public ::Engine {
|
||||||
Common::KeyState _keyPressed;
|
Common::KeyState _keyPressed;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
Common::Error run();
|
Common::Error run() override;
|
||||||
// void shutdown();
|
// void shutdown();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
@ -110,9 +110,9 @@ public:
|
||||||
uint32 getFeatures() const;
|
uint32 getFeatures() const;
|
||||||
Common::Language getLanguage() const;
|
Common::Language getLanguage() const;
|
||||||
const Common::String& getTargetName() const { return _targetName; }
|
const Common::String& getTargetName() const { return _targetName; }
|
||||||
void syncSoundSettings();
|
void syncSoundSettings() override;
|
||||||
|
|
||||||
GUI::Debugger *getDebugger() { return _console; }
|
GUI::Debugger *getDebugger() override { return _console; }
|
||||||
|
|
||||||
void setupSysStrings();
|
void setupSysStrings();
|
||||||
void requestSavegame(int slotNum, Common::String &description);
|
void requestSavegame(int slotNum, Common::String &description);
|
||||||
|
@ -215,10 +215,10 @@ public:
|
||||||
|
|
||||||
bool _isSaveAllowed;
|
bool _isSaveAllowed;
|
||||||
|
|
||||||
bool canLoadGameStateCurrently() { return _isSaveAllowed; }
|
bool canLoadGameStateCurrently() override { return _isSaveAllowed; }
|
||||||
bool canSaveGameStateCurrently() { return _isSaveAllowed; }
|
bool canSaveGameStateCurrently() override { return _isSaveAllowed; }
|
||||||
Common::Error loadGameState(int slot);
|
Common::Error loadGameState(int slot) override;
|
||||||
Common::Error saveGameState(int slot, const Common::String &description);
|
Common::Error saveGameState(int slot, const Common::String &description) override;
|
||||||
void savegame(const char *filename, const char *description);
|
void savegame(const char *filename, const char *description);
|
||||||
void loadgame(const char *filename);
|
void loadgame(const char *filename);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue