aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-03 21:23:46 +0200
committerEugene Sandulenko2014-02-03 21:23:46 +0200
commit75a6aec6a1d18ec818722602c347cc25babaf7d8 (patch)
tree0719d759d06bc15accfe789d595b0a8d7c132b3e /engines/fullpipe
parent090d971d258578fd6f8aa1b6b7e4f032d45cc74f (diff)
downloadscummvm-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.cpp18
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() {