diff options
author | Paul Gilbert | 2019-09-29 11:48:59 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-09-29 15:08:52 -0700 |
commit | defc19ada4f94d727531a78f0fa1574c328ef06d (patch) | |
tree | 17cb042914e53a197b05ac878ffbd0c62920158f /engines/glk/quest/quest.h | |
parent | b35088b78818290e60faa6bc5ef2cf240ea059e3 (diff) | |
download | scummvm-rg350-defc19ada4f94d727531a78f0fa1574c328ef06d.tar.gz scummvm-rg350-defc19ada4f94d727531a78f0fa1574c328ef06d.tar.bz2 scummvm-rg350-defc19ada4f94d727531a78f0fa1574c328ef06d.zip |
GLK: QUEST: Savegames aren't supported for Quest games
Diffstat (limited to 'engines/glk/quest/quest.h')
-rw-r--r-- | engines/glk/quest/quest.h | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/engines/glk/quest/quest.h b/engines/glk/quest/quest.h index 87775600a8..cb0994db5e 100644 --- a/engines/glk/quest/quest.h +++ b/engines/glk/quest/quest.h @@ -71,15 +71,24 @@ public: } /** - * Load a savegame from the passed Quetzal file chunk stream + * Savegames aren't supported for Quest games */ - virtual Common::Error readSaveData(Common::SeekableReadStream *rs) override; + virtual bool canLoadGameStateCurrently() override { return false; } /** - * Save the game. The passed write stream represents access to the UMem chunk - * in the Quetzal save file that will be created + * Savegames aren't supported for Quest games */ - virtual Common::Error writeGameData(Common::WriteStream *ws) override; + virtual bool canSaveGameStateCurrently() override { return false; } + + /** + * Savegames aren't supported for Quest games + */ + virtual Common::Error readSaveData(Common::SeekableReadStream *rs) override { return Common::kUnknownError; } + + /** + * Savegames aren't supported for Quest games + */ + virtual Common::Error writeGameData(Common::WriteStream *ws) override { return Common::kUnknownError; } }; extern Quest *g_vm; |