Skip to content

Commit

Permalink
FULLPIPE: Implement sceneHandler11_restartMan() and sceneHandler11_sh…
Browse files Browse the repository at this point in the history
…owSwing()
  • Loading branch information
sev- committed Dec 27, 2013
1 parent 3bbe32f commit 5297a43
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
3 changes: 3 additions & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -501,13 +501,16 @@ namespace Fullpipe {
#define MSG_SC11_RESTARTMAN 1133
#define MSG_SC11_SHOWSWING 1124
#define MSG_SC11_SITSWINGER 5198
#define MV_KCH_START 1121
#define MV_MAN11_SWING_0 1109
#define PIC_SC11_HINT 5170
#define QU_SC11_MANFALL 3017
#define QU_SC11_PUTBOOT1 2709
#define QU_SC11_PUTBOOT2 2710
#define QU_SC11_RESTARTMAN 1134
#define ST_BTS11_2 2707
#define ST_BTS11_ONE 2706
#define ST_KCH_0 1096
#define ST_KCH_STATIC 1122
#define ST_MAN11_EMPTY 1110
#define ST_SWR_SIT 1147
Expand Down
13 changes: 11 additions & 2 deletions engines/fullpipe/scenes/scene11.cpp
Expand Up @@ -146,7 +146,12 @@ void sceneHandler11_winArcade() {
}

void sceneHandler11_restartMan() {
warning("STUB: sceneHandler11_restartMan()");
chainObjQueue(0, QU_SC11_RESTARTMAN, 1);

getGameLoaderInteractionController()->enableFlag24();
getCurrSceneSc2MotionController()->setEnabled();

g_vars->scene11_var03 = 0;
}

void sceneHandler11_hitMan() {
Expand Down Expand Up @@ -240,7 +245,11 @@ void sceneHandler11_putBoot() {
}

void sceneHandler11_showSwing() {
warning("STUB: sceneHandler11_showSwing()");
g_vars->scene11_dudeOnSwing = g_fp->_currentScene->getStaticANIObject1ById(ANI_KACHELI, -1);
g_vars->scene11_dudeOnSwing->_statics = g_vars->scene11_dudeOnSwing->getStaticsById(ST_KCH_0);
g_vars->scene11_dudeOnSwing->_movement = 0;
g_vars->scene11_dudeOnSwing->show1(691, 371, MV_KCH_START, 0);
g_vars->scene11_dudeOnSwing->_priority = 20;
}

void sceneHandler11_sub01() {
Expand Down

0 comments on commit 5297a43

Please sign in to comment.