From 91ebc07eb93d850f2c9bd0a8c9419a1120b63eb2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 23 Jan 2014 12:00:18 -0800 Subject: FULLPIPE: Enable sceneFinal --- engines/fullpipe/scenes.cpp | 8 +++----- engines/fullpipe/scenes.h | 4 ++++ 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'engines') 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); -- cgit v1.2.3