diff options
author | Eugene Sandulenko | 2014-03-12 23:32:42 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-03-12 23:33:12 +0200 |
commit | baa4457f257faa89b0c92cb0a7854839fc4f82ee (patch) | |
tree | 4f8ab0166cd4f9c4d87c4ad6abad4291e0626f8c | |
parent | 2a81fb5e1e429f0fc2d6a1ad05fc814747a355f5 (diff) | |
download | scummvm-rg350-baa4457f257faa89b0c92cb0a7854839fc4f82ee.tar.gz scummvm-rg350-baa4457f257faa89b0c92cb0a7854839fc4f82ee.tar.bz2 scummvm-rg350-baa4457f257faa89b0c92cb0a7854839fc4f82ee.zip |
FULLPIPE: Implement sceneHandler18_clickBoard()
-rw-r--r-- | engines/fullpipe/scenes/scene18and19.cpp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/engines/fullpipe/scenes/scene18and19.cpp b/engines/fullpipe/scenes/scene18and19.cpp index 76b118138b..d17b5d1799 100644 --- a/engines/fullpipe/scenes/scene18and19.cpp +++ b/engines/fullpipe/scenes/scene18and19.cpp @@ -388,7 +388,18 @@ int scene19_updateCursor() { } void sceneHandler18_clickBoard() { - warning("STUB: sceneHandler18_clickBoard()"); + if (ABS(967 - g_fp->_aniMan->_ox) > 1 || ABS(379 - g_fp->_aniMan->_oy) > 1 || g_fp->_aniMan->_statics->_staticsId != ST_MAN_RIGHT) { + MessageQueue *mq = getCurrSceneSc2MotionController()->method34(g_fp->_aniMan, 967, 379, 1, ST_MAN_RIGHT); + ExCommand *ex = new ExCommand(0, 17, MSG_SC18_MANREADY, 0, 0, 0, 1, 0, 0, 0); + + ex->_excFlags = 2; + + mq->addExCommandToEnd(ex); + + postExCommand(g_fp->_aniMan->_id, 2, 967, 379, 0, -1); + } else { + g_vars->scene18_var28 = 1; + } } void sceneHandler18and19_showManJump() { |