From 6a4d7babd978272f11f0c4fdfea331e532debf3f Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 31 Jan 2020 12:44:55 +0100 Subject: [PATCH] AGI: Add override keywords --- engines/agi/detection.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp index 73f2e8efdea..04bbfd44c4b 100644 --- a/engines/agi/detection.cpp +++ b/engines/agi/detection.cpp @@ -205,24 +205,24 @@ public: _guiOptions = GUIO1(GUIO_NOSPEECH); } - const char *getEngineId() const { + const char *getEngineId() const override { return "agi"; } - virtual const char *getName() const { + virtual const char *getName() const override { return "AGI preAGI + v2 + v3"; } - virtual const char *getOriginalCopyright() const { + virtual const char *getOriginalCopyright() const override { return "Sierra AGI Engine (C) Sierra On-Line Software"; } - virtual bool hasFeature(MetaEngineFeature f) const; - 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 hasFeature(MetaEngineFeature f) const override; + 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; ADDetectedGame fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const override; };