GRIM: Make the savegames compatible with 1.1 again. Bump to 22.9

New Lua's internal functions (int_funcs array in lbuiltin.cpp) must
be added to the bottom, and the savegame's minor version must
be increased.
This commit is contained in:
Giulio Camuffo 2013-10-30 15:28:36 +01:00
parent 3fc3ed1caa
commit be9b11570e
2 changed files with 4 additions and 4 deletions

View File

@ -511,13 +511,13 @@ static struct luaL_reg int_funcs[] = {
{ "stop_script", stop_script },
{ "next_script", next_script },
{ "identify_script", identify_script },
{ "pause_script", pause_script },
{ "pause_scripts", pause_scripts },
{ "unpause_script", unpause_script },
{ "unpause_scripts", unpause_scripts },
{ "find_script", find_script },
{ "sleep_for", sleep_for },
{ "break_here", break_here }
{ "break_here", break_here },
{ "pause_script", pause_script },
{ "unpause_script", unpause_script }
};
void luaB_predefine() {

View File

@ -35,7 +35,7 @@ namespace Grim {
#define SAVEGAME_FOOTERTAG 'ESAV'
uint SaveGame::SAVEGAME_MAJOR_VERSION = 22;
uint SaveGame::SAVEGAME_MINOR_VERSION = 8;
uint SaveGame::SAVEGAME_MINOR_VERSION = 9;
SaveGame *SaveGame::openForLoading(const Common::String &filename) {
Common::InSaveFile *inSaveFile = g_system->getSavefileManager()->openForLoading(filename);