Skip to content

Commit

Permalink
NEVERHOOD: Add floor button to Scene1401
Browse files Browse the repository at this point in the history
  • Loading branch information
johndoe123 authored and wjp committed May 8, 2013
1 parent a7dcbd0 commit 8840c74
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion engines/neverhood/gamemodule.cpp
Expand Up @@ -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) {
Expand Down
3 changes: 2 additions & 1 deletion engines/neverhood/module1400.cpp
Expand Up @@ -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"
Expand Down Expand Up @@ -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)) {
Expand Down

0 comments on commit 8840c74

Please sign in to comment.