diff options
author | Eugene Sandulenko | 2014-02-03 21:23:46 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-02-03 21:23:46 +0200 |
commit | 75a6aec6a1d18ec818722602c347cc25babaf7d8 (patch) | |
tree | 0719d759d06bc15accfe789d595b0a8d7c132b3e /engines/fullpipe | |
parent | 090d971d258578fd6f8aa1b6b7e4f032d45cc74f (diff) | |
download | scummvm-rg350-75a6aec6a1d18ec818722602c347cc25babaf7d8.tar.gz scummvm-rg350-75a6aec6a1d18ec818722602c347cc25babaf7d8.tar.bz2 scummvm-rg350-75a6aec6a1d18ec818722602c347cc25babaf7d8.zip |
FULLPIPE: Update scene27 callbacks
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/scenes/scene27.cpp | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp index 24f2e50c59..05d67259cc 100644 --- a/engines/fullpipe/scenes/scene27.cpp +++ b/engines/fullpipe/scenes/scene27.cpp @@ -181,13 +181,23 @@ void sceneHandler27_showNextBat() { } int sceneHandler27_updateScreenCallback() { - warning("STUB: sceneHandler27_updateScreenCallback()"); + int res; - return 0; + res = g_fp->drawArcadeOverlay(getGameLoaderInteractionController()->_flag24 == 0); + + if (!res) + g_fp->_updateScreenCallback = 0; + + return res; } -void sceneHandler27_aniManCallback(int *arg) { - warning("STUB: sceneHandler27_aniManCallback()"); +void sceneHandler27_aniManCallback(int *phase) { + if (!g_vars->scene27_var09) { + if (*phase >= 5) + g_vars->scene27_var09 = 1; + else + ++*phase; + } } void sceneHandler27_throwBat() { |