aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-27 23:49:00 +0200
committerEugene Sandulenko2013-12-27 23:49:00 +0200
commit183df043aeff7f1bbcd34238b76eb5782ca3c304 (patch)
tree056e75e3d6d9086f78f606bb042f476f932b97d8 /engines/fullpipe
parent2136644348e7984bce31bf3a867e96c5544367d4 (diff)
downloadscummvm-rg350-183df043aeff7f1bbcd34238b76eb5782ca3c304.tar.gz
scummvm-rg350-183df043aeff7f1bbcd34238b76eb5782ca3c304.tar.bz2
scummvm-rg350-183df043aeff7f1bbcd34238b76eb5782ca3c304.zip
FULLPIPE: Implement sceneHandler11_sub09()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene11.cpp13
2 files changed, 14 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 69d9352e81..d3ff241b03 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -501,6 +501,7 @@ namespace Fullpipe {
#define MSG_SC11_RESTARTMAN 1133
#define MSG_SC11_SHOWSWING 1124
#define MSG_SC11_SITSWINGER 5198
+#define MV_KCH_MOVE2 1099
#define MV_KCH_START 1121
#define MV_MAN11_SWING_0 1109
#define MV_MAN11_SWING_1 1111
@@ -513,6 +514,7 @@ namespace Fullpipe {
#define ST_BTS11_2 2707
#define ST_BTS11_ONE 2706
#define ST_KCH_0 1096
+#define ST_KCH_EMPTY 1132
#define ST_KCH_STATIC 1122
#define ST_MAN11_EMPTY 1110
#define ST_SWR_SIT 1147
diff --git a/engines/fullpipe/scenes/scene11.cpp b/engines/fullpipe/scenes/scene11.cpp
index 50f3e935e5..67d453465f 100644
--- a/engines/fullpipe/scenes/scene11.cpp
+++ b/engines/fullpipe/scenes/scene11.cpp
@@ -305,7 +305,18 @@ void sceneHandler11_sub08() {
}
void sceneHandler11_sub09() {
- warning("STUB: sceneHandler11_sub09()");
+ if (g_vars->scene11_var17)
+ sceneHandler11_swing0();
+
+ g_vars->scene11_dudeOnSwing->stopAnim_maybe();
+ g_vars->scene11_dudeOnSwing->hide();
+ g_vars->scene11_dudeOnSwing = g_fp->_currentScene->getStaticANIObject1ById(ANI_KACHELI, -1);
+ g_vars->scene11_dudeOnSwing->show1(-1, -1, -1, 0);
+ g_vars->scene11_dudeOnSwing->changeStatics2(ST_KCH_EMPTY);
+ g_vars->scene11_dudeOnSwing->startAnim(MV_KCH_MOVE2, 0, -1);
+ g_vars->scene11_dudeOnSwing->_movement->setDynamicPhaseIndex(g_vars->scene11_dudeOnSwing->_movement->_currDynamicPhaseIndex);
+
+ g_vars->scene11_var12 = 1.9881250;
}
void sceneHandler11_winArcade() {