diff options
author | Eugene Sandulenko | 2013-12-23 00:04:43 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-23 00:39:27 +0200 |
commit | 80db7f7bde95c95893801fae9bd9cc1d98d03f84 (patch) | |
tree | 93b7641eec697787f757aca987b73e85d0c70d04 /engines/fullpipe/scenes/scene08.cpp | |
parent | d82218748a3cb5d4c01baf8bbded68a797abd8fa (diff) | |
download | scummvm-rg350-80db7f7bde95c95893801fae9bd9cc1d98d03f84.tar.gz scummvm-rg350-80db7f7bde95c95893801fae9bd9cc1d98d03f84.tar.bz2 scummvm-rg350-80db7f7bde95c95893801fae9bd9cc1d98d03f84.zip |
FULLPIPE: Implement sceneHandler08_startArcade()
Diffstat (limited to 'engines/fullpipe/scenes/scene08.cpp')
-rw-r--r-- | engines/fullpipe/scenes/scene08.cpp | 61 |
1 files changed, 41 insertions, 20 deletions
diff --git a/engines/fullpipe/scenes/scene08.cpp b/engines/fullpipe/scenes/scene08.cpp index 7c28e9dc64..45c7856648 100644 --- a/engines/fullpipe/scenes/scene08.cpp +++ b/engines/fullpipe/scenes/scene08.cpp @@ -175,8 +175,48 @@ void sceneHandler08_resumeFlight() { g_vars->scene08_var07 = 0; } +void sceneHandler08_calcOffset() { + warning("STUB: sceneHandler08_calcOffset()"); +} + +void sceneHandler08_pushCallback(int *par) { + warning("STUB: sceneHandler08_pushCallback()"); +} + +int sceneHandler08_updateScreenCallback() { + int res; + + res = g_fp->drawArcadeOverlay(g_vars->scene08_var06); + + if (!res) + g_fp->_updateScreenCallback = 0; + + return res; +} + void sceneHandler08_startArcade() { - warning("STUB: sceneHandler08_startArcade()"); + g_vars->scene08_var06 = 1; + g_vars->scene08_var01 = 1; + g_vars->scene08_var02 = 0; + g_vars->scene08_var03 = 0; + + getGameLoaderInteractionController()->disableFlag24(); + getCurrSceneSc2MotionController()->clearEnabled(); + + g_vars->scene08_batuta->stopAnim_maybe(); + + g_vars->scene08_vmyats->_statics = g_vars->scene08_vmyats->getStaticsById(ST_VMT_MIN); + g_vars->scene08_vmyats->setOXY(382, 703); + g_vars->scene08_vmyats->_priority = 29; + g_vars->scene08_vmyats->_callback2 = sceneHandler08_pushCallback; + + g_fp->_aniMan = g_fp->_currentScene->getStaticANIObject1ById(ANI_MAN, -1); + + g_vars->scene08_var08 = 15; + + g_fp->_currentScene->_y = 0; + + g_fp->_updateScreenCallback = sceneHandler08_updateScreenCallback; } void sceneHandler08_airMoves() { @@ -350,25 +390,6 @@ void sceneHandler08_checkEndArcade() { } } -void sceneHandler08_calcOffset() { - warning("STUB: sceneHandler08_calcOffset()"); -} - -void sceneHandler08_pushCallback(int *par) { - warning("STUB: sceneHandler08_pushCallback()"); -} - -int sceneHandler08_updateScreenCallback() { - int res; - - res = g_fp->drawArcadeOverlay(g_vars->scene08_var06); - - if (!res) - g_fp->_updateScreenCallback = 0; - - return res; -} - int sceneHandler08(ExCommand *cmd) { if (cmd->_messageKind != 17) return 0; |