diff options
author | johndoe123 | 2011-09-30 07:01:52 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:41 +0200 |
commit | 8840c7481924b515032ed310bb999c3003c7dbf7 (patch) | |
tree | 153ca579c02fc2f84165bb7abfd58585759f46ec /engines | |
parent | a7dcbd0f335023615acdcdef514e614bd6a40f76 (diff) | |
download | scummvm-rg350-8840c7481924b515032ed310bb999c3003c7dbf7.tar.gz scummvm-rg350-8840c7481924b515032ed310bb999c3003c7dbf7.tar.bz2 scummvm-rg350-8840c7481924b515032ed310bb999c3003c7dbf7.zip |
NEVERHOOD: Add floor button to Scene1401
Diffstat (limited to 'engines')
-rw-r--r-- | engines/neverhood/gamemodule.cpp | 6 | ||||
-rw-r--r-- | engines/neverhood/module1400.cpp | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/neverhood/gamemodule.cpp b/engines/neverhood/gamemodule.cpp index 7d463fb3e2..2891bddc2a 100644 --- a/engines/neverhood/gamemodule.cpp +++ b/engines/neverhood/gamemodule.cpp @@ -286,10 +286,14 @@ void GameModule::startup() { _vm->gameState().sceneNum = 6; createModule(1900, -1); #endif -#if 1 +#if 0 _vm->gameState().sceneNum = 0; createModule(2100, 3); #endif +#if 1 + _vm->gameState().sceneNum = 0; + createModule(1400, -1); +#endif } void GameModule::createModule(int moduleNum, int which) { diff --git a/engines/neverhood/module1400.cpp b/engines/neverhood/module1400.cpp index 37fb354b54..8d42c7fa2c 100644 --- a/engines/neverhood/module1400.cpp +++ b/engines/neverhood/module1400.cpp @@ -22,6 +22,7 @@ #include "neverhood/module1400.h" #include "neverhood/module1000.h" +#include "neverhood/module2100.h" #include "neverhood/module2200.h" #include "neverhood/diskplayerscene.h" #include "neverhood/gamemodule.h" @@ -667,7 +668,7 @@ Scene1401::Scene1401(NeverhoodEngine *vm, Module *parentModule, int which) setPalette(0x08221FA5); insertMouse433(0x21FA108A); - // TODO _class427 = insertSprite<Class427>(this, 0x980F3124, 0x12192892, 100, 0); + _class427 = insertSprite<Class427>(this, 0x980F3124, 0x12192892, 100, 0); _class525 = insertSprite<Class525>(); if (!getGlobalVar(0x01023818)) { |