aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-03-09 00:25:50 +0200
committerEugene Sandulenko2014-03-09 00:26:04 +0200
commitbcc43d033a691b12b29d77b3d51c49e087492152 (patch)
treef075bdfe85024e98fe0e76ca62d2a632c977404b
parent0c247b26b42ff3552eeeaced5a2f59fe520a213c (diff)
downloadscummvm-rg350-bcc43d033a691b12b29d77b3d51c49e087492152.tar.gz
scummvm-rg350-bcc43d033a691b12b29d77b3d51c49e087492152.tar.bz2
scummvm-rg350-bcc43d033a691b12b29d77b3d51c49e087492152.zip
FULLPIPE: Implement sceneHandler18and19_showBoyJumpTo()
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene18and19.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index 3c35f76c04..b919ccdcb9 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -888,6 +888,7 @@ namespace Fullpipe {
#define MSG_SC18_SHOWMANJUMP 1510
#define MSG_SC18_SHOWMANJUMPTO 1508
#define MV_BOY18_JUMPTO 1481
+#define MV_KSL_INBOY 1491
#define MV_KSL_INGIRL 1493
#define MV_KSL_INMAN 1504
#define MV_KSL_SWING 1460
@@ -901,6 +902,7 @@ namespace Fullpipe {
#define PIC_SC18_RTRUBA 1520
#define SND_18_006 3906
#define SND_18_010 4994
+#define ST_KSL_JUMPBOY 1492
#define ST_KSL_JUMPGIRL 1494
#define ST_KSL_JUMPMAN 1505
diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp
index 9623f20eb2..8c03a8e078 100644
--- a/engines/fullpipe/scenes/scene18and19.cpp
+++ b/engines/fullpipe/scenes/scene18and19.cpp
@@ -411,6 +411,7 @@ void sceneHandler18_showManJumpTo() {
void sceneHandler18and19_showGirlJumpTo() {
g_vars->scene18_girl->stopAnim_maybe();
g_vars->scene18_girl->hide();
+
g_vars->scene18_var07[g_vars->scene18_var33]->sflags = 4;
g_vars->scene18_var07[g_vars->scene18_var33]->ani->changeStatics2(ST_KSL_JUMPGIRL);
@@ -425,7 +426,15 @@ void sceneHandler18and19_showGirlJump() {
}
void sceneHandler18and19_showBoyJumpTo() {
- warning("STUB: sceneHandler18and19_showBoyJumpTo()");
+ g_vars->scene18_boy->stopAnim_maybe();
+ g_vars->scene18_boy->hide();
+
+ g_vars->scene18_var07[g_vars->scene18_var33]->sflags = 2;
+ g_vars->scene18_var07[g_vars->scene18_var33]->ani->changeStatics2(ST_KSL_JUMPBOY);
+ g_vars->scene18_var07[g_vars->scene18_var33]->ani->startAnim(MV_KSL_INBOY, 0, -1);
+
+ g_vars->scene18_var23--;
+ g_vars->scene18_var24--;
}
void sceneHandler18and19_showBoyJump() {