aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-03 21:27:36 +0200
committerEugene Sandulenko2014-02-03 21:27:36 +0200
commit5d99d91fb022e25ff93f23daf59a318d02a01bf9 (patch)
tree2b546d75895e3fc987954a5df0aeb2aae73a12e7
parent75a6aec6a1d18ec818722602c347cc25babaf7d8 (diff)
downloadscummvm-rg350-5d99d91fb022e25ff93f23daf59a318d02a01bf9.tar.gz
scummvm-rg350-5d99d91fb022e25ff93f23daf59a318d02a01bf9.tar.bz2
scummvm-rg350-5d99d91fb022e25ff93f23daf59a318d02a01bf9.zip
FULLPIPE: Implement sceneHandler27_driverGiveVent()
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene27.cpp10
2 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 561c1af20f..b5b60d4451 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -1098,8 +1098,10 @@ namespace Fullpipe {
#define MV_MAN27_FLOW 1990
#define MV_MAN27_THROWBET 1989
#define PIC_SC27_HITZONE2 4756
+#define QU_DRV_GIVEVENT 2040
#define SND_27_027 4128
#define SND_27_044 4687
+#define ST_DRV_VENT 1996
#define ST_MID_BROOM 2022
#define ST_MID_SPADE 3489
#define ST_MID_SWAB2 2019
diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp
index 05d67259cc..6110e7c425 100644
--- a/engines/fullpipe/scenes/scene27.cpp
+++ b/engines/fullpipe/scenes/scene27.cpp
@@ -158,7 +158,15 @@ int scene27_updateCursor() {
}
void sceneHandler27_driverGiveVent() {
- warning("STUB: sceneHandler27_driverGiveVent()");
+ g_vars->scene27_driver->changeStatics2(ST_DRV_VENT);
+ g_vars->scene27_driver->startMQIfIdle(QU_DRV_GIVEVENT, 1);
+
+ g_vars->scene27_var15 = 0;
+
+ getCurrSceneSc2MotionController()->setEnabled();
+ getGameLoaderInteractionController()->enableFlag24();
+
+ g_fp->_behaviorManager->setFlagByStaticAniObject(g_fp->_aniMan, 1);
}
void sceneHandler27_winArcade() {