Implement/match LegoWEGEdge functions (#1259)

* Implement/match `LegoWEGEdge::VTable0x04`

* Implement/match `LegoWEGEdge::FUN_1009aea0`

* Rename
This commit is contained in:
Christian Semmler
2024-12-22 11:47:39 -07:00
committed by GitHub
parent 3e6d789324
commit cbc3d7227e
9 changed files with 266 additions and 18 deletions

View File

@@ -38,7 +38,7 @@ public:
LegoWEGEdge();
~LegoWEGEdge() override;
LegoResult VTable0x04() override; // vtable+0x04
LegoS32 VTable0x04() override; // vtable+0x04
// FUNCTION: BETA10 0x100270c0
LegoU32 GetFlag0x10() { return m_flags & c_bit5 ? FALSE : TRUE; }
@@ -72,6 +72,8 @@ public:
friend class LegoPathController;
protected:
LegoS32 FUN_1009aea0();
LegoU8 m_flags; // 0x0c
LegoU8 m_unk0x0d; // 0x0d
LegoChar* m_name; // 0x10
@@ -79,7 +81,7 @@ protected:
Mx4DPointFloat* m_edgeNormals; // 0x2c
Mx3DPointFloat m_unk0x30; // 0x30
float m_unk0x44; // 0x44
LegoU8 m_unk0x48; // 0x48
LegoU8 m_numTriggers; // 0x48
PathWithTrigger* m_pathTrigger; // 0x4c
Mx3DPointFloat* m_unk0x50; // 0x50
};