Implement/match LegoEntity::SetROI (#628)

This commit is contained in:
Christian Semmler
2024-03-05 13:35:28 -05:00
committed by GitHub
parent f6e44b1c1b
commit 3b2bd0e9d4
5 changed files with 34 additions and 9 deletions

View File

@@ -73,7 +73,7 @@ LegoROI::LegoROI(Tgl::Renderer* p_renderer) : ViewROI(p_renderer, NULL)
{
m_unk0xd4 = NULL;
m_name = NULL;
m_unk0x104 = NULL;
m_entity = NULL;
}
// FUNCTION: LEGO1 0x100a82d0
@@ -81,7 +81,7 @@ LegoROI::LegoROI(Tgl::Renderer* p_renderer, ViewLODList* p_lodList) : ViewROI(p_
{
m_unk0xd4 = NULL;
m_name = NULL;
m_unk0x104 = NULL;
m_entity = NULL;
}
// FUNCTION: LEGO1 0x100a83c0

View File

@@ -76,9 +76,9 @@ public:
);
inline const LegoChar* GetName() const { return m_name; }
inline LegoEntity* GetUnknown0x104() { return m_unk0x104; }
inline LegoEntity* GetUnknown0x104() { return m_entity; }
inline void SetUnknown0x104(LegoEntity* p_unk0x104) { m_unk0x104 = p_unk0x104; }
inline void SetEntity(LegoEntity* p_entity) { m_entity = p_entity; }
// SYNTHETIC: LEGO1 0x100a82b0
// LegoROI::`scalar deleting destructor'
@@ -87,7 +87,7 @@ private:
LegoChar* m_name; // 0xe4
BoundingSphere m_sphere; // 0xe8
undefined m_unk0x100; // 0x100
LegoEntity* m_unk0x104; // 0x104
LegoEntity* m_entity; // 0x104
};
// VTABLE: LEGO1 0x100dbea8