aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2014-01-10 00:23:27 +0200
committerEugene Sandulenko2014-01-10 00:42:21 +0200
commit692b19992358378684d6b2a7548c80a17445b1f2 (patch)
treef94eb2dab45b7c460196cbe6963d79c0c205f442
parent5114398e979bdb7145932be854eb770c66bd1dd7 (diff)
downloadscummvm-rg350-692b19992358378684d6b2a7548c80a17445b1f2.tar.gz
scummvm-rg350-692b19992358378684d6b2a7548c80a17445b1f2.tar.bz2
scummvm-rg350-692b19992358378684d6b2a7548c80a17445b1f2.zip
FULLPIPE: Implement sceneHandler33_processJettie()
-rw-r--r--engines/fullpipe/scenes/scene33.cpp18
1 files changed, 17 insertions, 1 deletions
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() {