From e752d38ac15360e78dd051e877785d6cc90fdcf6 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 8 Mar 2014 00:21:39 +0200 Subject: FULLPIPE: Implement sceneHandler18and19_showGirlJumpTo() --- engines/fullpipe/constants.h | 2 ++ engines/fullpipe/scenes.cpp | 1 + engines/fullpipe/scenes.h | 1 + engines/fullpipe/scenes/scene18and19.cpp | 10 +++++++++- 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 33ae1e524a..3c35f76c04 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_INGIRL 1493 #define MV_KSL_INMAN 1504 #define MV_KSL_SWING 1460 #define MV_KSL_SWINGBOY 1462 @@ -900,6 +901,7 @@ namespace Fullpipe { #define PIC_SC18_RTRUBA 1520 #define SND_18_006 3906 #define SND_18_010 4994 +#define ST_KSL_JUMPGIRL 1494 #define ST_KSL_JUMPMAN 1505 // Scene 19 diff --git a/engines/fullpipe/scenes.cpp b/engines/fullpipe/scenes.cpp index 1c6369341a..09015937a5 100644 --- a/engines/fullpipe/scenes.cpp +++ b/engines/fullpipe/scenes.cpp @@ -290,6 +290,7 @@ Vars::Vars() { scene18_var25 = 0; scene18_var26 = 1; scene18_var27 = -1; + scene18_var33 = 0; scene18_var13 = -1; scene18_var14 = -1; scene18_var28 = 0; diff --git a/engines/fullpipe/scenes.h b/engines/fullpipe/scenes.h index 30306fa9ab..7d67aab61d 100644 --- a/engines/fullpipe/scenes.h +++ b/engines/fullpipe/scenes.h @@ -494,6 +494,7 @@ public: int scene18_var25; int scene18_var26; int scene18_var27; + int scene18_var33; int scene18_var13; int scene18_var14; int scene18_var28; diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp index ea816bb5d1..9623f20eb2 100644 --- a/engines/fullpipe/scenes/scene18and19.cpp +++ b/engines/fullpipe/scenes/scene18and19.cpp @@ -409,7 +409,15 @@ void sceneHandler18_showManJumpTo() { } void sceneHandler18and19_showGirlJumpTo() { - warning("STUB: 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); + g_vars->scene18_var07[g_vars->scene18_var33]->ani->startAnim(MV_KSL_INGIRL, 0, -1); + + g_vars->scene18_var23--; + g_vars->scene18_var25--; } void sceneHandler18and19_showGirlJump() { -- cgit v1.2.3