Fix LegoCarRaceActor

This commit is contained in:
disinvite 2024-06-10 11:52:55 -04:00
parent 1bc669a391
commit 2ef7c3ea6c
2 changed files with 27 additions and 29 deletions

View File

@ -3,25 +3,23 @@
#include "legoraceactor.h" #include "legoraceactor.h"
/* // VTABLE: LEGO1 0x100da0c0 LegoRaceActor
VTABLE: LEGO1 0x100da0c0 LegoRaceActor // VTABLE: LEGO1 0x100da0c8 LegoAnimActor
VTABLE: LEGO1 0x100da0c8 LegoAnimActor // VTABLE: LEGO1 0x100da0d8 LegoPathActor
VTABLE: LEGO1 0x100da0d8 LegoPathActor // VTABLE: LEGO1 0x100da1a8 LegoCarRaceActor
VTABLE: LEGO1 0x100da1a8 LegoCarRaceActor
*/
// SIZE 0x1a0 // SIZE 0x1a0
class LegoCarRaceActor : public virtual LegoRaceActor { class LegoCarRaceActor : public virtual LegoRaceActor {
public: public:
LegoCarRaceActor(); LegoCarRaceActor();
// FUNCTION: LEGO1 0x10081650 // FUNCTION: LEGO1 0x10081660
inline const char* ClassName() const override // vtable+0x0c inline const char* ClassName() const override // vtable+0x0c
{ {
// STRING: LEGO1 0x100f0568 // STRING: LEGO1 0x100f0568
return "LegoCarRaceActor"; return "LegoCarRaceActor";
} }
// FUNCTION: LEGO1 0x10081670 // FUNCTION: LEGO1 0x10081680
inline MxBool IsA(const char* p_name) const override // vtable+0x10 inline MxBool IsA(const char* p_name) const override // vtable+0x10
{ {
return !strcmp(p_name, LegoCarRaceActor::ClassName()) || LegoRaceActor::IsA(p_name); return !strcmp(p_name, LegoCarRaceActor::ClassName()) || LegoRaceActor::IsA(p_name);
@ -62,7 +60,7 @@ class LegoCarRaceActor : public virtual LegoRaceActor {
virtual void VTable0x1c(); // vtable+0x1c virtual void VTable0x1c(); // vtable+0x1c
// SYNTHETIC: LEGO1 0x10081610 // SYNTHETIC: LEGO1 0x10081620
// LegoCarRaceActor::`scalar deleting destructor' // LegoCarRaceActor::`scalar deleting destructor'
protected: protected:

View File

@ -37,7 +37,26 @@ void LegoCarRaceActor::VTable0x1c()
{ {
} }
// STUB: LEGO1 0x10081830 // STUB: LEGO1 0x10080b40
void LegoCarRaceActor::SwitchBoundary(LegoPathBoundary*& p_boundary, LegoUnknown100db7f4*& p_edge, float& p_unk0xe4)
{
// TODO
}
// STUB: LEGO1 0x10080b70
void LegoCarRaceActor::VTable0x70(float p_float)
{
// TODO
}
// STUB: LEGO1 0x10080be0
MxResult LegoCarRaceActor::VTable0x9c()
{
// TODO
return SUCCESS;
}
// STUB: LEGO1 0x10081840
MxU32 LegoCarRaceActor::VTable0x6c( MxU32 LegoCarRaceActor::VTable0x6c(
LegoPathBoundary* p_boundary, LegoPathBoundary* p_boundary,
Vector3& p_v1, Vector3& p_v1,
@ -50,22 +69,3 @@ MxU32 LegoCarRaceActor::VTable0x6c(
// TODO // TODO
return 0; return 0;
} }
// STUB: LEGO1 0x10081d10
void LegoCarRaceActor::VTable0x70(float p_float)
{
// TODO
}
// STUB: LEGO1 0x10081d20
void LegoCarRaceActor::SwitchBoundary(LegoPathBoundary*& p_boundary, LegoUnknown100db7f4*& p_edge, float& p_unk0xe4)
{
// TODO
}
// STUB: LEGO1 0x10081d30
MxResult LegoCarRaceActor::VTable0x9c()
{
// TODO
return SUCCESS;
}