From e34c357b4743c91beb28af83f98ba344bfaa5a72 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Mon, 3 Feb 2014 20:58:41 +0200 Subject: FULLPIPE: Implement sceneHandler27_winArcade() --- engines/fullpipe/scenes/scene27.cpp | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'engines/fullpipe/scenes') 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() { -- cgit v1.2.3