aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-13 22:47:28 +0200
committerEugene Sandulenko2014-02-13 22:47:28 +0200
commit14590b4c686b32f800c69419cc7b28a2294a5fc8 (patch)
treee93484f72895f0b4f3e075a8841185ca9fb58267 /engines/fullpipe
parent3bda1761447f635048c186018171c4336925ca17 (diff)
downloadscummvm-rg350-14590b4c686b32f800c69419cc7b28a2294a5fc8.tar.gz
scummvm-rg350-14590b4c686b32f800c69419cc7b28a2294a5fc8.tar.bz2
scummvm-rg350-14590b4c686b32f800c69419cc7b28a2294a5fc8.zip
FULLPIPE: Implement sceneHandler09_winArcade()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene09.cpp10
2 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 05c917f706..6fb8e65593 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -599,10 +599,12 @@ namespace Fullpipe {
#define MSG_SC9_SHOWBALL 936
#define MSG_SC9_STARTTIOTIA 4942
#define MSG_SC9_TOLADDER 4206
+#define MV_GLT_FLYAWAY 931
#define MV_MAN9_SHOOT 922
#define MV_VSN_CYCLE2 2987
#define PIC_SC9_LADDER_R 2700
#define SND_9_018 4200
+#define ST_GLT_SIT 926
#define ST_GRT9_GRIT 2722
#define ST_GRT9_NORM 2721
#define ST_VSN_NORMAL 906
diff --git a/engines/fullpipe/scenes/scene09.cpp b/engines/fullpipe/scenes/scene09.cpp
index 1796d77b2d..c0d68f9fda 100644
--- a/engines/fullpipe/scenes/scene09.cpp
+++ b/engines/fullpipe/scenes/scene09.cpp
@@ -238,7 +238,15 @@ int scene09_updateCursor() {
}
void sceneHandler09_winArcade() {
- warning("STUB: sceneHandler09_winArcade()");
+ if (g_vars->scene09_glotatel->_flags & 4) {
+ g_vars->scene09_glotatel->changeStatics2(ST_GLT_SIT);
+ g_vars->scene09_glotatel->startAnim(MV_GLT_FLYAWAY, 0, -1);
+
+ g_fp->setObjectState(sO_Jug, g_fp->getObjectEnumState(sO_Jug, sO_Unblocked));
+ g_fp->setObjectState(sO_RightStairs_9, g_fp->getObjectEnumState(sO_RightStairs_9, sO_IsOpened));
+
+ g_vars->scene09_var08 = 0;
+ }
}
void sceneHandler09_startAuntie() {