aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-31 21:15:38 +0200
committerEugene Sandulenko2013-12-31 21:16:10 +0200
commit9d5f46c3660465f845f64b9e2643fdba79943c4d (patch)
treec80a57bf76fb12d23f7aa18baea220e4d50eeb05 /engines
parent0b2800f76420f74a50a881426304acc46924d013 (diff)
downloadscummvm-rg350-9d5f46c3660465f845f64b9e2643fdba79943c4d.tar.gz
scummvm-rg350-9d5f46c3660465f845f64b9e2643fdba79943c4d.tar.bz2
scummvm-rg350-9d5f46c3660465f845f64b9e2643fdba79943c4d.zip
FULLPIPE: Implement sceneHandler14_showBallGrandmaHit()
Diffstat (limited to 'engines')
-rw-r--r--engines/fullpipe/constants.h1
-rw-r--r--engines/fullpipe/scenes/scene14.cpp22
2 files changed, 22 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index a2e258658b..5cfcc57dc5 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -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
diff --git a/engines/fullpipe/scenes/scene14.cpp b/engines/fullpipe/scenes/scene14.cpp
index 96d66e8676..96abf3538d 100644
--- a/engines/fullpipe/scenes/scene14.cpp
+++ b/engines/fullpipe/scenes/scene14.cpp
@@ -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() {