mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-22 09:49:11 +00:00
FULLPIPE: Implement sceneHandler07_openLuke()
This commit is contained in:
parent
97cd39bb95
commit
8862be264b
@ -403,6 +403,7 @@ namespace Fullpipe {
|
||||
#define ST_LBN_9N 2777
|
||||
#define ST_LBN_9P 2778
|
||||
#define ST_LUK_CLOSED 805
|
||||
#define ST_LUK_OPEN 806
|
||||
#define ST_MAN_GOLADDER 450
|
||||
#define ST_MAN_GOLADDER2 2843
|
||||
#define ST_MAN_EMPTY 476
|
||||
|
@ -55,7 +55,20 @@ void scene07_initScene(Scene *sc) {
|
||||
}
|
||||
|
||||
void sceneHandler07_openLuke() {
|
||||
warning("STUB: sceneHandler07_openLuke()");
|
||||
StaticANIObject *luke = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_LUKE, -1);
|
||||
|
||||
luke->changeStatics2(ST_LUK_OPEN);
|
||||
luke->show1(-1, -1, -1, 0);
|
||||
|
||||
if (g_vars->scene07_lukeAnim) {
|
||||
g_vars->scene07_lukeAnim->_percent = g_vars->scene07_lukePercent;
|
||||
} else {
|
||||
StaticANIObject *ani = g_fullpipe->_currentScene->getStaticANIObject1ById(ANI_CORNERSITTER, -1);
|
||||
|
||||
g_vars->scene07_lukeAnim = g_fullpipe->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(ani, ST_CST_HANDLELESS, QU_CST_CLOSELUKE);
|
||||
|
||||
g_vars->scene07_lukeAnim->_percent = g_vars->scene07_lukePercent;
|
||||
}
|
||||
}
|
||||
|
||||
void sceneHandler07_closeLuke() {
|
||||
|
Loading…
Reference in New Issue
Block a user