Various fixes in constructors (#1089)

* Various fixes in constructors

* Address review comment

---------

Co-authored-by: jonschz <jonschz@users.noreply.github.com>
This commit is contained in:
jonschz
2024-08-21 19:42:49 +02:00
committed by GitHub
parent 757df96c0d
commit b649902578
9 changed files with 106 additions and 5 deletions

View File

@@ -28,6 +28,42 @@ MxResult LegoCarBuild::Create(MxDSAction& p_dsAction)
return SUCCESS;
}
// STUB: LEGO1 0x10022fc0
void LegoCarBuild::VTable0x6c()
{
// TODO
}
// STUB: LEGO1 0x10023020
void LegoCarBuild::VTable0x70()
{
// TODO
}
// STUB: LEGO1 0x10023500
void LegoCarBuild::VTable0x74()
{
// TODO
}
// STUB: LEGO1 0x10023570
void LegoCarBuild::VTable0x78()
{
// TODO
}
// STUB: LEGO1 0x10023620
void LegoCarBuild::VTable0x7c()
{
// TODO
}
// STUB: LEGO1 0x100236a0
void LegoCarBuild::VTable0x80()
{
// TODO
}
// STUB: LEGO1 0x100238b0
MxResult LegoCarBuild::Tickle()
{

View File

@@ -36,10 +36,10 @@ LegoJetski::LegoJetski()
NotificationManager()->Register(this);
}
// STUB: LEGO1 0x10013aa0
// FUNCTION: LEGO1 0x10013aa0
LegoJetski::~LegoJetski()
{
// TODO
NotificationManager()->Unregister(this);
}
// STUB: LEGO1 0x10013bb0

View File

@@ -128,10 +128,25 @@ void LegoRace::Enable(MxBool p_enable)
LegoWorld::Enable(p_enable);
}
// STUB: LEGO1 0x10015f30
// FUNCTION: LEGO1 0x10015f30
RaceState::RaceState()
{
// TODO
m_state[0].m_id = 1;
m_state[0].m_unk0x02 = 0;
m_state[0].m_score = 0;
m_state[1].m_id = 2;
m_state[1].m_unk0x02 = 0;
m_state[1].m_score = 0;
m_state[2].m_id = 3;
m_state[2].m_unk0x02 = 0;
m_state[2].m_score = 0;
m_state[3].m_id = 4;
m_state[3].m_unk0x02 = 0;
m_state[3].m_score = 0;
m_state[4].m_id = 5;
m_state[4].m_unk0x02 = 0;
m_state[4].m_score = 0;
m_unk0x28 = 0;
}
// FUNCTION: LEGO1 0x10016140