From 553bb74f8c380ee31fb771c6619dad8e83fed8ce Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 16 Jun 2019 13:29:15 -0700 Subject: GLK: Further changeover of sub-engines to use new savegame code --- engines/glk/glk.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'engines/glk/glk.h') diff --git a/engines/glk/glk.h b/engines/glk/glk.h index f96f384027..739f1774d9 100644 --- a/engines/glk/glk.h +++ b/engines/glk/glk.h @@ -198,14 +198,15 @@ public: virtual Common::Error saveGameState(int slot, const Common::String &desc) override; /** - * Load a savegame from the passed file + * Load a savegame from the passed Quetzal file chunk stream */ - virtual Common::Error loadGameData(strid_t file) = 0; + virtual Common::Error readSaveData(Common::SeekableReadStream *rs) = 0; /** - * Save the game to the passed file + * 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) = 0; + virtual Common::Error writeGameData(Common::WriteStream *ws) = 0; /** * Generate a beep -- cgit v1.2.3