mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
Implement/match LegoCharacterManager::FUN_100832a0 (#747)
This commit is contained in:
parent
53b3d0b195
commit
bfc2b76a61
2 changed files with 26 additions and 2 deletions
|
@ -50,6 +50,7 @@ class LegoCharacterManager {
|
|||
static MxBool FUN_10084c00(const LegoChar*);
|
||||
|
||||
void FUN_100832a0();
|
||||
undefined4 FUN_10083bc0(LegoROI* p_roi);
|
||||
void FUN_10083db0(LegoROI* p_roi);
|
||||
void FUN_10083f10(LegoROI* p_roi);
|
||||
LegoExtraActor* FUN_10084c40(const LegoChar*);
|
||||
|
|
|
@ -38,10 +38,26 @@ void LegoCharacterManager::Init()
|
|||
}
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x100832a0
|
||||
// FUNCTION: LEGO1 0x100832a0
|
||||
void LegoCharacterManager::FUN_100832a0()
|
||||
{
|
||||
// TODO
|
||||
for (MxS32 i = 0; i < _countof(g_characterData) - 1; i++) {
|
||||
LegoCharacterData* data = Find(g_characterData[i].m_name);
|
||||
|
||||
if (data != NULL) {
|
||||
LegoExtraActor* actor = data->m_actor;
|
||||
|
||||
if (actor != NULL && actor->IsA("LegoExtraActor")) {
|
||||
LegoROI* roi = g_characterData[i].m_roi;
|
||||
undefined4 und = FUN_10083bc0(roi);
|
||||
|
||||
while (und) {
|
||||
FUN_10083db0(roi);
|
||||
und = FUN_10083bc0(roi);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x10083310
|
||||
|
@ -189,6 +205,13 @@ LegoROI* LegoCharacterManager::GetROI(const char* p_key, MxBool p_createEntity)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10083bc0
|
||||
undefined4 LegoCharacterManager::FUN_10083bc0(LegoROI* p_roi)
|
||||
{
|
||||
// TODO
|
||||
return 0;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10083db0
|
||||
void LegoCharacterManager::FUN_10083db0(LegoROI* p_roi)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue