Implement/match LegoAnimPresenter::FUN_1006b9a0 (#797)

This commit is contained in:
Christian Semmler
2024-04-13 12:05:43 -04:00
committed by GitHub
parent 67127e2515
commit 54421ebcdf
4 changed files with 43 additions and 4 deletions

View File

@@ -136,6 +136,13 @@ done:
return result;
}
// STUB: LEGO1 0x1009f490
undefined4 LegoAnimScene::FUN_1009f490(LegoFloat p_time, Matrix4& p_matrix)
{
// TODO
return 0;
}
// FUNCTION: LEGO1 0x1009f900
LegoAnimKey::LegoAnimKey()
{

View File

@@ -123,6 +123,7 @@ public:
LegoU32 GetRotationIndex() { return m_rotationIndex; }
LegoU32 GetScaleIndex() { return m_scaleIndex; }
LegoU32 GetMorphIndex() { return m_morphIndex; }
undefined2 GetUnknown0x20() { return m_unk0x20; }
void SetTranslationIndex(LegoU32 p_translationIndex) { m_translationIndex = p_translationIndex; }
void SetRotationIndex(LegoU32 p_rotationIndex) { m_rotationIndex = p_rotationIndex; }
@@ -207,6 +208,7 @@ public:
LegoAnimScene();
~LegoAnimScene();
LegoResult Read(LegoStorage* p_storage);
undefined4 FUN_1009f490(LegoFloat p_time, Matrix4& p_matrix);
private:
LegoU16 m_unk0x00; // 0x00
@@ -234,6 +236,8 @@ public:
const LegoChar* GetActorName(LegoU32 p_index);
undefined4 GetActorUnknown0x04(LegoU32 p_index);
inline LegoAnimScene* GetScene() { return m_scene; }
// SYNTHETIC: LEGO1 0x100a0ba0
// LegoAnim::`scalar deleting destructor'