FULLPIPE: Implement sceneHandler18and19_showBoyJumpTo()

This commit is contained in:
Eugene Sandulenko 2014-03-09 00:25:50 +02:00
parent 0c247b26b4
commit bcc43d033a
2 changed files with 12 additions and 1 deletions

View File

@ -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

View File

@ -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() {