mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
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:

committed by
GitHub

parent
bc91fd2189
commit
8fee73c525
@@ -1,7 +1,7 @@
|
||||
#include "legowegedge.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoWEGEdge, 0x54)
|
||||
DECOMP_SIZE_ASSERT(LegoWEGEdge::Path, 0x0c)
|
||||
DECOMP_SIZE_ASSERT(LegoWEGEdge::PathWithTrigger, 0x0c)
|
||||
|
||||
// FUNCTION: LEGO1 0x1009a730
|
||||
LegoWEGEdge::LegoWEGEdge()
|
||||
|
@@ -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
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user