diff options
author | johndoe123 | 2011-09-15 14:38:42 +0000 |
---|---|---|
committer | Willem Jan Palenstijn | 2013-05-08 20:39:38 +0200 |
commit | a21f9ef891d32487b0f6a57651aee2d8f7106a40 (patch) | |
tree | 9ab41c29afb72ecb9564826ac5a0cc6ffa3daf0b /engines/neverhood | |
parent | 38378d2090ef637c632e7d867d9519f57ef5db6e (diff) | |
download | scummvm-rg350-a21f9ef891d32487b0f6a57651aee2d8f7106a40.tar.gz scummvm-rg350-a21f9ef891d32487b0f6a57651aee2d8f7106a40.tar.bz2 scummvm-rg350-a21f9ef891d32487b0f6a57651aee2d8f7106a40.zip |
NEVERHOOD: Add Scene1310 and Scene1311
Diffstat (limited to 'engines/neverhood')
-rw-r--r-- | engines/neverhood/module1300.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/engines/neverhood/module1300.cpp b/engines/neverhood/module1300.cpp index 7de50b11cb..04f4a2e8ed 100644 --- a/engines/neverhood/module1300.cpp +++ b/engines/neverhood/module1300.cpp @@ -215,9 +215,19 @@ void Module1300::createScene1309(int which) { } void Module1300::createScene1310(int which) { + _vm->gameState().sceneNum = 9; + // TODO Sound1ChList_setSoundValuesMulti(dword_4B2868, false, 0, 0, 0, 0); + // TODO Music18hList_stop(0x203197, 0, 2); + createSmackerScene(0x20082818, true, true, false); + SetUpdateHandler(&Module1300::updateScene1310); } void Module1300::createScene1311(int which) { + _vm->gameState().sceneNum = 10; + // TODO Sound1ChList_setSoundValuesMulti(dword_4B2868, false, 0, 0, 0, 0); + // TODO Music18hList_stop(0x203197, 0, 2); + createSmackerScene(0x20082828, true, true, false); + SetUpdateHandler(&Module1300::updateScene1310); } void Module1300::createScene1312(int which) { @@ -269,6 +279,7 @@ void Module1300::createScene1317(int which) { } void Module1300::createScene1318(int which) { + // TODO: Credits scene } void Module1300::updateScene1302() { @@ -380,6 +391,17 @@ void Module1300::updateScene1309() { } void Module1300::updateScene1310() { + _childObject->handleUpdate(); + if (_done) { + _done = false; + delete _childObject; + _childObject = NULL; + if (_vm->gameState().sceneNum == 9) + createScene1315(0); + else + createScene1306(0); + _childObject->handleUpdate(); + } } void Module1300::updateScene1311() { |