aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/scenes
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-23 14:54:22 +0200
committerEugene Sandulenko2013-12-23 14:54:22 +0200
commiteaa9d8a2e0af9214d48110d988c18ca2d9600859 (patch)
tree8c84d328ca3d4a0889216d1671dfeba9f57e0550 /engines/fullpipe/scenes
parentcb3268dd932b92be6b543f8ca8f20b6fc6142898 (diff)
downloadscummvm-rg350-eaa9d8a2e0af9214d48110d988c18ca2d9600859.tar.gz
scummvm-rg350-eaa9d8a2e0af9214d48110d988c18ca2d9600859.tar.bz2
scummvm-rg350-eaa9d8a2e0af9214d48110d988c18ca2d9600859.zip
FULLPIPE: Implement several scene10 methods
Diffstat (limited to 'engines/fullpipe/scenes')
-rw-r--r--engines/fullpipe/scenes/scene10.cpp16
1 files changed, 11 insertions, 5 deletions
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);
}