mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-29 02:55:48 -05:00
Implement/match LegoAnimationManager::FUN_10063780 and FUN_10063aa0 (#859)
This commit is contained in:
parent
86203f1704
commit
e49d05c410
2 changed files with 23 additions and 6 deletions
|
@ -96,7 +96,7 @@ class LegoAnimationManager : public MxCore {
|
||||||
void FUN_100627d0(MxBool);
|
void FUN_100627d0(MxBool);
|
||||||
void FUN_100629b0(MxU32, MxBool);
|
void FUN_100629b0(MxU32, MxBool);
|
||||||
void FUN_10063270(LegoROIList*, LegoAnimPresenter*);
|
void FUN_10063270(LegoROIList*, LegoAnimPresenter*);
|
||||||
void FUN_10063780(LegoROIList*);
|
void FUN_10063780(LegoROIList* p_list);
|
||||||
void FUN_10064670(MxBool);
|
void FUN_10064670(MxBool);
|
||||||
void FUN_10064740(MxBool);
|
void FUN_10064740(MxBool);
|
||||||
|
|
||||||
|
|
|
@ -779,16 +779,33 @@ void LegoAnimationManager::FUN_10063270(LegoROIList*, LegoAnimPresenter*)
|
||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10063780
|
// FUNCTION: LEGO1 0x10063780
|
||||||
void LegoAnimationManager::FUN_10063780(LegoROIList*)
|
void LegoAnimationManager::FUN_10063780(LegoROIList* p_list)
|
||||||
{
|
{
|
||||||
// TODO
|
if (p_list != NULL && m_unk0x424 != NULL) {
|
||||||
|
LegoROIListCursor cursor(p_list);
|
||||||
|
LegoROI* roi;
|
||||||
|
|
||||||
|
while (cursor.Next(roi)) {
|
||||||
|
const char* name = roi->GetName();
|
||||||
|
|
||||||
|
if (CharacterManager()->Exists(name)) {
|
||||||
|
m_unk0x424->Append(roi);
|
||||||
|
cursor.Detach();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10063aa0
|
// FUNCTION: LEGO1 0x10063aa0
|
||||||
void LegoAnimationManager::FUN_10063aa0()
|
void LegoAnimationManager::FUN_10063aa0()
|
||||||
{
|
{
|
||||||
// TODO
|
LegoROIListCursor cursor(m_unk0x424);
|
||||||
|
LegoROI* roi;
|
||||||
|
|
||||||
|
while (cursor.Next(roi)) {
|
||||||
|
CharacterManager()->FUN_10083db0(roi);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// STUB: LEGO1 0x10064670
|
// STUB: LEGO1 0x10064670
|
||||||
|
|
Loading…
Reference in a new issue