isle-portable/LEGO1/lego/legoomni/src/actors/racecar.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

33 lines
474 B
C++

#include "racecar.h"
#include "legocontrolmanager.h"
#include "misc.h"
DECOMP_SIZE_ASSERT(RaceCar, 0x164)
// FUNCTION: LEGO1 0x10028200
RaceCar::RaceCar()
{
m_unk0x13c = 40.0;
}
// FUNCTION: LEGO1 0x10028420
RaceCar::~RaceCar()
{
ControlManager()->Unregister(this);
VTable0xe4();
}
// STUB: LEGO1 0x10028490
MxResult RaceCar::Create(MxDSAction& p_dsAction)
{
// TODO
return SUCCESS;
}
// STUB: LEGO1 0x100284d0
MxU32 RaceCar::VTable0xcc()
{
// TODO
return 0;
}