diff options
author | Einar Johan Trøan Sømåen | 2014-09-03 17:47:49 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2014-09-03 17:47:49 +0200 |
commit | 55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b (patch) | |
tree | 79be014079c21a2e1112616f8d7559cb1440d673 /engines/wintermute/base/base_game_settings.h | |
parent | 20d363c78558d46ce6669a1ad924068ad3d6e921 (diff) | |
download | scummvm-rg350-55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b.tar.gz scummvm-rg350-55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b.tar.bz2 scummvm-rg350-55c8b7a11a262e7bc2cfda87447c0c2c0ecf972b.zip |
WINTERMUTE: Save the names of any language files that are loaded. (Fix bug #6651)
This way, they will be reloaded in the same order when loading a save game. Old save games will
continue to show the bug, but new savegames will be consistent. A quick fix for old save games in
the white chamber, is to launch the game with the correct language BEFORE loading the save game.
This increases the save-game-version to 1.3.1ScummVM
Diffstat (limited to 'engines/wintermute/base/base_game_settings.h')
-rw-r--r-- | engines/wintermute/base/base_game_settings.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wintermute/base/base_game_settings.h b/engines/wintermute/base/base_game_settings.h index fe0e9907e6..2059cb075e 100644 --- a/engines/wintermute/base/base_game_settings.h +++ b/engines/wintermute/base/base_game_settings.h @@ -34,6 +34,7 @@ namespace Wintermute { class BaseStringTable; class BaseGame; +class BasePersistenceManager; class BaseGameSettings { public: const char *getGameFile() const { return (_gameFile ? _gameFile : "default.game"); } @@ -46,6 +47,8 @@ public: bool loadStringTable(const char *filename, bool clearOld); void expandStringByStringTable(char **str) const; char *getKeyFromStringTable(const char *str) const; + + bool persist(BasePersistenceManager *persistMgr); private: char *_gameFile; int _resWidth; |