From 692b19992358378684d6b2a7548c80a17445b1f2 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 10 Jan 2014 00:23:27 +0200 Subject: FULLPIPE: Implement sceneHandler33_processJettie() --- engines/fullpipe/scenes/scene33.cpp | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/engines/fullpipe/scenes/scene33.cpp b/engines/fullpipe/scenes/scene33.cpp index ed9d9c67ef..9fe3810e8d 100644 --- a/engines/fullpipe/scenes/scene33.cpp +++ b/engines/fullpipe/scenes/scene33.cpp @@ -80,7 +80,23 @@ int scene33_updateCursor() { } void sceneHandler33_processJettie(ExCommand *cmd) { - warning("STUB: sceneHandler33_processJettie(cmd"); + MessageQueue *mq = g_fp->_globalMessageQueueList->getMessageQueueById(cmd->_parId); + + if (mq && g_vars->scene33_jettie->_movement) { + ExCommand *ex = mq->getExCommandByIndex(0); + + if (ex) { + ex->_messageKind = 0; + ex->_excFlags |= 1; + } + + ex = mq->getExCommandByIndex(1); + + if (ex) { + ex->_messageKind = 0; + ex->_excFlags |= 1; + } + } } void sceneHandler33_processVents() { -- cgit v1.2.3