diff options
author | Eugene Sandulenko | 2013-12-18 15:27:04 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-18 15:27:04 +0200 |
commit | fa94808e31dbcb21175a63e896c1aff90f61caec (patch) | |
tree | 37d9c9a4a568ee4523caf016164a2136a8356dbb /engines | |
parent | 9f1dee1115d450a252fd30e14423e54110e49bde (diff) | |
download | scummvm-rg350-fa94808e31dbcb21175a63e896c1aff90f61caec.tar.gz scummvm-rg350-fa94808e31dbcb21175a63e896c1aff90f61caec.tar.bz2 scummvm-rg350-fa94808e31dbcb21175a63e896c1aff90f61caec.zip |
FULLPIPE: Implement sceneHandler06_sub05()
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/constants.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene06.cpp | 25 |
2 files changed, 20 insertions, 6 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index fd4f835ec4..d449c01ff5 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -268,6 +268,7 @@ namespace Fullpipe { #define QU_SC6_DROPS 2898 #define QU_SC6_ENTERLIFT 1054 #define QU_SC6_EXITLIFT 1055 +#define QU_SC6_FALLBALL 2690 #define QU_SC6_SHOWHANDLE 1689 #define QU_SC6_SHOWNEXTBALL 2689 #define SC_1 301 diff --git a/engines/fullpipe/scenes/scene06.cpp b/engines/fullpipe/scenes/scene06.cpp index 9dc4708b3e..3b72030e15 100644 --- a/engines/fullpipe/scenes/scene06.cpp +++ b/engines/fullpipe/scenes/scene06.cpp @@ -226,8 +226,26 @@ void sceneHandler06_sub03() { warning("STUB: sceneHandler06_sub03()"); } +void sceneHandler06_sub10() { + warning("STUB: sceneHandler06_sub10()"); +} + void sceneHandler06_sub05() { - warning("STUB: sceneHandler06_sub05()"); + g_vars->scene06_var04 = 475; + + g_vars->scene06_var11->setOXY(g_vars->scene06_var03, g_vars->scene06_var04); + + MessageQueue *mq = new MessageQueue(g_fullpipe->_currentScene->getMessageQueueById(QU_SC6_FALLBALL), 0, 1); + + mq->replaceKeyCode(-1, g_vars->scene06_var11->_okeyCode); + mq->chain(0); + + g_vars->scene06_balls.push_back(g_vars->scene06_var11); + + g_vars->scene06_var11 = 0; + + sceneHandler06_sub10(); + sceneHandler06_sub03(); } void sceneHandler06_sub09() { @@ -253,11 +271,6 @@ void sceneHandler06_sub06() { warning("STUB: sceneHandler06_sub06()"); } -void sceneHandler06_sub10() { - warning("STUB: sceneHandler06_sub10()"); -} - - void scene06_initScene(Scene *sc) { g_vars->scene06_mumsy = sc->getStaticANIObject1ById(ANI_MAMASHA, -1); g_vars->scene06_var06 = 0; |