diff options
author | johndoe123 | 2011-10-13 10:43:58 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:42 +0200 |
commit | aa789ee02bf55828fb8f0bfa9aa1efe0ecb44310 (patch) | |
tree | c68248a368d56a9934f26e23c19124e31106e60b /engines/neverhood/gamemodule.cpp | |
parent | e7673ffdc63f4d0a9b7b6f39161c3150537f3cd6 (diff) | |
download | scummvm-rg350-aa789ee02bf55828fb8f0bfa9aa1efe0ecb44310.tar.gz scummvm-rg350-aa789ee02bf55828fb8f0bfa9aa1efe0ecb44310.tar.bz2 scummvm-rg350-aa789ee02bf55828fb8f0bfa9aa1efe0ecb44310.zip |
NEVERHOOD: More work in Module2700
Diffstat (limited to 'engines/neverhood/gamemodule.cpp')
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index fa0af0753c..9bdaa865d4 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -38,6 +38,7 @@ #include "neverhood/module2200.h" #include "neverhood/module2300.h" #include "neverhood/module2600.h" +#include "neverhood/module2700.h" #include "neverhood/module3000.h" namespace Neverhood { @@ -291,10 +292,15 @@ void GameModule::startup() { _vm->gameState().sceneNum = 0; createModule(2100, 3); #endif -#if 1 +#if 0 _vm->gameState().sceneNum = 8; createModule(2600, -1); #endif +#if 1 + _vm->gameState().which = 0; + _vm->gameState().sceneNum = 5; + createModule(2700, -1); +#endif } void GameModule::createModule(int moduleNum, int which) { @@ -362,6 +368,10 @@ void GameModule::createModule(int moduleNum, int which) { setGlobalVar(0x91080831, 0x40271018); _childObject = new Module2600(_vm, this, which); break; + case 2700: + setGlobalVar(0x91080831, 0x42212411); + _childObject = new Module2700(_vm, this, which); + break; case 3000: setGlobalVar(0x91080831, 0x81293110); _childObject = new Module3000(_vm, this, which); @@ -476,6 +486,9 @@ void GameModule::updateModule() { createModule(1200, 1); } break; + case 2700: + createModule(1800, 2); + break; case 3000: if (_moduleResult == 1) { createModule(1900, 0); |