diff options
author | Eugene Sandulenko | 2014-03-10 23:19:00 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-03-10 23:19:17 +0200 |
commit | c548b3cb548dfc14257bdb1f0e5f29686f599632 (patch) | |
tree | e75fd4120c073e544bc50d39a79a32ab02df4459 /engines/fullpipe | |
parent | e1b3130f439ecb8e296df6da3ce4fcecf4633398 (diff) | |
download | scummvm-rg350-c548b3cb548dfc14257bdb1f0e5f29686f599632.tar.gz scummvm-rg350-c548b3cb548dfc14257bdb1f0e5f29686f599632.tar.bz2 scummvm-rg350-c548b3cb548dfc14257bdb1f0e5f29686f599632.zip |
FULLPIPE: Implement sceneHandler18and19_showGirlJump()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/constants.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene18and19.cpp | 23 |
2 files changed, 23 insertions, 1 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index dae6b30839..62f344e6dd 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -889,6 +889,7 @@ namespace Fullpipe { #define MSG_SC18_SHOWMANJUMPTO 1508 #define MV_BOY18_JUMPFROM 1478 #define MV_BOY18_JUMPTO 1481 +#define MV_GRL18_JUMPFROM 1485 #define MV_GRL18_JUMPTO 1488 #define MV_KSL_CALMDOWN 1476 #define MV_KSL_INBOY 1491 diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp index 5e5d128c5b..431470b738 100644 --- a/engines/fullpipe/scenes/scene18and19.cpp +++ b/engines/fullpipe/scenes/scene18and19.cpp @@ -425,7 +425,28 @@ void sceneHandler18and19_showGirlJumpTo() { } void sceneHandler18and19_showGirlJump() { - warning("STUB: sceneHandler18and19_showGirlJump()"); + StaticANIObject *ani = g_vars->scene18_var07[g_vars->scene18_var32]->ani; + int x, y; + + if (ani->_movement) { + x = ani->_movement->_ox; + y = ani->_movement->_oy; + } else { + x = ani->_ox; + y = ani->_oy; + } + + g_vars->scene18_girl->show1(x - 62, y - 10, MV_GRL18_JUMPFROM, 0); + g_vars->scene18_girl->_priority = 50; + g_vars->scene18_girl->startAnim(MV_GRL18_JUMPFROM, 0, -1); + + g_vars->scene18_var07[g_vars->scene18_var32]->sflags = 1; + + g_vars->scene18_var07[g_vars->scene18_var32]->ani->changeStatics2(ST_KSL_REACT); + g_vars->scene18_var07[g_vars->scene18_var32]->ani->startAnim(MV_KSL_CALMDOWN, 0, -1); + + g_vars->scene18_var23 = 1; + g_vars->scene18_var25++; } void sceneHandler18and19_showBoyJumpTo() { |