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-06-03 12:53:25 -04:00
|
|
|
// VTABLE: LEGO1 0x100d4b70
|
|
|
|
// SIZE 0x2c
|
|
|
|
class CarRaceState : public RaceState {
|
|
|
|
public:
|
|
|
|
// FUNCTION: LEGO1 0x1000dd30
|
|
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
|
|
|
// STRING: LEGO1 0x100f009c
|
|
|
|
return "CarRaceState";
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000dd40
|
|
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
|
|
{
|
|
|
|
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
|
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-02-01 15:42:10 -05:00
|
|
|
inline 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-02-01 15:42:10 -05:00
|
|
|
inline 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-13 14:10:19 -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(LegoPathStructEvent&) override; // vtable+0x70
|
|
|
|
MxLong HandleEndAction(MxEndActionNotificationParam&) override; // vtable+0x74
|
|
|
|
MxLong HandleType0Notification(MxNotificationParam&) override; // vtable+0x78
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10016c70
|
|
|
|
// CarRace::`scalar deleting destructor'
|
|
|
|
|
2023-12-27 13:27:02 -05:00
|
|
|
private:
|
|
|
|
undefined m_unk0x144[12]; // 0x144
|
|
|
|
undefined4 m_unk0x150; // 0x150
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CARRACE_H
|