mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement LegoAnimPresenter::FUN_100692b0 (#594)
* Implement LegoAnimPresenter::FUN_100692b0 * Match
This commit is contained in:

committed by
GitHub

parent
377eebb610
commit
96c98cec3d
@@ -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()
|
||||
{
|
||||
|
@@ -139,9 +139,13 @@ public:
|
||||
LegoAnim();
|
||||
~LegoAnim() override;
|
||||
LegoTime GetDuration() { return m_duration; }
|
||||
LegoU32 GetNumActors() { return m_numActors; }
|
||||
LegoResult Write(LegoStorage* p_storage) override; // vtable+0x08
|
||||
virtual LegoResult Read(LegoStorage* p_storage, LegoS32 p_parseScene); // vtable+0x10
|
||||
|
||||
const LegoChar* GetActorName(LegoU32 p_index);
|
||||
undefined4 GetActorUnknown0x04(LegoU32 p_index);
|
||||
|
||||
// SYNTHETIC: LEGO1 0x100a0ba0
|
||||
// LegoAnim::`scalar deleting destructor'
|
||||
|
||||
|
Reference in New Issue
Block a user