LILLIPUT: Added override keywords

This commit is contained in:
Eugene Sandulenko 2020-02-05 15:44:24 +01:00
parent f35993b224
commit c131d6f719
2 changed files with 11 additions and 11 deletions

View File

@ -126,25 +126,25 @@ public:
LilliputMetaEngine() : AdvancedMetaEngine(gameDescriptions, sizeof(LilliputGameDescription), lilliputGames) {
}
const char *getEngineId() const {
const char *getEngineId() const override {
return "lilliput";
}
const char *getName() const {
const char *getName() const override {
return "Lilliput";
}
const char *getOriginalCopyright() const {
const char *getOriginalCopyright() const override {
return "Lilliput (C) S.L.Grand, Brainware, 1991-1992";
}
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 LilliputMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGameDescription *gd) const {

View File

@ -94,7 +94,7 @@ public:
OSystem *_system;
GUI::Debugger *getDebugger();
GUI::Debugger *getDebugger() override;
Common::RandomSource *_rnd;
LilliputScript *_scriptHandler;
@ -327,7 +327,7 @@ public:
const char *getCopyrightString() const;
Common::String getSavegameFilename(int slot);
void syncSoundSettings();
void syncSoundSettings() override;
Common::Point _mousePos;
Common::Point _oldMousePos;
@ -366,7 +366,7 @@ protected:
int _lastTime;
// Engine APIs
Common::Error run();
Common::Error run() override;
void handleMenu();
private: