diff options
author | Max Horn | 2008-11-06 15:41:38 +0000 |
---|---|---|
committer | Max Horn | 2008-11-06 15:41:38 +0000 |
commit | 8f33d4a40aef337673fe98bb3b44be300fe697e6 (patch) | |
tree | 0c5dfe2ec185fa37b8d44b4ef24e67c938471a63 /engines/engine.h | |
parent | edf9f249260b1fd4364f6727fa622991e81e8cf3 (diff) | |
download | scummvm-rg350-8f33d4a40aef337673fe98bb3b44be300fe697e6.tar.gz scummvm-rg350-8f33d4a40aef337673fe98bb3b44be300fe697e6.tar.bz2 scummvm-rg350-8f33d4a40aef337673fe98bb3b44be300fe697e6.zip |
Implemented GMM loading (and, once the GMM supports it, saving) for SCUMM
svn-id: r34913
Diffstat (limited to 'engines/engine.h')
-rw-r--r-- | engines/engine.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/engine.h b/engines/engine.h index 5267eec792..2a631e069f 100644 --- a/engines/engine.h +++ b/engines/engine.h @@ -167,7 +167,9 @@ public: /** * Load a game state. + * @param slot the slot from which a savestate should be loaded * @return returns 0 on success, anything else indicates failure + * * @todo define proper error values */ virtual int loadGameState(int slot); @@ -179,12 +181,13 @@ public: /** * Save a game state. + * @param slot the slot into which the savestate should be stored + * @param desc a description for the savestate, entered by the user * @return returns 0 on success, anything else indicates failure * * @todo define proper error values - * @todo actually we need to pass the user entered name to the engine */ - virtual int saveGameState(int slot); + virtual int saveGameState(int slot, const char *desc); /** * Indicates whether a game state can be saved. |