2023-06-29 04:10:08 -04:00
|
|
|
#ifndef LEGOCARRACEACTOR_H
|
|
|
|
#define LEGOCARRACEACTOR_H
|
|
|
|
|
|
|
|
#include "legoraceactor.h"
|
|
|
|
|
2024-06-10 13:04:40 -04:00
|
|
|
// VTABLE: LEGO1 0x100da0c0 LegoRaceActor
|
|
|
|
// VTABLE: LEGO1 0x100da0c8 LegoAnimActor
|
|
|
|
// VTABLE: LEGO1 0x100da0d8 LegoPathActor
|
|
|
|
// VTABLE: LEGO1 0x100da1a8 LegoCarRaceActor
|
2024-07-28 14:13:18 -04:00
|
|
|
// VTABLE: BETA10 0x101bea74 LegoRaceActor
|
|
|
|
// VTABLE: BETA10 0x101bea78 LegoAnimActor
|
|
|
|
// VTABLE: BETA10 0x101bea90 LegoPathActor
|
|
|
|
// VTABLE: BETA10 0x101beb80 LegoCarRaceActor
|
2024-03-22 21:30:58 -04:00
|
|
|
// SIZE 0x1a0
|
|
|
|
class LegoCarRaceActor : public virtual LegoRaceActor {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-03-22 21:30:58 -04:00
|
|
|
LegoCarRaceActor();
|
|
|
|
|
2024-06-10 13:04:40 -04:00
|
|
|
// FUNCTION: LEGO1 0x10081660
|
2024-07-28 14:13:18 -04:00
|
|
|
// FUNCTION: BETA10 0x100aab10
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0568
|
2023-10-24 19:38:27 -04:00
|
|
|
return "LegoCarRaceActor";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-06-10 13:04:40 -04:00
|
|
|
// FUNCTION: LEGO1 0x10081680
|
2024-07-28 14:13:18 -04:00
|
|
|
// FUNCTION: BETA10 0x100aa9e0
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-10-24 19:38:27 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, LegoCarRaceActor::ClassName()) || LegoRaceActor::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-18 08:34:14 -05:00
|
|
|
|
2024-04-17 06:34:21 -04:00
|
|
|
MxU32 VTable0x6c(
|
|
|
|
LegoPathBoundary* p_boundary,
|
|
|
|
Vector3& p_v1,
|
|
|
|
Vector3& p_v2,
|
|
|
|
float p_f1,
|
|
|
|
float p_f2,
|
|
|
|
Vector3& p_v3
|
2024-06-10 13:04:40 -04:00
|
|
|
) override; // vtable+0x6c
|
|
|
|
void VTable0x70(float p_float) override; // vtable+0x70
|
2024-05-20 14:27:00 -04:00
|
|
|
void SwitchBoundary(LegoPathBoundary*& p_boundary, LegoUnknown100db7f4*& p_edge, float& p_unk0xe4)
|
2024-05-20 12:27:54 -04:00
|
|
|
override; // vtable+0x98
|
|
|
|
MxResult VTable0x9c() override; // vtable+0x9c
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-07-28 14:13:18 -04:00
|
|
|
virtual void FUN_10080590(float p_float);
|
2024-03-22 21:30:58 -04:00
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10012bb0
|
|
|
|
virtual void FUN_10012bb0(float p_unk0x14) { m_unk0x14 = p_unk0x14; }
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10012bc0
|
|
|
|
virtual float FUN_10012bc0() { return m_unk0x14; }
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10012bd0
|
|
|
|
virtual void FUN_10012bd0(float p_unk0x10) { m_unk0x10 = p_unk0x10; }
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10012be0
|
|
|
|
virtual float FUN_10012be0() { return m_unk0x10; }
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10012bf0
|
|
|
|
virtual void FUN_10012bf0(float p_unk0x18) { m_unk0x18 = p_unk0x18; }
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10012c00
|
|
|
|
virtual float FUN_10012c00() { return m_unk0x18; }
|
|
|
|
|
2024-08-08 15:55:01 -04:00
|
|
|
virtual MxS32 VTable0x1c(LegoPathBoundary* p_boundary, LegoEdge* p_edge); // vtable+0x1c
|
2024-03-22 21:30:58 -04:00
|
|
|
|
2024-07-27 12:24:36 -04:00
|
|
|
// SYNTHETIC: LEGO1 0x10012c30
|
|
|
|
// LegoCarRaceActor::`vbase destructor'
|
|
|
|
|
2024-06-10 13:04:40 -04:00
|
|
|
// SYNTHETIC: LEGO1 0x10081620
|
2024-01-18 08:34:14 -05:00
|
|
|
// LegoCarRaceActor::`scalar deleting destructor'
|
2024-03-22 21:30:58 -04:00
|
|
|
|
|
|
|
protected:
|
2024-07-28 14:13:18 -04:00
|
|
|
MxFloat m_unk0x08; // 0x08
|
|
|
|
MxU8 m_unk0x0c; // 0x0c
|
|
|
|
|
|
|
|
// Could be a multiplier for the maximum speed when going straight
|
|
|
|
MxFloat m_unk0x10; // 0x10
|
|
|
|
|
|
|
|
// Could be the acceleration
|
|
|
|
MxFloat m_unk0x14; // 0x14
|
|
|
|
|
|
|
|
MxFloat m_unk0x18; // 0x18
|
|
|
|
|
|
|
|
// Could be the current timestamp for time-based movement
|
|
|
|
MxFloat m_unk0x1c; // 0x1c
|
2024-08-04 15:13:12 -04:00
|
|
|
|
|
|
|
static MxFloat g_unk0x100f7aec;
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2024-07-28 14:13:18 -04:00
|
|
|
// GLOBAL: LEGO1 0x100da0b0
|
|
|
|
// LegoCarRaceActor::`vbtable'
|
|
|
|
|
|
|
|
// GLOBAL: LEGO1 0x100da0a8
|
|
|
|
// LegoCarRaceActor::`vbtable'{for `LegoAnimActor'}
|
|
|
|
|
|
|
|
// GLOBAL: LEGO1 0x100da098
|
|
|
|
// LegoCarRaceActor::`vbtable'{for `LegoRaceActor'}
|
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
#endif // LEGOCARRACEACTOR_H
|