2023-06-29 04:10:08 -04:00
|
|
|
#ifndef DUNEBUGGY_H
|
|
|
|
#define DUNEBUGGY_H
|
|
|
|
|
2023-09-10 08:01:39 -04:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "islepathactor.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d8f98
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x16c
|
2023-10-24 19:38:27 -04:00
|
|
|
class DuneBuggy : public IslePathActor {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
DuneBuggy();
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10067c30
|
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 0x100f0410
|
2023-10-24 19:38:27 -04:00
|
|
|
return "DuneBuggy";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10067c40
|
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, DuneBuggy::ClassName()) || IslePathActor::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-06-16 10:47:53 -04:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
2024-07-02 15:16:35 -04:00
|
|
|
void VTable0x70(float p_time) override; // vtable+0x70
|
2024-06-16 10:47:53 -04:00
|
|
|
MxLong HandleClick() override; // vtable+0xcc
|
|
|
|
MxLong HandleControl(LegoControlManagerNotificationParam& p_param) override; // vtable+0xd4
|
|
|
|
MxLong HandlePathStruct(LegoPathStructNotificationParam& p_param) override; // vtable+0xdc
|
|
|
|
void Exit() override; // vtable+0xe4
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-07-02 15:16:35 -04:00
|
|
|
void ActivateSceneActions();
|
2024-03-17 13:01:47 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10067dc0
|
|
|
|
// DuneBuggy::`scalar deleting destructor'
|
|
|
|
|
2023-09-10 08:01:39 -04:00
|
|
|
private:
|
2024-07-02 15:16:35 -04:00
|
|
|
static MxS32 GetDashboardOffset(const char* p_variable);
|
|
|
|
|
|
|
|
MxS16 m_dashboard; // 0x160
|
|
|
|
MxFloat m_fuel; // 0x164
|
|
|
|
MxFloat m_time; // 0x168
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // DUNEBUGGY_H
|