mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
Implement/match LegoPathController::ReadBoundaries (#908)
* Implement/match LegoPathController::ReadBoundaries * Allow spawn
This commit is contained in:

committed by
GitHub

parent
1f0a2a50ce
commit
f88f7b115e
@@ -5,6 +5,7 @@
|
||||
#include "legoedge.h"
|
||||
#include "misc/legotypes.h"
|
||||
|
||||
// might be a struct with public members
|
||||
// VTABLE: LEGO1 0x100db7c0
|
||||
// SIZE 0x0c
|
||||
class LegoWEEdge {
|
||||
@@ -18,6 +19,12 @@ public:
|
||||
inline LegoEdge** GetEdges() { return m_edges; }
|
||||
inline LegoU32 IsEqual(LegoWEEdge& p_other) { return this == &p_other; }
|
||||
|
||||
inline void SetEdges(LegoEdge** p_edges, LegoU8 p_numEdges)
|
||||
{
|
||||
m_edges = p_edges;
|
||||
m_numEdges = p_numEdges;
|
||||
}
|
||||
|
||||
// SYNTHETIC: LEGO1 0x1009a570
|
||||
// LegoWEEdge::`scalar deleting destructor'
|
||||
|
||||
|
@@ -1,6 +1,7 @@
|
||||
#include "legowegedge.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(LegoWEGEdge, 0x54)
|
||||
DECOMP_SIZE_ASSERT(LegoWEGEdge::Path, 0x0c)
|
||||
|
||||
// FUNCTION: LEGO1 0x1009a730
|
||||
LegoWEGEdge::LegoWEGEdge()
|
||||
|
@@ -5,10 +5,29 @@
|
||||
#include "legoweedge.h"
|
||||
#include "mxgeometry/mxgeometry3d.h"
|
||||
|
||||
struct LegoPathStruct;
|
||||
|
||||
// might be a struct with public members
|
||||
// VTABLE: LEGO1 0x100db7f8
|
||||
// SIZE 0x54
|
||||
class LegoWEGEdge : public LegoWEEdge {
|
||||
public:
|
||||
// SIZE 0x0c
|
||||
struct Path {
|
||||
// FUNCTION: LEGO1 0x10048280
|
||||
// FUNCTION: BETA10 0x100bd450
|
||||
Path()
|
||||
{
|
||||
m_unk0x00 = NULL;
|
||||
m_unk0x04 = 0;
|
||||
m_unk0x08 = 0;
|
||||
}
|
||||
|
||||
LegoPathStruct* m_unk0x00; // 0x00
|
||||
undefined4 m_unk0x04; // 0x04
|
||||
undefined4 m_unk0x08; // 0x08
|
||||
};
|
||||
|
||||
LegoWEGEdge();
|
||||
~LegoWEGEdge() override;
|
||||
|
||||
@@ -22,6 +41,8 @@ public:
|
||||
// SYNTHETIC: LEGO1 0x1009a7e0
|
||||
// LegoWEGEdge::`scalar deleting destructor'
|
||||
|
||||
friend class LegoPathController;
|
||||
|
||||
private:
|
||||
LegoU8 m_unk0x0c; // 0x0c
|
||||
LegoU8 m_unk0x0d; // 0x0d
|
||||
@@ -31,8 +52,8 @@ private:
|
||||
Mx3DPointFloat m_unk0x30; // 0x30
|
||||
LegoU32 m_unk0x44; // 0x44
|
||||
LegoU8 m_unk0x48; // 0x48
|
||||
undefined* m_unk0x4c; // 0x4c
|
||||
undefined* m_unk0x50; // 0x50
|
||||
Path* m_unk0x4c; // 0x4c
|
||||
Mx3DPointFloat* m_unk0x50; // 0x50
|
||||
};
|
||||
|
||||
#endif // __LEGOWEGEDGE_H
|
||||
|
Reference in New Issue
Block a user