diff options
author | Eugene Sandulenko | 2014-03-08 00:21:39 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-03-08 00:22:00 +0200 |
commit | e752d38ac15360e78dd051e877785d6cc90fdcf6 (patch) | |
tree | 5e2ac7b41e2104b80d71da505071d0551710af71 | |
parent | 88aa12387f433009c0de686f080f4af112d381a1 (diff) | |
download | scummvm-rg350-e752d38ac15360e78dd051e877785d6cc90fdcf6.tar.gz scummvm-rg350-e752d38ac15360e78dd051e877785d6cc90fdcf6.tar.bz2 scummvm-rg350-e752d38ac15360e78dd051e877785d6cc90fdcf6.zip |
FULLPIPE: Implement sceneHandler18and19_showGirlJumpTo()
-rw-r--r-- | engines/fullpipe/constants.h | 2 | ||||
-rw-r--r-- | engines/fullpipe/scenes.cpp | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene18and19.cpp | 10 |
4 files changed, 13 insertions, 1 deletions
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() { |