2023-06-29 04:10:08 -04:00
|
|
|
#ifndef CARRACE_H
|
|
|
|
#define CARRACE_H
|
|
|
|
|
2023-12-27 13:27:02 -05:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legorace.h"
|
|
|
|
|
2024-08-21 16:30:27 -04:00
|
|
|
class RaceSkel;
|
|
|
|
|
2024-06-03 12:53:25 -04:00
|
|
|
// VTABLE: LEGO1 0x100d4b70
|
2024-08-08 15:55:01 -04:00
|
|
|
// VTABLE: BETA10 0x101bd5f0
|
2024-06-03 12:53:25 -04:00
|
|
|
// SIZE 0x2c
|
|
|
|
class CarRaceState : public RaceState {
|
|
|
|
public:
|
|
|
|
// FUNCTION: LEGO1 0x1000dd30
|
2024-08-08 15:55:01 -04:00
|
|
|
// FUNCTION: BETA10 0x100a9100
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2024-06-03 12:53:25 -04:00
|
|
|
{
|
|
|
|
// STRING: LEGO1 0x100f009c
|
|
|
|
return "CarRaceState";
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000dd40
|
2024-08-08 15:55:01 -04:00
|
|
|
// FUNCTION: BETA10 0x100a9130
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
2024-06-03 12:53:25 -04:00
|
|
|
{
|
|
|
|
return !strcmp(p_name, CarRaceState::ClassName()) || RaceState::IsA(p_name);
|
|
|
|
}
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1000f740
|
|
|
|
// CarRaceState::`scalar deleting destructor'
|
|
|
|
};
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d5e50
|
2024-08-08 15:55:01 -04:00
|
|
|
// VTABLE: BETA10 0x101be290
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x154
|
2023-10-24 19:38:27 -04:00
|
|
|
class CarRace : public LegoRace {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
CarRace();
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10016b20
|
2024-08-08 15:55:01 -04:00
|
|
|
// FUNCTION: BETA10 0x100c9870
|
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 0x100f0528
|
2023-10-24 19:38:27 -04:00
|
|
|
return "CarRace";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10016b30
|
2024-08-08 15:55:01 -04:00
|
|
|
// FUNCTION: BETA10 0x100c98a0
|
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, CarRace::ClassName()) || LegoRace::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-12-27 13:27:02 -05:00
|
|
|
|
2024-06-16 10:47:53 -04:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
void ReadyWorld() override; // vtable+0x50
|
|
|
|
MxBool Escape() override; // vtable+0x64
|
|
|
|
MxLong HandleClick(LegoEventNotificationParam&) override; // vtable+0x6c
|
|
|
|
MxLong HandlePathStruct(LegoPathStructNotificationParam&) override; // vtable+0x70
|
|
|
|
MxLong HandleEndAction(MxEndActionNotificationParam&) override; // vtable+0x74
|
|
|
|
MxLong HandleType0Notification(MxNotificationParam&) override; // vtable+0x78
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-07-17 10:03:02 -04:00
|
|
|
// FUNCTION: BETA10 0x100cd060
|
2024-08-21 16:30:27 -04:00
|
|
|
RaceSkel* GetSkeleton() { return m_skeleton; }
|
|
|
|
|
|
|
|
// FUNCTION: BETA10 0x100f16f0
|
|
|
|
void SetSkeleton(RaceSkel* p_skeleton) { m_skeleton = p_skeleton; }
|
2024-07-17 10:03:02 -04:00
|
|
|
|
2024-11-23 14:33:15 -05:00
|
|
|
void FUN_10017820(MxS32 p_param1, MxS16 p_param2);
|
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10016c70
|
|
|
|
// CarRace::`scalar deleting destructor'
|
|
|
|
|
2023-12-27 13:27:02 -05:00
|
|
|
private:
|
2024-11-23 14:33:15 -05:00
|
|
|
static MxS32 g_unk0x100d5d10[];
|
|
|
|
static MxS32 g_unk0x100d5d30[];
|
|
|
|
static MxS32 g_unk0x100d5d40[];
|
|
|
|
static MxS32 g_unk0x100d5d50[];
|
|
|
|
static MxS32 g_unk0x100d5d60[];
|
|
|
|
|
|
|
|
MxS32 m_unk0x144; // 0x144
|
|
|
|
MxS32 m_unk0x148; // 0x148
|
|
|
|
MxS32 m_unk0x14c; // 0x14c
|
|
|
|
RaceSkel* m_skeleton; // 0x150
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CARRACE_H
|