aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-22 12:13:25 +0200
committerEugene Sandulenko2013-12-22 12:13:25 +0200
commit24ca8ed2e76ca98b6704fb2c3514765af7b01051 (patch)
tree504074e110d786aa480dd52765c03b6a9c030b5a
parent535d7823b0a94352ec715910709807265c49b860 (diff)
downloadscummvm-rg350-24ca8ed2e76ca98b6704fb2c3514765af7b01051.tar.gz
scummvm-rg350-24ca8ed2e76ca98b6704fb2c3514765af7b01051.tar.bz2
scummvm-rg350-24ca8ed2e76ca98b6704fb2c3514765af7b01051.zip
FULLPIPE: Implement sceneHandler08_enterUp()
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene08.cpp11
2 files changed, 11 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 77968b68b5..9791aca8fb 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -333,6 +333,7 @@ namespace Fullpipe {
#define QU_SC6_FALLBALL 2690
#define QU_SC6_SHOWHANDLE 1689
#define QU_SC6_SHOWNEXTBALL 2689
+#define QU_SC8_FINISH 788
#define QU_SC8_STANDUP 2975
#define QU_SC10_ENTERLIFT 1067
#define QU_SC10_EXITLIFT 2809
diff --git a/engines/fullpipe/scenes/scene08.cpp b/engines/fullpipe/scenes/scene08.cpp
index c48fa72930..e636b07df3 100644
--- a/engines/fullpipe/scenes/scene08.cpp
+++ b/engines/fullpipe/scenes/scene08.cpp
@@ -131,7 +131,16 @@ int scene08_updateCursor() {
}
void sceneHandler08_enterUp() {
- warning("STUB: sceneHandler08_enterUp()");
+ g_fp->_currentScene->getPictureObjectById(PIC_SC8_LADDER, 0)->_flags &= 0xFFFB;
+
+ g_fp->_aniMan->changeStatics2(ST_MAN8_HANDSUP);
+ g_fp->_aniMan->setOXY(386, 236);
+ g_fp->_aniMan->_priority = 10;
+ g_fp->_aniMan->_flags = 4;
+
+ chainObjQueue(g_fp->_aniMan, QU_SC8_FINISH, 1);
+
+ g_vars->scene08_var01 = 0;
}
void sceneHandler08_winArcade() {