aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-07 01:58:16 +0200
committerEugene Sandulenko2014-01-07 02:20:59 +0200
commit273e4bf6e88f7ce9e17fe375a81239f89106b038 (patch)
treeb3d09659962de9a873b694ab86f72d8c2107de17
parent03f1d8494f60c682e6237b9286c367e83179be36 (diff)
downloadscummvm-rg350-273e4bf6e88f7ce9e17fe375a81239f89106b038.tar.gz
scummvm-rg350-273e4bf6e88f7ce9e17fe375a81239f89106b038.tar.bz2
scummvm-rg350-273e4bf6e88f7ce9e17fe375a81239f89106b038.zip
FULLPIPE: Implement sceneHandler28_lift1ShowAfter()
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene28.cpp7
2 files changed, 7 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 5edeeb1ec8..bef369ec92 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -980,6 +980,7 @@ namespace Fullpipe {
// Scene 28
#define ANI_LIFT 982
#define ANI_LIFT_28 4238
+#define ANI_MAN_28 4247
#define MSG_SC28_CLICKLIFT 4258
#define MSG_SC28_ENDCABIN 3456
#define MSG_SC28_ENDLIFT1 4259
diff --git a/engines/fullpipe/scenes/scene28.cpp b/engines/fullpipe/scenes/scene28.cpp
index ad1325e268..d55cb3336c 100644
--- a/engines/fullpipe/scenes/scene28.cpp
+++ b/engines/fullpipe/scenes/scene28.cpp
@@ -64,7 +64,12 @@ int scene28_updateCursor() {
}
void sceneHandler28_lift1ShowAfter() {
- warning("STUB: sceneHandler28_lift1ShowAfter()");
+ StaticANIObject *ani = g_fp->_currentScene->getStaticANIObject1ById(ANI_MAN_28, -1);
+
+ g_fp->_aniMan->_statics = g_fp->_aniMan->getStaticsById(ST_MAN_SIT|0x4000);
+ g_fp->_aniMan->setOXY(ani->_ox + 7, ani->_oy);
+ g_fp->_aniMan->_priority = ani->_priority;
+ g_fp->_aniMan->show1(-1, -1, -1, 0);
}
void sceneHandler28_makeFaces(ExCommand *cmd) {