aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-23 12:00:18 -0800
committerEugene Sandulenko2014-01-23 12:01:26 -0800
commit91ebc07eb93d850f2c9bd0a8c9419a1120b63eb2 (patch)
treee17459feaadb23d297a35c8915273693303a6582 /engines
parent19bf8cf4bf0081cea7c1f531808ac0c2bed146a7 (diff)
downloadscummvm-rg350-91ebc07eb93d850f2c9bd0a8c9419a1120b63eb2.tar.gz
scummvm-rg350-91ebc07eb93d850f2c9bd0a8c9419a1120b63eb2.tar.bz2
scummvm-rg350-91ebc07eb93d850f2c9bd0a8c9419a1120b63eb2.zip
FULLPIPE: Enable sceneFinal
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/scenes.cpp8
-rw-r--r--engines/fullpipe/scenes.h4
2 files changed, 7 insertions, 5 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp
index 9c2ab87d07..71c8b1efb5 100644
--- a/engines/fullpipe/scenes.cpp
+++ b/engines/fullpipe/scenes.cpp
@@ -986,18 +986,16 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
_updateCursorCallback = defaultUpdateCursor;
break;
-#if 0
case SC_FINAL1:
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_FINAL1");
scene->preloadMovements(sceneVar);
- sceneFinal1_initScene();
+ sceneFinal_initScene();
_behaviorManager->initBehavior(scene, sceneVar);
scene->initObjectCursors("SC_FINAL1");
setSceneMusicParameters(sceneVar);
- addMessageHandler(sceneHandlerFinal1, 2);
- _updateCursorCallback = sceneFinal1_updateCursor;
+ addMessageHandler(sceneHandlerFinal, 2);
+ _updateCursorCallback = sceneFinal_updateCursor;
break;
-#endif
case SC_DBGMENU:
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_DBGMENU");
diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h
index 65c2f3dc66..5f77f74706 100644
--- a/engines/fullpipe/scenes.h
+++ b/engines/fullpipe/scenes.h
@@ -176,6 +176,10 @@ int scene37_updateCursor();
void scene38_initScene(Scene *sc);
int sceneHandler38(ExCommand *ex);
+int sceneFinal_updateCursor();
+void sceneFinal_initScene();
+int sceneHandlerFinal(ExCommand *cmd);
+
void sceneDbgMenu_initScene(Scene *sc);
int sceneHandlerDbgMenu(ExCommand *cmd);