mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 07:28:00 -05:00
Implement/match LegoAnimationManager::FUN_10062770 (#860)
This commit is contained in:
parent
e49d05c410
commit
c7e5457f95
2 changed files with 16 additions and 5 deletions
|
@ -134,7 +134,7 @@ class LegoAnimationManager : public MxCore {
|
|||
LegoTranInfoList* m_tranInfoList2; // 0x24
|
||||
MxPresenter* m_unk0x28[2]; // 0x28
|
||||
MxLong m_unk0x30[2]; // 0x30
|
||||
undefined m_unk0x38; // 0x38
|
||||
MxBool m_unk0x38; // 0x38
|
||||
MxBool m_unk0x39; // 0x39
|
||||
undefined m_unk0x3a; // 0x3a
|
||||
Unknown0x3c m_unk0x3c[40]; // 0x3c
|
||||
|
|
|
@ -193,7 +193,7 @@ void LegoAnimationManager::Init()
|
|||
m_unk0x3c[i].m_unk0x14 = 0;
|
||||
}
|
||||
|
||||
m_unk0x38 = 0;
|
||||
m_unk0x38 = FALSE;
|
||||
m_unk0x39 = FALSE;
|
||||
m_unk0x3a = 1;
|
||||
m_unk0x3fc = 0;
|
||||
|
@ -261,7 +261,7 @@ MxResult LegoAnimationManager::LoadScriptInfo(MxS32 p_scriptIndex)
|
|||
m_unk0x30[i] = 0;
|
||||
}
|
||||
|
||||
m_unk0x38 = 0;
|
||||
m_unk0x38 = FALSE;
|
||||
m_unk0x39 = FALSE;
|
||||
m_unk0x430 = 0;
|
||||
m_unk0x42c = 0;
|
||||
|
@ -755,10 +755,21 @@ MxS8 LegoAnimationManager::FUN_10062360(char*)
|
|||
return 0;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10062770
|
||||
// FUNCTION: LEGO1 0x10062770
|
||||
// FUNCTION: BETA10 0x1004381a
|
||||
void LegoAnimationManager::FUN_10062770()
|
||||
{
|
||||
// TODO
|
||||
if (!m_unk0x38) {
|
||||
LegoWorld* world = CurrentWorld();
|
||||
|
||||
if (world != NULL) {
|
||||
m_unk0x28[1] = (MxPresenter*) world->Find("MxSoundPresenter", "TransitionSound1");
|
||||
m_unk0x28[0] = (MxPresenter*) world->Find("MxSoundPresenter", "TransitionSound2");
|
||||
m_unk0x30[1] = 200;
|
||||
m_unk0x30[0] = 750;
|
||||
m_unk0x38 = TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x100627d0
|
||||
|
|
Loading…
Reference in a new issue