Skip to content

Commit

Permalink
FULLPIPE: Implement sceneHandler07_hideLuke()
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Dec 19, 2013
1 parent 4193742 commit 97cd39b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions engines/fullpipe/constants.h
Expand Up @@ -148,6 +148,7 @@ namespace Fullpipe {
#define MSG_UPDATEBOTTLE 613
#define MV_BLK_CLOSE 911
#define MV_BLK_OPEN 910
#define MV_CST_CLOSELUKE 807
#define MV_EGTR_FATASK 5332
#define MV_IN1MAN_SLEEP 5111
#define MV_BDG_OPEN 1379
Expand Down Expand Up @@ -369,6 +370,7 @@ namespace Fullpipe {
#define ST_EGTR_MID1 2863
#define ST_EGTR_MID2 2869
#define ST_EGTR_SLIM 336
#define ST_HGN_LOOK 811
#define ST_HGN_LUKE 810
#define ST_HDL_BROKEN 3342
#define ST_HDL_DOWN 625
Expand Down
13 changes: 12 additions & 1 deletion engines/fullpipe/scenes/scene07.cpp
Expand Up @@ -77,7 +77,18 @@ void sceneHandler07_closeLuke() {
}

void sceneHandler07_hideLuke() {
warning("STUB: sceneHandler07_hideLuke()");
g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_LUKE, -1)->hide();

Movement *mov = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_CORNERSITTER, -1)->_movement;

if (mov) {
if (mov->_id == MV_CST_CLOSELUKE) {
StaticANIObject *ani = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_HOOLIGAN, -1);

ani->changeStatics2(ST_HGN_LOOK);
ani->_flags &= 0xFFFB;
}
}
}

void sceneHandler07_showBox() {
Expand Down

0 comments on commit 97cd39b

Please sign in to comment.