Implement/match LegoPathStruct (#944)

* Implement/match LegoPathStruct

* Rename some nums

* Consistent naming

* Naming

* relax regex

* Name some functions

* Improve naming

* Rename
This commit is contained in:
Christian Semmler
2024-05-21 15:03:50 -04:00
committed by GitHub
parent bc91fd2189
commit 8fee73c525
18 changed files with 225 additions and 40 deletions

View File

@@ -5,7 +5,7 @@
#include "legoweedge.h"
#include "mxgeometry/mxgeometry3d.h"
struct LegoPathStruct;
class LegoPathStruct;
// might be a struct with public members
// VTABLE: LEGO1 0x100db7f8
@@ -20,19 +20,19 @@ public:
};
// SIZE 0x0c
struct Path {
struct PathWithTrigger {
// FUNCTION: LEGO1 0x10048280
// FUNCTION: BETA10 0x100bd450
Path()
PathWithTrigger()
{
m_unk0x00 = NULL;
m_unk0x04 = 0;
m_pathStruct = NULL;
m_data = 0;
m_unk0x08 = 0.0f;
}
LegoPathStruct* m_unk0x00; // 0x00
undefined4 m_unk0x04; // 0x04
float m_unk0x08; // 0x08
LegoPathStruct* m_pathStruct; // 0x00
unsigned int m_data; // 0x04
float m_unk0x08; // 0x08
};
LegoWEGEdge();
@@ -71,7 +71,7 @@ protected:
Mx3DPointFloat m_unk0x30; // 0x30
LegoU32 m_unk0x44; // 0x44
LegoU8 m_unk0x48; // 0x48
Path* m_unk0x4c; // 0x4c
PathWithTrigger* m_unk0x4c; // 0x4c
Mx3DPointFloat* m_unk0x50; // 0x50
};