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
This commit is contained in:
David Turner 2011-01-11 01:35:38 +00:00
parent 645ba4c379
commit 71c7ae9fbb

View File

@ -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;