diff options
author | Eugene Sandulenko | 2013-12-23 14:54:22 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2013-12-23 14:54:22 +0200 |
commit | eaa9d8a2e0af9214d48110d988c18ca2d9600859 (patch) | |
tree | 8c84d328ca3d4a0889216d1671dfeba9f57e0550 /engines/fullpipe | |
parent | cb3268dd932b92be6b543f8ca8f20b6fc6142898 (diff) | |
download | scummvm-rg350-eaa9d8a2e0af9214d48110d988c18ca2d9600859.tar.gz scummvm-rg350-eaa9d8a2e0af9214d48110d988c18ca2d9600859.tar.bz2 scummvm-rg350-eaa9d8a2e0af9214d48110d988c18ca2d9600859.zip |
FULLPIPE: Implement several scene10 methods
Diffstat (limited to 'engines/fullpipe')
-rw-r--r-- | engines/fullpipe/constants.h | 1 | ||||
-rw-r--r-- | engines/fullpipe/scenes/scene10.cpp | 16 |
2 files changed, 12 insertions, 5 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h index b7ba75e042..c4ea3dd3f7 100644 --- a/engines/fullpipe/constants.h +++ b/engines/fullpipe/constants.h @@ -228,6 +228,7 @@ namespace Fullpipe { #define MV_MOM_TAKE3 2887 #define MV_MOM_TAKE4 2888 #define MV_MOM_TAKE5 2889 +#define MV_NDV_BLOW2 2855 #define MV_OTM_BOXHANDLEDOWN 626 #define MV_OTM_BOXHANDLEUP 627 #define MV_OTM_HANDLEDOWN 620 diff --git a/engines/fullpipe/scenes/scene10.cpp b/engines/fullpipe/scenes/scene10.cpp index 44446439f3..3977337f45 100644 --- a/engines/fullpipe/scenes/scene10.cpp +++ b/engines/fullpipe/scenes/scene10.cpp @@ -53,9 +53,9 @@ void scene10_initScene(Scene *sc) { } bool sceneHandler10_inflaterIsBlind() { - warning("STUB: sceneHandler10_inflaterIsBlind()"); - - return false; + return g_vars->scene10_inflater->_movement + && g_vars->scene10_inflater->_movement->_id == MV_NDV_BLOW2 + && g_vars->scene10_inflater->_movement->_currDynamicPhaseIndex < 42; } int scene10_updateCursor() { @@ -78,11 +78,17 @@ void sceneHandler10_clickGum() { } void sceneHandler10_hideGum() { - warning("STUB: sceneHandler10_hideGum()"); + g_vars->scene10_gum->hide(); + g_vars->scene10_packet->hide(); + g_vars->scene10_packet2->hide(); } void sceneHandler10_showGum() { - warning("STUB: sceneHandler10_showGum()"); + if (g_vars->scene10_hasGum) + g_vars->scene10_gum->show1(-1, -1, -1, 0); + + g_vars->scene10_packet->show1(-1, -1, -1, 0); + g_vars->scene10_packet2->show1(-1, -1, -1, 0); } |