aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glulxe/glulxe.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-05-03 19:49:21 +1000
committerPaul Gilbert2019-05-03 19:49:21 +1000
commita6b1bc98ae21348c8492c62d07fed738357777d6 (patch)
treedaef3fcbec2c605111bdeff5dab22ee3f3decd07 /engines/glk/glulxe/glulxe.h
parentae7acf109992627e4627dabe1a25f815f8a7467b (diff)
downloadscummvm-rg350-a6b1bc98ae21348c8492c62d07fed738357777d6.tar.gz
scummvm-rg350-a6b1bc98ae21348c8492c62d07fed738357777d6.tar.bz2
scummvm-rg350-a6b1bc98ae21348c8492c62d07fed738357777d6.zip
GLK: GLULXE: Move savegame code into loadGameData/saveGameData
Diffstat (limited to 'engines/glk/glulxe/glulxe.h')
-rw-r--r--engines/glk/glulxe/glulxe.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/engines/glk/glulxe/glulxe.h b/engines/glk/glulxe/glulxe.h
index b5f13dc492..13a82b78be 100644
--- a/engines/glk/glulxe/glulxe.h
+++ b/engines/glk/glulxe/glulxe.h
@@ -411,12 +411,12 @@ public:
/**
* Load a savegame from the passed stream
*/
- virtual Common::Error loadGameData(strid_t file) override;
+ virtual Common::Error loadGameData(strid_t str) override;
/**
* Save the game to the passed stream
*/
- virtual Common::Error saveGameData(strid_t file, const Common::String &desc) override;
+ virtual Common::Error saveGameData(strid_t str, const Common::String &desc) override;
/**
* \defgroup Main access methods
@@ -935,20 +935,6 @@ public:
void final_serial();
/**
- * Write the state to the output stream. This returns 0 on success, 1 on failure.
- */
- uint perform_save(strid_t str);
-
- /**
- * Pull a state pointer from a stream. This returns 0 on success, 1 on failure. Note that if it succeeds,
- * the frameptr, localsbase, and valstackbase registers are invalid; they must be rebuilt from the stack.
- *
- * If fromshell is true, the restore is being invoked by the library shell (an autorestore of some kind).
- * This currently happens only in iosglk.
- */
- uint perform_restore(strid_t str, int fromshell);
-
- /**
* Add a state pointer to the undo chain. This returns 0 on success, 1 on failure.
*/
uint perform_saveundo();