From 34bd3aa749ad01c1e136805605a113c57f5fd4fa Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 2 Jan 2014 00:47:55 +0200 Subject: FULLPIPE: Enable scene17. This completes the scene --- engines/fullpipe/scenes.cpp | 4 ++-- engines/fullpipe/scenes.h | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'engines/fullpipe') diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index 899d215116..c8ace3cd2f 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -578,7 +578,6 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) { _updateCursorCallback = scene16_updateCursor; break; -#if 0 case SC_17: sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_17"); scene->preloadMovements(sceneVar); @@ -587,10 +586,11 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) { scene->initObjectCursors("SC_17"); setSceneMusicParameters(sceneVar); addMessageHandler(sceneHandler17, 2); - scene17_sub_41F060(); + scene17_restoreState(); _updateCursorCallback = scene17_updateCursor; break; +#if 0 case SC_18: sub_40E1B0(); sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_18"); diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h index b4052f4d38..358c6bcf2e 100644 --- a/engines/fullpipe/scenes.h +++ b/engines/fullpipe/scenes.h @@ -96,6 +96,11 @@ void scene16_initScene(Scene *sc); int sceneHandler16(ExCommand *cmd); int scene16_updateCursor(); +void scene17_initScene(Scene *sc); +void scene17_restoreState(); +int sceneHandler17(ExCommand *cmd); +int scene17_updateCursor(); + void scene24_initScene(Scene *sc); void scene24_setPoolState(); int sceneHandler24(ExCommand *cmd); -- cgit v1.2.3