Skip to content

Commit

Permalink
FULLPIPE: More code to scene14
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 31, 2013
1 parent 5391fa7 commit 784d105
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 5 deletions.
2 changes: 2 additions & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -599,7 +599,9 @@ namespace Fullpipe {
#define MV_BAL14_FALL 1258
#define MV_BAL14_SPIN 1247
#define MV_BAL14_TOGMA 3214
#define MV_GMA_THROW 1232
#define MV_MAN14_DECLINE 1239
#define MV_MAN14_FALL 1236
#define MV_MAN14_KICK 1237
#define MV_MAN14_KICKAIR 1256
#define MV_MAN14_STEPFW 1240
Expand Down
32 changes: 27 additions & 5 deletions engines/fullpipe/scenes/scene14.cpp
Expand Up @@ -409,7 +409,19 @@ bool sceneHandler14_sub04(ExCommand *cmd) {
}

void sceneHandler14_sub08() {
warning("STUB: sceneHandler14_sub08()");
g_vars->scene14_grandma->changeStatics2(ST_GMA_SIT);

MessageQueue *mq = new MessageQueue;
ExCommand *ex = new ExCommand(ANI_GRANDMA, 2, 30, 0, 0, 0, 1, 0, 0, 0);

ex->_excFlags |= 2;
mq->addExCommandToEnd(ex);

ex = new ExCommand(ANI_GRANDMA, 1, MV_GMA_THROW, 0, 0, 0, 1, 0, 0, 0);
ex->_excFlags |= 2;
mq->addExCommandToEnd(ex);

mq->chain(0);
}

void sceneHandler14_sub07() {
Expand All @@ -436,14 +448,24 @@ void sceneHandler14_sub07() {
sceneHandler14_sub08();
}

void sceneHandler14_sub09() {
warning("STUB: sceneHandler14_sub09()");
}

void sceneHandler14_sub10() {
warning("STUB: sceneHandler14_sub10()");
}

void sceneHandler14_sub09() {
if (!g_fp->_aniMan->_movement || g_fp->_aniMan->_movement->_id != MV_MAN14_FALL) {
sceneHandler14_sub06();

g_fp->_aniMan->changeStatics2(ST_MAN_RIGHT|0x4000);
g_fp->_aniMan->startAnim(MV_MAN14_FALL, 0, -1);
g_vars->scene14_var10->stopAnim_maybe();
g_vars->scene14_var10->hide();

sceneHandler14_sub10();
}
++g_vars->scene14_var24;
}

void sceneHandler14_sub11() {
warning("STUB: sceneHandler14_sub11()");
}
Expand Down

0 comments on commit 784d105

Please sign in to comment.