AGI: Add override keywords

This commit is contained in:
Eugene Sandulenko 2020-01-31 12:44:55 +01:00
parent 58499ef0cd
commit 6a4d7babd9

View File

@ -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;
};