Skip to content

Commit

Permalink
FULLPIPE: Implement sceneHandler_sub07()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 31, 2013
1 parent d7dac60 commit 5391fa7
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
1 change: 1 addition & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -596,6 +596,7 @@ namespace Fullpipe {
#define MSG_SC14_SHOWBALLLAST 3246
#define MSG_SC14_SHOWBALLMAN 1254
#define MSG_SC14_STARTARCADE 3252
#define MV_BAL14_FALL 1258
#define MV_BAL14_SPIN 1247
#define MV_BAL14_TOGMA 3214
#define MV_MAN14_DECLINE 1239
Expand Down
28 changes: 24 additions & 4 deletions engines/fullpipe/scenes/scene14.cpp
Expand Up @@ -408,14 +408,34 @@ bool sceneHandler14_sub04(ExCommand *cmd) {
return false;
}

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

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

void sceneHandler14_sub07() {
g_vars->scene14_var10->stopAnim_maybe();
g_vars->scene14_var10->_priority = 27;

MessageQueue *mq = new MessageQueue(g_fp->_globalMessageQueueList->compact());
ExCommand *ex = new ExCommand(ANI_BALL14, 1, MV_BAL14_FALL, 0, 0, 0, 1, 0, 0, 0);

ex->_keyCode = g_vars->scene14_var10->_okeyCode;
ex->_excFlags |= 2;
ex->_field_24 = 1;
mq->addExCommandToEnd(ex);

ex = new ExCommand(ANI_BALL14, 6, 0, 0, 0, 0, 1, 0, 0, 0);
ex->_keyCode = g_vars->scene14_var10->_okeyCode;
ex->_excFlags |= 3;
mq->addExCommandToEnd(ex);
mq->chain(0);

g_vars->scene14_var11.push_back(g_vars->scene14_var10);
g_vars->scene14_var10 = 0;

sceneHandler14_sub08();
}

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

0 comments on commit 5391fa7

Please sign in to comment.