aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-02 14:04:05 +0200
committerEugene Sandulenko2014-01-02 14:04:05 +0200
commit3f7077a251f2b2d75a269a652a30e08313c061be (patch)
treee5b1b0c47bd8aed40604e59fbf2fd862aa7c174d
parent8deb6908e24ba1110be142390d083b1c57385389 (diff)
downloadscummvm-rg350-3f7077a251f2b2d75a269a652a30e08313c061be.tar.gz
scummvm-rg350-3f7077a251f2b2d75a269a652a30e08313c061be.tar.bz2
scummvm-rg350-3f7077a251f2b2d75a269a652a30e08313c061be.zip
FULLPIPE: Enable scene30. This completes the scene
-rw-r--r--engines/fullpipe/scenes.cpp4
-rw-r--r--engines/fullpipe/scenes.h4
2 files changed, 6 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp
index 03309775d5..79b98307f4 100644
--- a/engines/fullpipe/scenes.cpp
+++ b/engines/fullpipe/scenes.cpp
@@ -764,18 +764,18 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
addMessageHandler(sceneHandler29, 2);
_updateCursorCallback = scene29_updateCursor;
break;
+#endif
case SC_30:
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_30");
scene->preloadMovements(sceneVar);
- scene30_initScene(scene, entrance->field_4);
+ scene30_initScene(scene, entrance->_field_4);
_behaviorManager->initBehavior(scene, sceneVar);
scene->initObjectCursors("SC_30");
setSceneMusicParameters(sceneVar);
addMessageHandler(sceneHandler30, 2);
_updateCursorCallback = scene30_updateCursor;
break;
-#endif
case SC_31:
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_31");
diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h
index d8a1b1825a..f15ce00178 100644
--- a/engines/fullpipe/scenes.h
+++ b/engines/fullpipe/scenes.h
@@ -109,6 +109,10 @@ void scene24_initScene(Scene *sc);
void scene24_setPoolState();
int sceneHandler24(ExCommand *cmd);
+int scene30_updateCursor();
+ void scene30_initScene(Scene *sc, int flag);
+int sceneHandler30(ExCommand *cmd);
+
void scene31_initScene(Scene *sc);
int sceneHandler31(ExCommand *ex);