diff options
Diffstat (limited to 'engines/glk/tads')
-rw-r--r-- | engines/glk/tads/tads.cpp | 8 | ||||
-rw-r--r-- | engines/glk/tads/tads.h | 9 |
2 files changed, 9 insertions, 8 deletions
diff --git a/engines/glk/tads/tads.cpp b/engines/glk/tads/tads.cpp index 6ce2915469..fc598dbf4a 100644 --- a/engines/glk/tads/tads.cpp +++ b/engines/glk/tads/tads.cpp @@ -42,14 +42,14 @@ bool TADS::hasFeature(EngineFeature f) const { return GlkAPI::hasFeature(f); } -Common::Error TADS::loadGameData(strid_t file) { +Common::Error TADS::readSaveData(Common::SeekableReadStream *rs) { // TODO - return Common::kNoError; + return Common::kReadingFailed; } -Common::Error TADS::saveGameData(strid_t file, const Common::String &desc) { +Common::Error TADS::writeGameData(Common::WriteStream *ws) { // TODO - return Common::kNoError; + return Common::kWritingFailed; } } // End of namespace TADS diff --git a/engines/glk/tads/tads.h b/engines/glk/tads/tads.h index 6ad8780a2b..f30cf9f10d 100644 --- a/engines/glk/tads/tads.h +++ b/engines/glk/tads/tads.h @@ -54,14 +54,15 @@ public: virtual bool hasFeature(EngineFeature f) const override; /** - * Load a savegame from the passed stream + * Load a savegame from the passed Quetzal file chunk stream */ - virtual Common::Error loadGameData(strid_t file) override; + virtual Common::Error readSaveData(Common::SeekableReadStream *rs) override; /** - * Save the game to the passed stream + * Save the game. The passed write stream represents access to the UMem chunk + * in the Quetzal save file that will be created */ - virtual Common::Error saveGameData(strid_t file, const Common::String &desc) override; + virtual Common::Error writeGameData(Common::WriteStream *ws) override; }; extern TADS *g_vm; |