diff options
author | Eugene Sandulenko | 2014-01-07 16:35:40 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2014-01-07 16:35:40 +0200 |
commit | a7ae2b4452877fb2728d6f9feb810360e5b517df (patch) | |
tree | 2042f8124a94bf9bedb05da30ab6683f6726dee8 /engines | |
parent | 51b9d156d535c922cb4240a7686f790d58c97d46 (diff) | |
download | scummvm-rg350-a7ae2b4452877fb2728d6f9feb810360e5b517df.tar.gz scummvm-rg350-a7ae2b4452877fb2728d6f9feb810360e5b517df.tar.bz2 scummvm-rg350-a7ae2b4452877fb2728d6f9feb810360e5b517df.zip |
FULLPIPE: yet more code to scene32
Diffstat (limited to 'engines')
-rw-r--r-- | engines/fullpipe/constants.h | 4 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene32.cpp | 15 |
2 files changed, 16 insertions, 3 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index 88f5492996..9f2f8882b7 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -1080,15 +1080,19 @@ namespace Fullpipe { #define MV_TSTO_FLOW 2657 #define PIC_SC32_LADDER 4296 #define PIC_SC32_RTRUBA 2292 +#define QU_CTS_GROW 2416 +#define QU_CTS_GROWMAN 2417 #define QU_KBK32_GO 4977 #define QU_KBK32_START 4982 #define QU_SC32_ENTERLIFT 2827 #define QU_SC32_EXITLIFT 2828 +#define QU_SC32_SHOWHANDLE 2399 #define ST_BTN32_ON 5350 #define ST_FLG_LEFT 2260 #define ST_FLG_NORM 2259 #define ST_FLG_RIGHT 2264 #define ST_HDL_LAID 3039 +#define ST_MAN32_SIT 2277 // Scene 33 #define MSG_SC33_TRYKUBIK 4980 diff --git a/engines/fullpipe/scenes/scene32.cpp b/engines/fullpipe/scenes/scene32.cpp index f03297071d..fa0ad86c2d 100644 --- a/engines/fullpipe/scenes/scene32.cpp +++ b/engines/fullpipe/scenes/scene32.cpp @@ -117,7 +117,8 @@ void sceneHandler32_tryCube() { } void sceneHandler32_startCactus() { - warning("STUB: sceneHandler32_startCactus()"); + g_vars->scene32_var08 = 48; + g_vars->scene32_var10 = 0; } void sceneHandler32_spin(ExCommand *cmd) { @@ -147,11 +148,19 @@ void sceneHandler32_buttonPush() { } void sceneHandler32_installHandle() { - warning("STUB: sceneHandler32_installHandle()"); + chainQueue(QU_SC32_SHOWHANDLE, 0); + + g_vars->scene32_button->changeStatics2(ST_BTN32_ON); } void sceneHandler32_animateCactus() { - warning("STUB: sceneHandler32_animateCactus()"); + if (g_fp->_aniMan->_statics->_staticsId != ST_MAN32_SIT) + chainQueue(QU_CTS_GROW, 1); + else + chainQueue(QU_CTS_GROWMAN, 1); + + g_vars->scene32_var08 = -1; + g_vars->scene32_var10 = 1; } void sceneHandler32_ladderLogic(ExCommand *cmd) { |