diff options
author | johndoe123 | 2011-08-31 13:52:58 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:35 +0200 |
commit | 732f7c8845bf694e30f3d8c1ffe4b33a5a06a7c7 (patch) | |
tree | 8ebd320c605f898558c8cde5f923c4bd429a2a85 /engines/neverhood | |
parent | 31457e11aa423e9350d08e6bc5663eccfdd448bd (diff) | |
download | scummvm-rg350-732f7c8845bf694e30f3d8c1ffe4b33a5a06a7c7.tar.gz scummvm-rg350-732f7c8845bf694e30f3d8c1ffe4b33a5a06a7c7.tar.bz2 scummvm-rg350-732f7c8845bf694e30f3d8c1ffe4b33a5a06a7c7.zip |
NEVERHOOD: Add Scene2204 (just a DiskplayerScene)
Diffstat (limited to 'engines/neverhood')
-rw-r--r-- | engines/neverhood/module2200.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/engines/neverhood/module2200.cpp b/engines/neverhood/module2200.cpp index 23f8d73f58..e8fd77dc18 100644 --- a/engines/neverhood/module2200.cpp +++ b/engines/neverhood/module2200.cpp @@ -23,6 +23,7 @@ #include "neverhood/module2200.h" #include "neverhood/module1000.h" #include "neverhood/module1200.h" +#include "neverhood/diskplayerscene.h" namespace Neverhood { @@ -211,6 +212,10 @@ void Module2200::createScene2203(int which) { } void Module2200::createScene2204(int which) { + _vm->gameState().sceneNum = 3; + // TODO Music18hList_stop(0x601C908C, 0, 2); + _childObject = new DiskplayerScene(_vm, this, 3); + SetUpdateHandler(&Module2200::updateScene2204); } void Module2200::createScene2205(int which) { @@ -391,6 +396,13 @@ void Module2200::updateScene2203() { } void Module2200::updateScene2204() { + _childObject->handleUpdate(); + if (_done) { + _done = false; + delete _childObject; + _childObject = NULL; + createScene2203(2); + } } void Module2200::updateScene2205() { |