FULLPIPE: Implement scene07_hide/showBox()

This commit is contained in:
Eugene Sandulenko 2013-12-19 18:23:14 +02:00
parent 5884090696
commit 4193742c7c
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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) {