diff options
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. |