aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-03 20:58:41 +0200
committerEugene Sandulenko2014-02-03 20:58:41 +0200
commite34c357b4743c91beb28af83f98ba344bfaa5a72 (patch)
tree70834f78d7e1cf546a9924c08aa1943d9a240111 /engines/fullpipe/scenes
parentf5ffef7b66230aa4d147ec6c0fdc2fea14244677 (diff)
downloadscummvm-rg350-e34c357b4743c91beb28af83f98ba344bfaa5a72.tar.gz
scummvm-rg350-e34c357b4743c91beb28af83f98ba344bfaa5a72.tar.bz2
scummvm-rg350-e34c357b4743c91beb28af83f98ba344bfaa5a72.zip
FULLPIPE: Implement sceneHandler27_winArcade()
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene27.cpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene27.cpp b/engines/fullpipe/scenes/scene27.cpp
index 46eebba8b7..870cff9ece 100644
--- a/engines/fullpipe/scenes/scene27.cpp
+++ b/engines/fullpipe/scenes/scene27.cpp
@@ -157,8 +157,19 @@ int scene27_updateCursor() {
return g_fp->_cursorId;
}
+void sceneHandler27_driverGiveVent() {
+ warning("STUB: sceneHandler27_driverGiveVent()");
+}
+
void sceneHandler27_winArcade() {
- warning("STUB: sceneHandler27_winArcade()");
+ if (g_fp->getObjectState(sO_Driver) == g_fp->getObjectEnumState(sO_Driver, sO_WithSteering)) {
+ g_vars->scene27_var08 = 0;
+
+ g_fp->_aniMan->_callback2 = 0;
+ g_fp->_aniMan->changeStatics2(ST_MAN_RIGHT);
+
+ sceneHandler27_driverGiveVent();
+ }
}
void sceneHandler27_takeVent() {