mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-26 01:28:30 -05:00
Implement/Match LegoPathActor ctor (#772)
* Implement/Match LegoPathActor ctor * style --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
parent
6450774aa7
commit
14cb3e621a
2 changed files with 42 additions and 8 deletions
|
@ -8,6 +8,13 @@
|
|||
|
||||
class LegoPathController;
|
||||
|
||||
struct LegoActorStruct {
|
||||
LegoActorStruct();
|
||||
~LegoActorStruct();
|
||||
|
||||
Mx3DPointFloat m_unk0x00[4]; // 0x00
|
||||
};
|
||||
|
||||
// VTABLE: LEGO1 0x100d6e28
|
||||
// SIZE 0x154
|
||||
class LegoPathActor : public LegoActor {
|
||||
|
@ -101,16 +108,15 @@ class LegoPathActor : public LegoActor {
|
|||
MxFloat m_actorTime; // 0x80
|
||||
MxFloat m_lastTime; // 0x84
|
||||
LegoPathBoundary* m_boundary; // 0x88
|
||||
undefined m_unk0x8c[0x14]; // 0x8c
|
||||
MxFloat m_unk0xa0; // 0xa0
|
||||
undefined m_unk0xa4[0x38]; // 0xa4
|
||||
LegoActorStruct m_unk0x8c; // 0x8c
|
||||
MxU32 m_state; // 0xdc
|
||||
Edge* m_destEdge; // 0xe0
|
||||
undefined4 m_unk0xe4; // 0xe4
|
||||
undefined2 m_unk0xe8; // 0xe8
|
||||
undefined m_unk0xe8; // 0xe8
|
||||
undefined m_unk0xe9; // 0xe9
|
||||
MxBool m_userNavFlag; // 0xea
|
||||
MxMatrix m_unk0xec; // 0xec
|
||||
undefined4 m_unk0x134; // 0x134
|
||||
undefined* m_unk0x134; // 0x134
|
||||
LegoPathController* m_controller; // 0x138
|
||||
MxFloat m_unk0x13c; // 0x13c
|
||||
MxFloat m_unk0x140; // 0x140
|
||||
|
|
|
@ -2,16 +2,31 @@
|
|||
|
||||
DECOMP_SIZE_ASSERT(LegoPathActor, 0x154)
|
||||
|
||||
// STUB: LEGO1 0x1002d700
|
||||
// FUNCTION: LEGO1 0x1002d700
|
||||
LegoPathActor::LegoPathActor()
|
||||
{
|
||||
// TODO
|
||||
m_boundary = NULL;
|
||||
m_actorTime = 0;
|
||||
m_lastTime = 0;
|
||||
m_unk0x7c = 0;
|
||||
m_userNavFlag = FALSE;
|
||||
m_state = 0;
|
||||
m_unk0x134 = NULL;
|
||||
m_controller = NULL;
|
||||
m_unk0xe8 = 0;
|
||||
m_unk0x148 = 0;
|
||||
m_unk0x14c = 0;
|
||||
m_unk0x140 = 0.0099999998f;
|
||||
m_unk0x144 = 0.80000001f;
|
||||
m_unk0x150 = 2.0f;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1002d820
|
||||
LegoPathActor::~LegoPathActor()
|
||||
{
|
||||
// TODO
|
||||
if (m_unk0x134) {
|
||||
delete m_unk0x134;
|
||||
}
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1002d8d0
|
||||
|
@ -92,3 +107,16 @@ void LegoPathActor::VTable0xa8()
|
|||
{
|
||||
// TODO
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1009a0f0
|
||||
LegoActorStruct::LegoActorStruct()
|
||||
{
|
||||
for (MxS32 i = 0; i < _countof(m_unk0x00); i++) {
|
||||
m_unk0x00[i].Clear();
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1009a130
|
||||
LegoActorStruct::~LegoActorStruct()
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue