mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
HUGO: Added override keywords
This commit is contained in:
parent
c32e7216ff
commit
de24fd743b
@ -136,25 +136,25 @@ public:
|
||||
HugoMetaEngine() : AdvancedMetaEngine(gameDescriptions, sizeof(HugoGameDescription), hugoGames) {
|
||||
}
|
||||
|
||||
const char *getEngineId() const {
|
||||
const char *getEngineId() const override {
|
||||
return "hugo";
|
||||
}
|
||||
|
||||
const char *getName() const {
|
||||
const char *getName() const override {
|
||||
return "Hugo";
|
||||
}
|
||||
|
||||
const char *getOriginalCopyright() const {
|
||||
const char *getOriginalCopyright() const override {
|
||||
return "Hugo Engine (C) 1989-1997 David P. Gray";
|
||||
}
|
||||
|
||||
bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const;
|
||||
bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const override;
|
||||
bool hasFeature(MetaEngineFeature f) const override;
|
||||
|
||||
int getMaximumSaveSlot() const;
|
||||
SaveStateList listSaves(const char *target) const;
|
||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const;
|
||||
void removeSaveState(const char *target, int slot) const;
|
||||
int getMaximumSaveSlot() const override;
|
||||
SaveStateList listSaves(const char *target) const override;
|
||||
SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const override;
|
||||
void removeSaveState(const char *target, int slot) const override;
|
||||
};
|
||||
|
||||
bool HugoMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const {
|
||||
|
@ -239,7 +239,7 @@ public:
|
||||
Maze _maze; // Maze control structure
|
||||
hugoBoot _boot; // Boot info structure
|
||||
|
||||
GUI::Debugger *getDebugger();
|
||||
GUI::Debugger *getDebugger() override;
|
||||
|
||||
Common::RandomSource *_rnd;
|
||||
|
||||
@ -263,8 +263,8 @@ public:
|
||||
return *s_Engine;
|
||||
}
|
||||
|
||||
virtual bool canLoadGameStateCurrently();
|
||||
virtual bool canSaveGameStateCurrently();
|
||||
virtual bool canLoadGameStateCurrently() override;
|
||||
virtual bool canSaveGameStateCurrently() override;
|
||||
bool loadHugoDat();
|
||||
|
||||
int8 getTPS() const;
|
||||
@ -277,7 +277,7 @@ public:
|
||||
void readScreenFiles(const int screen);
|
||||
void setNewScreen(const int screen);
|
||||
void shutdown();
|
||||
void syncSoundSettings();
|
||||
void syncSoundSettings() override;
|
||||
|
||||
Status &getGameStatus();
|
||||
int getScore() const;
|
||||
@ -285,8 +285,8 @@ public:
|
||||
void adjustScore(const int adjustment);
|
||||
int getMaxScore() const;
|
||||
void setMaxScore(const int newScore);
|
||||
Common::Error saveGameState(int slot, const Common::String &desc);
|
||||
Common::Error loadGameState(int slot);
|
||||
Common::Error saveGameState(int slot, const Common::String &desc) override;
|
||||
Common::Error loadGameState(int slot) override;
|
||||
bool hasFeature(EngineFeature f) const override;
|
||||
const char *getCopyrightString() const;
|
||||
|
||||
@ -309,7 +309,7 @@ public:
|
||||
protected:
|
||||
|
||||
// Engine APIs
|
||||
Common::Error run();
|
||||
Common::Error run() override;
|
||||
|
||||
private:
|
||||
static const int kTurboTps = 16; // This many in turbo mode
|
||||
|
Loading…
Reference in New Issue
Block a user