From a3db3230b22b359d9d4ec2b331bf91850f50eb3e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Thu, 6 Mar 2014 22:55:35 +0200 Subject: [PATCH] FULLPIPE: Implement sceneHandler18and19_boyJumpTo() --- engines/fullpipe/constants.h | 1 + engines/fullpipe/scenes/scene18and19.cpp | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 60349c9cd4b..33ae1e524ab 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -887,6 +887,7 @@ namespace Fullpipe { #define MSG_SC18_SHOWGIRLJUMPTO 1499 #define MSG_SC18_SHOWMANJUMP 1510 #define MSG_SC18_SHOWMANJUMPTO 1508 +#define MV_BOY18_JUMPTO 1481 #define MV_KSL_INMAN 1504 #define MV_KSL_SWING 1460 #define MV_KSL_SWINGBOY 1462 diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp index 1cc03995043..cc34cffb3cf 100644 --- a/engines/fullpipe/scenes/scene18and19.cpp +++ b/engines/fullpipe/scenes/scene18and19.cpp @@ -424,6 +424,13 @@ void sceneHandler18and19_showBoyJump() { warning("STUB: sceneHandler18and19_showBoyJump()"); } +void sceneHandler18and19_boyJumpTo() { + g_vars->scene18_boy->stopAnim_maybe(); + g_vars->scene18_boy->show1(g_vars->scene18_var29, g_vars->scene18_var30, MV_BOY18_JUMPTO, 0); + g_vars->scene18_boy->_priority = 50; + g_vars->scene18_boy->startAnim(MV_BOY18_JUMPTO, 0, -1); +} + void sceneHandler18and19_drawRiders() { warning("STUB: sceneHandler18and19_drawRiders()"); }