aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe
diff options
context:
space:
mode:
authorEugene Sandulenko2013-12-19 18:23:14 +0200
committerEugene Sandulenko2013-12-19 18:23:14 +0200
commit4193742c7cec54efc7b89b3f88b026553860caf8 (patch)
tree71582d9c303b26442b3c91bb39afac0a29970539 /engines/fullpipe
parent5884090696441001eb3acca5e0ddeff39e410026 (diff)
downloadscummvm-rg350-4193742c7cec54efc7b89b3f88b026553860caf8.tar.gz
scummvm-rg350-4193742c7cec54efc7b89b3f88b026553860caf8.tar.bz2
scummvm-rg350-4193742c7cec54efc7b89b3f88b026553860caf8.zip
FULLPIPE: Implement scene07_hide/showBox()
Diffstat (limited to 'engines/fullpipe')
-rw-r--r--engines/fullpipe/constants.h2
-rw-r--r--engines/fullpipe/scenes/scene07.cpp7
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/fullpipe/constants.h b/engines/fullpipe/constants.h
index bf843efc03..b1df092ea6 100644
--- a/engines/fullpipe/constants.h
+++ b/engines/fullpipe/constants.h
@@ -62,6 +62,7 @@ namespace Fullpipe {
#define ANI_SC2_BOX 1020
#define ANI_SC4_BOOT 1035
#define ANI_SC4_COIN 690
+#define ANI_SC7_BOX 791
#define ANI_SPEAKER_4 3275
#define ANI_SPRING 542
#define MSG_CLICKBOTTLE 569
@@ -203,6 +204,7 @@ namespace Fullpipe {
#define MV_PNK_WEIGHTLEFT 541
#define MV_PNK_WEIGHTRIGHT 502
#define MV_SC4_COIN_default 1029
+#define MV_SC7_BOX_default 792
#define MV_SPK4_PLAY 3276
#define MV_SPR_LOWER 543
#define PIC_CMN_EVAL 3468
diff --git a/engines/fullpipe/scenes/scene07.cpp b/engines/fullpipe/scenes/scene07.cpp
index f324ff1cff..a9267179a6 100644
--- a/engines/fullpipe/scenes/scene07.cpp
+++ b/engines/fullpipe/scenes/scene07.cpp
@@ -81,11 +81,14 @@ void sceneHandler07_hideLuke() {
}
void sceneHandler07_showBox() {
- warning("STUB: sceneHandler07_showBox()");
+ StaticANIObject *box = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_SC7_BOX, -1);
+
+ box->show1(492, 474, MV_SC7_BOX_default, 0);
+ box->_priority = 25;
}
void sceneHandler07_hideBox() {
- warning("STUB: sceneHandler07_hideBox()");
+ g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_SC7_BOX, -1)->hide();
}
int sceneHandler07(ExCommand *ex) {