diff options
author | Eugene Sandulenko | 2013-12-02 22:07:45 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-02 22:07:45 +0200 |
commit | dc367d11e9dde463a8a48246e47f6650d205a7e1 (patch) | |
tree | b802ea8f2f0a152c9d7c52c5553e8d1ab6ca4d7e /engines | |
parent | 73ec0a71ab022e5aeb3f54f4604aeee0ae7e6b74 (diff) | |
download | scummvm-rg350-dc367d11e9dde463a8a48246e47f6650d205a7e1.tar.gz scummvm-rg350-dc367d11e9dde463a8a48246e47f6650d205a7e1.tar.bz2 scummvm-rg350-dc367d11e9dde463a8a48246e47f6650d205a7e1.zip |
FULLPIPE: Started implementation of sceneHandler04_sub17()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene04.cpp | 22 |
2 files changed, 24 insertions, 0 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 76739b6632..b7ab84e191 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -184,6 +184,8 @@ namespace Fullpipe { #define PIC_SC4_MASK 585 #define PIC_SC4_PLANK 5183 #define PIC_SCD_SEL 734 +#define QU_BALL_WALKL 4920 +#define QU_BALL_WALKR 4919 #define QU_EGTR_MD2_SHOW 4698 #define QU_EGTR_MD1_SHOW 4697 #define QU_EGTR_SLIMSHOW 4883 diff --git a/engines/fullpipe/scenes/scene04.cpp b/engines/fullpipe/scenes/scene04.cpp index 7f6ac8e74b..311bf86fc8 100644 --- a/engines/fullpipe/scenes/scene04.cpp +++ b/engines/fullpipe/scenes/scene04.cpp @@ -448,6 +448,28 @@ void sceneHandler04_sub15() { } void sceneHandler04_sub17() { +#if 0 + StaticANIObject *ball = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_BIGBALL, -1); + + if (g_vars->scene04_var01 + && (!ball || !(ball->_flags & 4)) + && g_vars->scene04_ladder->collisionDetection(g_fullpipe->_aniMan) > 3) { + + if (!g_fullpipe->_rnd->getRandomNumber(49)) { + if (g_vars->scene04_var15) + chainQueue(QU_BALL_WALKR, 0); + else + chainQueue(QU_BALL_WALKL, 0); + + g_vars->scene04_var15 = !g_vars->scene04_var15; + + sceneHandler04_checkBigBallClick(); + + g_vars->scene04_var14 = 0; + } + } +#endif + warning("sceneHandler04_sub17()"); } |