Skip to content

Commit

Permalink
FULLPIPE: Implement sceneHandler14_sub10()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 31, 2013
1 parent 784d105 commit 07dfc79
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 1 addition & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -599,6 +599,7 @@ namespace Fullpipe {
#define MV_BAL14_FALL 1258
#define MV_BAL14_SPIN 1247
#define MV_BAL14_TOGMA 3214
#define MV_GMA_JUMPFW 1230
#define MV_GMA_THROW 1232
#define MV_MAN14_DECLINE 1239
#define MV_MAN14_FALL 1236
Expand Down
23 changes: 22 additions & 1 deletion engines/fullpipe/scenes/scene14.cpp
Expand Up @@ -449,7 +449,28 @@ void sceneHandler14_sub07() {
}

void sceneHandler14_sub10() {
warning("STUB: sceneHandler14_sub10()");
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_JUMPFW, 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);

g_vars->scene14_var18 += 71;
g_fp->_currentScene->_x = 71;

g_fp->_aniMan2 = g_fp->_aniMan;
}

void sceneHandler14_sub09() {
Expand Down

0 comments on commit 07dfc79

Please sign in to comment.