Implement/match LegoModelPresenter::FUN_1007ff70 (#622)

This commit is contained in:
Christian Semmler
2024-03-04 12:26:36 -05:00
committed by GitHub
parent c2a46b058b
commit d3b575169e
4 changed files with 33 additions and 11 deletions

View File

@@ -36,7 +36,7 @@ public:
void ParseExtra() override; // vtable+0x30
void Destroy() override; // vtable+0x38
void FUN_1007ff70(MxDSChunk& p_chunk, LegoEntity* p_entity, undefined p_modelUnknown0x34, LegoWorld* p_world);
MxResult FUN_1007ff70(MxDSChunk& p_chunk, LegoEntity* p_entity, undefined p_modelUnknown0x34, LegoWorld* p_world);
inline void Reset()
{
@@ -54,7 +54,7 @@ private:
LegoROI* m_roi; // 0x64
MxBool m_addedToView; // 0x68
MxResult CreateROI(MxStreamChunk* p_chunk);
MxResult CreateROI(MxDSChunk* p_chunk);
};
#endif // LEGOMODELPRESENTER_H

View File

@@ -67,7 +67,7 @@ public:
inline LegoCameraController* GetCamera() { return m_cameraController; }
inline MxS32 GetScriptIndex() { return m_scriptIndex; }
inline MxCoreSet& GetUnknown0xd0() { return m_set0xd0; }
inline list<LegoROI*>& GetUnknownList0xe0() { return m_list0xe0; }
inline list<LegoROI*>& GetROIList() { return m_roiList; }
inline void SetScriptIndex(MxS32 p_scriptIndex) { m_scriptIndex = p_scriptIndex; }
@@ -91,7 +91,7 @@ protected:
MxCoreSet m_set0xa8; // 0xa8
MxPresenterList m_controlPresenters; // 0xb8
MxCoreSet m_set0xd0; // 0xd0
list<LegoROI*> m_list0xe0; // 0xe0
list<LegoROI*> m_roiList; // 0xe0
MxS32 m_scriptIndex; // 0xec
LegoHideAnimPresenter* m_hideAnimPresenter; // 0xf0
MxS16 m_startupTicks; // 0xf4