aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-07 20:37:10 +0200
committerEugene Sandulenko2014-02-08 00:21:17 +0200
commit085c53b0ec75f8f68ff2634c62ea0f08c5e78340 (patch)
tree4b69777251161099aa4472f093282da582aace1a /engines
parentb39086861e2303c99c4c62a711993bcbf700b25c (diff)
downloadscummvm-rg350-085c53b0ec75f8f68ff2634c62ea0f08c5e78340.tar.gz
scummvm-rg350-085c53b0ec75f8f68ff2634c62ea0f08c5e78340.tar.bz2
scummvm-rg350-085c53b0ec75f8f68ff2634c62ea0f08c5e78340.zip
FULLPIPE: Implement sceneHandler27_maidSwitchback()
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene27.cpp5
2 files changed, 5 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 451cc9caf7..4d63031153 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -1108,6 +1108,7 @@ namespace Fullpipe {
#define QU_DRV_PUSHBUTTON 2056
#define QU_DRV_PUSHBUTTON_NOVENT 4578
#define QU_MID_CLEANVENT 4583
+#define QU_MID_SWITCHBACK 2044
#define QU_SC27_RESTARTBETS 3370
#define QU_SC27_SHOWBET 3368
#define SND_27_026 4127
diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp
index ba18c906fc..20e6850721 100644
--- a/engines/fullpipe/scenes/scene27.cpp
+++ b/engines/fullpipe/scenes/scene27.cpp
@@ -458,7 +458,10 @@ void sceneHandler27_driverPushButton() {
}
void sceneHandler27_maidSwitchback() {
- warning("STUB: sceneHandler27_maidSwitchback()");
+ if (g_fp->getObjectState(sO_Maid) == g_fp->getObjectEnumState(sO_Maid, sO_WithSwab)) {
+ g_vars->scene27_maid->changeStatics2(ST_MID_SWAB);
+ g_vars->scene27_maid->startMQIfIdle(QU_MID_SWITCHBACK, 1);
+ }
}
void sceneHandler27_batLogic() {