Implement LegoAnimPresenter::FUN_100692b0 (#594)

* Implement LegoAnimPresenter::FUN_100692b0

* Match
This commit is contained in:
Christian Semmler
2024-02-25 12:04:30 -05:00
committed by GitHub
parent 377eebb610
commit 96c98cec3d
7 changed files with 190 additions and 4 deletions

View File

@@ -504,6 +504,26 @@ LegoResult LegoAnim::Write(LegoStorage* p_storage)
return SUCCESS;
}
// FUNCTION: LEGO1 0x100a0f20
const LegoChar* LegoAnim::GetActorName(LegoU32 p_index)
{
if (p_index < m_numActors) {
return m_actors[p_index].m_name;
}
return NULL;
}
// FUNCTION: LEGO1 0x100a0f40
undefined4 LegoAnim::GetActorUnknown0x04(LegoU32 p_index)
{
if (p_index < m_numActors) {
return m_actors[p_index].m_unk0x04;
}
return NULL;
}
// FUNCTION: LEGO1 0x100a0f60
LegoMorphKey::LegoMorphKey()
{