aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/state.h
diff options
context:
space:
mode:
authorMartin Kiewitz2010-08-23 16:33:19 +0000
committerMartin Kiewitz2010-08-23 16:33:19 +0000
commit7b8add291ebae5360bc8a68a3cc6bc1edae9a998 (patch)
treef5fdf508ffb9050c950873f56281ed55cce767e4 /engines/sci/engine/state.h
parentc1e63b55e408ebbc3b4b969b9b7792065cb2a099 (diff)
downloadscummvm-rg350-7b8add291ebae5360bc8a68a3cc6bc1edae9a998.tar.gz
scummvm-rg350-7b8add291ebae5360bc8a68a3cc6bc1edae9a998.tar.bz2
scummvm-rg350-7b8add291ebae5360bc8a68a3cc6bc1edae9a998.zip
SCI: multiple changes for mother goose vga
which is sci1 and sci1.1 fixes bug #3051145 - separating this mother goose from ega and sci2.1 - adding workaround when restoring saved games in these games, games try to calculate restored savedgameid instead of looking it up, we patch this code out and also set the global to the current savedgameid - adding workaround for scripts checking savedgameid to be below 13 (our savedgameids begin at 100 now) - changing official range for savedgameids from 1000->1999 to 100->199, otherwise mother goose would have required much larger patches and this range should be fine even if we replace savedgame dialogs later svn-id: r52301
Diffstat (limited to 'engines/sci/engine/state.h')
-rw-r--r--engines/sci/engine/state.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sci/engine/state.h b/engines/sci/engine/state.h
index 4f1d686b17..476bd55d6a 100644
--- a/engines/sci/engine/state.h
+++ b/engines/sci/engine/state.h
@@ -80,11 +80,11 @@ enum {
MAX_SAVEGAME_NR = 20 /**< Maximum number of savegames */
};
-// We assume that scripts give us savegameId 0->999 for creating a new save slot
-// and savegameId 1000->1999 for existing save slots ffs. kfile.cpp
+// We assume that scripts give us savegameId 0->99 for creating a new save slot
+// and savegameId 100->199 for existing save slots ffs. kfile.cpp
enum {
- SAVEGAMEID_OFFICIALRANGE_START = 1000,
- SAVEGAMEID_OFFICIALRANGE_END = 1999
+ SAVEGAMEID_OFFICIALRANGE_START = 100,
+ SAVEGAMEID_OFFICIALRANGE_END = 199
};
enum {