aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-17 10:08:20 +0200
committerEugene Sandulenko2013-12-17 10:08:20 +0200
commitbdd9931357bc7623c17d0fa606b2c854be771b64 (patch)
treeaebc181a79d3d70a076e52f6a8dc6969d4b6f11a /engines
parent16194e227f9bef26240b8ecd3cfc604e8bc84c19 (diff)
downloadscummvm-rg350-bdd9931357bc7623c17d0fa606b2c854be771b64.tar.gz
scummvm-rg350-bdd9931357bc7623c17d0fa606b2c854be771b64.tar.bz2
scummvm-rg350-bdd9931357bc7623c17d0fa606b2c854be771b64.zip
FULLPIPE: Implement sceneHandler06_enableDrops()
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/constants.h3
-rw-r--r--engines/fullpipe/scenes/scene06.cpp15
2 files changed, 17 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 1729c5acbf..3d9b0bad53 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -253,6 +253,7 @@ namespace Fullpipe {
#define QU_KOZAW_WALK 505
#define QU_MOM_JUMPBK 671
#define QU_MOM_JUMPFW 670
+#define QU_MOM_STANDUP 2899
#define QU_PNK_CLICK 550
#define QU_SC3_ENTERLIFT 2779
#define QU_SC3_EXITLIFT 2808
@@ -261,6 +262,7 @@ namespace Fullpipe {
#define QU_SC4_MANTOBOTTLE 2850
#define QU_SC5_MANBUMP 1167
#define QU_SC5_MANFLY 1168
+#define QU_SC6_DROPS 2898
#define QU_SC6_ENTERLIFT 1054
#define QU_SC6_EXITLIFT 1055
#define SC_1 301
@@ -369,6 +371,7 @@ namespace Fullpipe {
#define ST_MAN_STANDLADDER 453
#define ST_MAN_UP 449
#define ST_MAN6_BALL 2688
+#define ST_MOM_SITS 659
#define ST_MOM_STANDS 658
#define ST_NBL_NORM 1076
#define ST_OTM_BOX_LEFT 429
diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp
index 76f61ff894..a8ce227ca0 100644
--- a/engines/fullpipe/scenes/scene06.cpp
+++ b/engines/fullpipe/scenes/scene06.cpp
@@ -77,7 +77,20 @@ void sceneHandler06_winArcade() {
}
void sceneHandler06_enableDrops() {
- warning("STUB: sceneHandler06_enableDrops()");
+ chainQueue(QU_SC6_DROPS, 0);
+
+ g_vars->scene06_mumsy->changeStatics2(ST_MOM_SITS);
+ g_fullpipe->setObjectState(sO_BigMumsy, g_fullpipe->getObjectEnumState(sO_BigMumsy, sO_IsPlaying));
+
+ chainQueue(QU_MOM_STANDUP, 1);
+
+ g_vars->scene06_var07 = 1;
+ g_vars->scene06_var12 = 0;
+ g_vars->scene06_mumsyPos = 0;
+ g_vars->scene06_var13 = 0;
+ g_vars->scene06_var16 = 0;
+
+ sceneHandler06_setExits(g_fullpipe->_currentScene);
}
void sceneHandler06_sub01() {