FULLPIPE: Implement sceneHandler14_showBallGrandmaHit()

This commit is contained in:
Eugene Sandulenko 2013-12-31 21:15:38 +02:00
parent 0b2800f764
commit 9d5f46c366
2 changed files with 22 additions and 1 deletions

View File

@ -597,6 +597,7 @@ namespace Fullpipe {
#define MSG_SC14_SHOWBALLMAN 1254
#define MSG_SC14_STARTARCADE 3252
#define MV_BAL14_SPIN 1247
#define MV_BAL14_TOGMA 3214
#define MV_MAN14_KICK 1237
#define MV_MAN14_STEPFW 1240
#define PIC_SC14_RTRUBA 1221

View File

@ -137,7 +137,27 @@ void sceneHandler14_showBallGrandmaDive() {
}
void sceneHandler14_showBallGrandmaHit() {
warning("STUB: sceneHandler14_showBallGrandmaHit()");
if (g_vars->scene14_var10) {
g_vars->scene14_var10->show1(g_vars->scene14_var16 + 190, g_vars->scene14_var17 + 56, MV_BAL14_TOGMA, 0);
g_vars->scene14_var10->_priority = 27;
MessageQueue *mq = new MessageQueue(g_fp->_globalMessageQueueList->compact());
ExCommand *ex = new ExCommand(ANI_BALL14, 1, MV_BAL14_TOGMA, 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;
}
}
void sceneHandler14_showBallMan() {