isle-portable/LEGO1/lego/legoomni/src/race/carrace.cpp
Nathan M Gilbert fca8f74bd8
Fix Annotations and LegoAnimActor class structure. (#710)
* Fix size annotations for legoomni
Fix structure and add placeholder annotations for LegoAnimActor and subclasses

* Fix LegoCarRaceActor constructor
Fix function name in LegoRaceCar

* Add size assertions for legoomni and fix sizes

* Various style fixes

* Use other marker so vtable.py doesn't compare

* Revert "Use other marker so vtable.py doesn't compare"

This reverts commit 608985cd73856598b95c15aed9f8f022645e9e7a.

* Fix copy/paste error

* Remove stale comment.

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
2024-03-22 21:30:58 -04:00

58 lines
825 B
C++

#include "carrace.h"
DECOMP_SIZE_ASSERT(CarRace, 0x154)
// FUNCTION: LEGO1 0x10016a90
CarRace::CarRace()
{
this->m_unk0x150 = 0;
this->m_unk0x130 = MxRect32(0x16c, 0x154, 0x1ec, 0x15e);
}
// STUB: LEGO1 0x10016ce0
MxResult CarRace::Create(MxDSAction& p_dsAction)
{
// TODO
return SUCCESS;
}
// STUB: LEGO1 0x10016dd0
void CarRace::ReadyWorld()
{
// TODO
}
// STUB: LEGO1 0x10016f60
undefined4 CarRace::VTable0x74(undefined4)
{
// TODO
return 0;
}
// STUB: LEGO1 0x100170e0
undefined4 CarRace::VTable0x70(undefined4)
{
// TODO
return 0;
}
// STUB: LEGO1 0x10017650
undefined4 CarRace::VTable0x6c(undefined4)
{
// TODO
return 0;
}
// STUB: LEGO1 0x100177e0
undefined4 CarRace::VTable0x78(undefined4)
{
// TODO
return 0;
}
// STUB: LEGO1 0x10017900
MxBool CarRace::VTable0x64()
{
// TODO
return FALSE;
}