Skip to content

Commit

Permalink
FULLPIPE: Implement sceneHandler29_manToL()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Mar 25, 2014
1 parent a300c38 commit d03ad2d
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -1305,6 +1305,7 @@ namespace Fullpipe {
#define PIC_SC29_LTRUBA 2081
#define QU_SC29_MANFROM_L 2101
#define QU_SC29_MANFROM_R 2104
#define QU_SC29_MANTO_L 2103
#define SND_29_028 4758
#define SND_29_029 4759
#define ST_ASS_NORM 2122
Expand Down
27 changes: 27 additions & 0 deletions engines/fullpipe/scenes/scene29.cpp
Expand Up @@ -243,6 +243,33 @@ void sceneHandler29_manFromR() {
g_vars->scene29_var12 = 0;
}

int sceneHandler29_updateScreenCallback() {
int res;

res = g_fp->drawArcadeOverlay(g_vars->scene29_var10);

if (!res)
g_fp->_updateScreenCallback = 0;

return res;
}

void sceneHandler29_manToL() {
getCurrSceneSc2MotionController()->clearEnabled();
getGameLoaderInteractionController()->disableFlag24();

chainQueue(QU_SC29_MANTO_L, 1);

g_vars->scene29_var10 = 1;

g_vars->scene29_mgm.addItem(g_fp->_aniMan->_id);

g_fp->_updateScreenCallback = sceneHandler29_updateScreenCallback;

g_fp->_msgY = -1;
g_fp->_msgX = -1;
}

void sceneHandler29_sub05() {
warning("STUB: sceneHandler29_sub05()");
}
Expand Down

0 comments on commit d03ad2d

Please sign in to comment.