aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-03 00:11:41 +0200
committerEugene Sandulenko2014-01-03 00:11:41 +0200
commita21bba04d041cce1fafedb265ded9d4f3e305e7e (patch)
tree990e4001f0e46389b80c90606f86893af147522b
parent7d178a86478c5bcf6bbeabf7347a4b0624f6466e (diff)
downloadscummvm-rg350-a21bba04d041cce1fafedb265ded9d4f3e305e7e.tar.gz
scummvm-rg350-a21bba04d041cce1fafedb265ded9d4f3e305e7e.tar.bz2
scummvm-rg350-a21bba04d041cce1fafedb265ded9d4f3e305e7e.zip
FULLPIPE: Enable scene22. This completes the scene
-rw-r--r--engines/fullpipe/scenes.cpp4
-rw-r--r--engines/fullpipe/scenes.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp
index 11d32d4b77..34a8de6b11 100644
--- a/engines/fullpipe/scenes.cpp
+++ b/engines/fullpipe/scenes.cpp
@@ -682,7 +682,6 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
_updateCursorCallback = scene21_updateCursor;
break;
-#if 0
case SC_22:
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_22");
scene->preloadMovements(sceneVar);
@@ -690,11 +689,12 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
_behaviorManager->initBehavior(scene, sceneVar);
scene->initObjectCursors("SC_22");
setSceneMusicParameters(sceneVar);
- scene22_sub_4228A0();
+ scene22_setBagState();
insertMessageHandler(sceneHandler22, 2, 2);
_updateCursorCallback = scene22_updateCursor;
break;
+#if 0
case SC_23:
sceneVar = _gameLoader->_gameVar->getSubVarByName("SC_23");
scene->preloadMovements(sceneVar);
diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h
index 72103fda87..7852d969db 100644
--- a/engines/fullpipe/scenes.h
+++ b/engines/fullpipe/scenes.h
@@ -108,6 +108,11 @@ int scene21_updateCursor();
void scene21_initScene(Scene *sc);
int sceneHandler21(ExCommand *cmd);
+void scene22_initScene(Scene *sc);
+void scene22_setBagState();
+int sceneHandler22(ExCommand *cmd);
+int scene22_updateCursor();
+
void scene24_initScene(Scene *sc);
void scene24_setPoolState();
int sceneHandler24(ExCommand *cmd);