FULLPIPE: Implement scene06_initMumsy()
This commit is contained in:
parent
5fc18c023d
commit
65512ffd97
5 changed files with 19 additions and 1 deletions
|
@ -198,6 +198,12 @@ void BehaviorManager::setFlagByStaticAniObject(StaticANIObject *ani, int flag) {
|
|||
}
|
||||
}
|
||||
|
||||
BehaviorEntryInfo *BehaviorManager::getBehaviorEntryInfoByMessageQueueDataId(StaticANIObject *ani, int id1, int id2) {
|
||||
warning("STUB: getBehaviorEntryInfoByMessageQueueDataId()");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void BehaviorInfo::clear() {
|
||||
_ani = 0;
|
||||
_staticsId = 0;
|
||||
|
|
|
@ -81,6 +81,8 @@ class BehaviorManager : public CObject {
|
|||
bool setBehaviorEnabled(StaticANIObject *obj, int aniId, int quId, int flag);
|
||||
|
||||
void setFlagByStaticAniObject(StaticANIObject *ani, int flag);
|
||||
|
||||
BehaviorEntryInfo *getBehaviorEntryInfoByMessageQueueDataId(StaticANIObject *ani, int id1, int id2);
|
||||
};
|
||||
|
||||
} // End of namespace Fullpipe
|
||||
|
|
|
@ -251,6 +251,8 @@ namespace Fullpipe {
|
|||
#define QU_INTR_GETUPMAN 5136
|
||||
#define QU_INTR_STARTINTRO 5133
|
||||
#define QU_KOZAW_WALK 505
|
||||
#define QU_MOM_JUMPBK 671
|
||||
#define QU_MOM_JUMPFW 670
|
||||
#define QU_PNK_CLICK 550
|
||||
#define QU_SC3_ENTERLIFT 2779
|
||||
#define QU_SC3_EXITLIFT 2808
|
||||
|
@ -367,6 +369,7 @@ namespace Fullpipe {
|
|||
#define ST_MAN_STANDLADDER 453
|
||||
#define ST_MAN_UP 449
|
||||
#define ST_MAN6_BALL 2688
|
||||
#define ST_MOM_STANDS 658
|
||||
#define ST_NBL_NORM 1076
|
||||
#define ST_OTM_BOX_LEFT 429
|
||||
#define ST_OTM_GLS_LEFT 421
|
||||
|
|
|
@ -320,7 +320,7 @@ bool FullpipeEngine::sceneSwitcher(EntranceInfo *entrance) {
|
|||
_behaviorManager->initBehavior(scene, sceneVar);
|
||||
scene->initObjectCursors("SC_6");
|
||||
setSceneMusicParameters(sceneVar);
|
||||
sub_415300();
|
||||
scene06_initMumsy();
|
||||
insertMessageHandler(sceneHandler06, 2, 2);
|
||||
_updateCursorCallback = scene06_updateCursor;
|
||||
break;
|
||||
|
|
|
@ -37,6 +37,13 @@
|
|||
|
||||
namespace Fullpipe {
|
||||
|
||||
void scene06_initMumsy() {
|
||||
g_vars->scene06_mumsyJumpFw = g_fullpipe->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(g_vars->scene06_mumsy, ST_MOM_STANDS, QU_MOM_JUMPFW);
|
||||
g_vars->scene06_mumsyJumpBk = g_fullpipe->_behaviorManager->getBehaviorEntryInfoByMessageQueueDataId(g_vars->scene06_mumsy, ST_MOM_STANDS, QU_MOM_JUMPBK);
|
||||
g_vars->scene06_mumsyJumpFwPercent = g_vars->scene06_mumsyJumpFw->_percent;
|
||||
g_vars->scene06_mumsyJumpBkPercent = g_vars->scene06_mumsyJumpBk->_percent;
|
||||
}
|
||||
|
||||
void sceneHandler06_setExits(Scene *sc) {
|
||||
warning("STUB: sceneHandler06_setExits()");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue