mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Implement/match LegoAnimationManager::FUN_10063780 and FUN_10063aa0 (#859)
This commit is contained in:
committed by
GitHub
parent
86203f1704
commit
e49d05c410
@@ -96,7 +96,7 @@ public:
|
|||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user