Implement/Match LegoPathActor ctor (#772)

* Implement/Match LegoPathActor ctor

* style

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Nathan M Gilbert
2024-04-06 06:49:22 -04:00
committed by GitHub
parent 6450774aa7
commit 14cb3e621a
2 changed files with 42 additions and 8 deletions

View File

@@ -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()
{
}