aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorDavid Turner2011-01-11 01:35:38 +0000
committerDavid Turner2011-01-11 01:35:38 +0000
commit71c7ae9fbb981883095d1b1c02d199484cb78b9d (patch)
treef427e67d1461a33c0e2a26edd6609a0ecea13fa9 /engines/cine
parent645ba4c379b07bf2296eac66a0de31ae55ebb2b0 (diff)
downloadscummvm-rg350-71c7ae9fbb981883095d1b1c02d199484cb78b9d.tar.gz
scummvm-rg350-71c7ae9fbb981883095d1b1c02d199484cb78b9d.tar.bz2
scummvm-rg350-71c7ae9fbb981883095d1b1c02d199484cb78b9d.zip
CINE: Extend "labyrinthCheat" console command to cover Operation Stealth Scene 8 (Rats' Maze).
These arcade puzzles are hard, but solvable. This command is intended to aid debugging and rapid playtesting. svn-id: r55198
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/script_fw.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp
index d403b0dc3a..ffbee3d389 100644
--- a/engines/cine/script_fw.cpp
+++ b/engines/cine/script_fw.cpp
@@ -1335,11 +1335,16 @@ int FWScript::o1_startGlobalScript() {
debugC(5, kCineDebugScript, "Line: %d: startScript(%d)", _line, param);
- // Cheat for Scene 6 Labyrinth Arcade Game to disable John's Death (to aid playtesting)
+ // Cheat for Scene 6 Guards Labyrinth Arcade Game to disable John's Death (to aid playtesting)
if (g_cine->getGameType() == Cine::GType_OS && labyrinthCheat && scumm_stricmp(currentPrcName, "LABY.PRC") == 0 && param == 46) {
warning("LABY.PRC startScript(46) Disabled. CHEAT!");
return 0;
}
+ // Cheat for Scene 8 Rats Labyrinth Arcade Game to disable John's Death (to aid playtesting)
+ if (g_cine->getGameType() == Cine::GType_OS && labyrinthCheat && scumm_stricmp(currentPrcName, "EGOU.PRC") == 0 && param == 46) {
+ warning("EGOU.PRC startScript(46) Disabled. CHEAT!");
+ return 0;
+ }
addScriptToGlobalScripts(param);
return 0;