Skip to content

Commit

Permalink
FULLPIPE: Started implementation of sceneHandler04_sub17()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 2, 2013
1 parent 73ec0a7 commit dc367d1
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions engines/fullpipe/scenes/scene04.cpp
Expand Up @@ -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()");
}

Expand Down

0 comments on commit dc367d1

Please sign in to comment.