Implement/match LegoAnimPresenter::StartingTickle (#601)

* Implement/match LegoAnimPresenter::StartingTickle

* Fix vtable

* Fix vtable
This commit is contained in:
Christian Semmler
2024-02-27 11:49:31 -05:00
committed by GitHub
parent 68893d67ed
commit c0a988b0fe
10 changed files with 165 additions and 15 deletions

View File

@@ -13,6 +13,10 @@ class LegoAnimClass;
// SIZE 0xc0
class LegoAnimPresenter : public MxVideoPresenter {
public:
enum {
c_bit2 = 0x02
};
LegoAnimPresenter();
~LegoAnimPresenter() override;
@@ -40,6 +44,15 @@ public:
void EndAction() override; // vtable+0x40
void PutFrame() override; // vtable+0x6c
virtual MxResult CreateAnim(MxStreamChunk* p_chunk); // vtable+0x88
virtual void VTable0x8c(); // vtable+0x8c
virtual void VTable0x90(); // vtable+0x90
virtual void VTable0x94(); // vtable+0x94
virtual void VTable0x98(); // vtable+0x98
// STUB: LEGO1 0x1000c990
virtual void VTable0x9c() {} // vtable+0x9c
virtual void VTable0xa0(); // vtable+0xa0
inline LegoAnim* GetAnimation() { return m_anim; }
@@ -53,13 +66,18 @@ protected:
void FUN_100695c0();
LegoChar* FUN_100697c0(const LegoChar* p_und1, const LegoChar* p_und2);
LegoBool FUN_100698b0(const CompoundObject& p_und1, const LegoChar* p_und2);
void FUN_10069b10();
LegoBool FUN_1006aba0();
LegoBool FUN_1006abb0(LegoTreeNode*, undefined4);
void FUN_1006ac90();
void FUN_1006c8a0(LegoBool);
LegoAnim* m_anim; // 0x64
undefined4 m_unk0x68; // 0x68
undefined4* m_unk0x68; // 0x68
undefined4 m_unk0x6c; // 0x6c
LegoROIList* m_unk0x70; // 0x70
LegoROIList* m_unk0x74; // 0x74
undefined4 m_unk0x78; // 0x78
MxMatrix* m_unk0x78; // 0x78
undefined4 m_unk0x7c; // 0x7c
LegoWorld* m_currentWorld; // 0x80
MxAtomId m_animAtom; // 0x84
@@ -68,7 +86,7 @@ protected:
undefined4 m_unk0x90; // 0x90
undefined m_unk0x94; // 0x94
undefined m_unk0x95; // 0x95
undefined m_unk0x96; // 0x96
MxBool m_unk0x96; // 0x96
undefined m_unk0x97; // 0x97
undefined4 m_unk0x98; // 0x98
MxS16 m_unk0x9c; // 0x9c