diff options
author | Filippos Karapetis | 2013-06-11 14:03:44 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-06-11 18:57:14 +0300 |
commit | 974e7e80a83a0b44108ff9bdcb2863382b79b32e (patch) | |
tree | d9b4d6768a5542acd9f8810eda34c79f751068c7 /engines/neverhood/gamemodule.cpp | |
parent | d4f3f6baa4eae9b6ab47b6f29dbd585a892e791d (diff) | |
download | scummvm-rg350-974e7e80a83a0b44108ff9bdcb2863382b79b32e.tar.gz scummvm-rg350-974e7e80a83a0b44108ff9bdcb2863382b79b32e.tar.bz2 scummvm-rg350-974e7e80a83a0b44108ff9bdcb2863382b79b32e.zip |
NEVERHOOD: Remove cheat debug code, and introduce a new command, "cheat"
Diffstat (limited to 'engines/neverhood/gamemodule.cpp')
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index 2cb037616b..70450e2918 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -194,21 +194,6 @@ void GameModule::initMemoryPuzzle() { tileSymbolIndex = 0; } setSubVar(VA_IS_PUZZLE_INIT, 0xC8606803, 1); - - // DEBUG Enable to autosolve all tiles and leave only two matching tiles open -#if 0 - for (int i = 0; i < 48; i++) - setSubVar(VA_IS_TILE_MATCH, i, 1); - int debugIndex = 0; - setSubVar(VA_IS_TILE_MATCH, debugIndex, 0); - for (int i = 0; i < 48; i++) { - if (i != debugIndex && getSubVar(VA_TILE_SYMBOLS, i) == getSubVar(VA_TILE_SYMBOLS, debugIndex)) { - setSubVar(VA_IS_TILE_MATCH, i, 0); - break; - } - } -#endif - } } |