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/touche | |
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/touche')
-rw-r--r-- | engines/touche/saveload.cpp | 2 | ||||
-rw-r--r-- | engines/touche/touche.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/touche/saveload.cpp b/engines/touche/saveload.cpp index 011e739c35..0890d4688f 100644 --- a/engines/touche/saveload.cpp +++ b/engines/touche/saveload.cpp @@ -316,7 +316,7 @@ void ToucheEngine::loadGameStateData(Common::ReadStream *stream) { debug(0, "Loaded state, current episode %d", _currentEpisodeNum); } -bool ToucheEngine::saveGameState(int num, const char *description) { +int ToucheEngine::saveGameState(int num, const char *description) { bool saveOk = false; char gameStateFileName[64]; generateGameStateFileName(num, gameStateFileName, 63); diff --git a/engines/touche/touche.h b/engines/touche/touche.h index a5ff67dcc9..9d66d839a0 100644 --- a/engines/touche/touche.h +++ b/engines/touche/touche.h @@ -497,7 +497,7 @@ protected: void saveGameStateData(Common::WriteStream *stream); void loadGameStateData(Common::ReadStream *stream); - bool saveGameState(int num, const char *description); + int saveGameState(int num, const char *description); int loadGameState(int num); void readGameStateDescription(int num, char *description, int len); void generateGameStateFileName(int num, char *dst, int len, bool prefixOnly = false) const; |