aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-07 02:10:26 +0200
committerEugene Sandulenko2014-01-07 02:20:59 +0200
commitd78e0cf98d08361d4a0797777e249a24aec34ca6 (patch)
tree60fad6450c1b00e14f66cdeca1f7b2f3d2b237f0
parentb433752ab5f050a3e9f3656c9c54d0cd42f1ff34 (diff)
downloadscummvm-rg350-d78e0cf98d08361d4a0797777e249a24aec34ca6.tar.gz
scummvm-rg350-d78e0cf98d08361d4a0797777e249a24aec34ca6.tar.bz2
scummvm-rg350-d78e0cf98d08361d4a0797777e249a24aec34ca6.zip
FULLPIPE: Implement sceneHandler28_startWork1()
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene28.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 46035822fc..50ca12bcdf 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -1014,6 +1014,7 @@ namespace Fullpipe {
#define PIC_SC28_DARK6 4271
#define QU_SC28_LIFT0_START 4676
#define QU_SC28_LIFT1_START 4254
+#define QU_SC28_LIFT1_WORK 4256
#define QU_SC28_LIFT2_START 4246
#define QU_SC28_LIFT3_START 4245
#define QU_SC28_LIFT5_START 4674
@@ -1021,6 +1022,7 @@ namespace Fullpipe {
#define QU_SC28_LIFT6_START 4243
#define QU_SC28_LIFT6_START2 4295
#define QU_SC28_WMN_START 3452
+#define ST_MAN28_RIGHT 4249
// Scene 30
#define ANI_LEG 2322
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp
index bc7b7d26cc..b6031f2c99 100644
--- a/engines/fullpipe/scenes/scene28.cpp
+++ b/engines/fullpipe/scenes/scene28.cpp
@@ -85,7 +85,16 @@ void sceneHandler28_turnOn2() {
}
void sceneHandler28_startWork1() {
- warning("STUB: sceneHandler28_startWork1()");
+ g_fp->_aniMan->hide();
+
+ StaticANIObject *man = g_fp->_currentScene->getStaticANIObject1ById(ANI_MAN_28, -1);
+
+ man->_statics = man->getStaticsById(ST_MAN28_RIGHT);
+ man->setOXY(g_fp->_aniMan->_ox, g_fp->_aniMan->_oy);
+ man->_priority = g_fp->_aniMan->_priority;
+ man->show1(-1, -1, -1, 0);
+
+ chainQueue(QU_SC28_LIFT1_WORK, 1);
}
void sceneHandler28_lift0Start() {