diff options
author | Eugene Sandulenko | 2013-12-20 11:35:42 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-21 16:42:48 +0200 |
commit | 9816794f8c08d6a9f4f49fba0e05d20dc0b8746b (patch) | |
tree | 269a5c5897c75420c457f1c66d99afdfb44dc410 /engines | |
parent | e5462f415f08636b3091f5db282b4cf872ba9d75 (diff) | |
download | scummvm-rg350-9816794f8c08d6a9f4f49fba0e05d20dc0b8746b.tar.gz scummvm-rg350-9816794f8c08d6a9f4f49fba0e05d20dc0b8746b.tar.bz2 scummvm-rg350-9816794f8c08d6a9f4f49fba0e05d20dc0b8746b.zip |
FULLPIPE: Plug scene08 in
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/scenes.cpp | 4 | ||||
-rw-r--r-- | engines/fullpipe/scenes.h | 5 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene08.cpp | 12 |
3 files changed, 19 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index a701b5b206..50142dd918 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -351,7 +351,6 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) { _updateCursorCallback = defaultUpdateCursor; break; -#if 0 case SC_8: sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_8"); scene->preloadMovements(sceneVar); @@ -359,11 +358,12 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) { _behaviorManager->initBehavior(scene, sceneVar); scene->initObjectCursors("SC_8"); setSceneMusicParameters(sceneVar); - sub_416890(); + scene08_setupMusic(); addMessageHandler(sceneHandler08, 2); _updateCursorCallback = scene08_updateCursor; break; +#if 0 case SC_9: sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_9"); scene->preloadMovements(sceneVar); diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h index f671ed9799..24fd1fce4c 100644 --- a/engines/fullpipe/scenes.h +++ b/engines/fullpipe/scenes.h @@ -62,6 +62,11 @@ int scene06_updateCursor(); void scene07_initScene(Scene *sc); int sceneHandler07(ExCommand *cmd); +void scene08_initScene(Scene *sc); +void scene08_setupMusic(); +int sceneHandler08(ExCommand *cmd); +int scene08_updateCursor(); + void sceneDbgMenu_initScene(Scene *sc); int sceneHandlerDbgMenu(ExCommand *cmd); diff --git a/engines/fullpipe/scenes/scene08.cpp b/engines/fullpipe/scenes/scene08.cpp index c8a64a2410..e9bc1e6467 100644 --- a/engines/fullpipe/scenes/scene08.cpp +++ b/engines/fullpipe/scenes/scene08.cpp @@ -101,6 +101,18 @@ void scene08_initScene(Scene *sc) { g_fullpipe->setArcadeOverlay(PIC_CSR_ARCADE3); } +void scene08_setupMusic() { + warning("STUB: scene08_setupMusic()"); +} + +int scene08_updateCursor() { + warning("STUB: scene08_updateCursor()"); + + g_fullpipe->updateCursorCommon(); + + return g_fullpipe->_cursorId; +} + void sceneHandler08_winArcade() { warning("STUB: sceneHandler08_winArcade()"); } |