2023-06-29 04:10:08 -04:00
|
|
|
#ifndef HELICOPTER_H
|
|
|
|
#define HELICOPTER_H
|
|
|
|
|
2023-10-24 04:14:45 -04:00
|
|
|
#include "helicopterstate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "islepathactor.h"
|
2023-11-19 09:38:07 -05:00
|
|
|
#include "realtime/matrix.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-14 11:50:29 -05:00
|
|
|
// SIZE 0x34
|
|
|
|
class HelicopterSubclass {
|
|
|
|
public:
|
|
|
|
inline HelicopterSubclass() : m_unk0x30(0) {}
|
2024-01-12 19:34:38 -05:00
|
|
|
MxResult FUN_100040a0(Vector4& p_v, float p_f);
|
2023-12-14 11:50:29 -05:00
|
|
|
|
|
|
|
private:
|
2024-01-29 16:17:17 -05:00
|
|
|
Mx4DPointFloat m_unk0x00; // 0x00
|
2024-01-12 19:34:38 -05:00
|
|
|
Mx4DPointFloat m_unk0x18; // 0x18
|
|
|
|
undefined4 m_unk0x30; // 0x30
|
2023-12-14 11:50:29 -05:00
|
|
|
};
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d40f8
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x230
|
2023-10-24 19:38:27 -04:00
|
|
|
class Helicopter : public IslePathActor {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
Helicopter();
|
2024-01-29 16:17:17 -05:00
|
|
|
virtual ~Helicopter() override; // vtable+0x00
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10003070
|
2023-10-24 19:38:27 -04:00
|
|
|
inline virtual const char* ClassName() const override // vtable+0x0c
|
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0130
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Helicopter";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10003080
|
2023-12-13 05:48:14 -05:00
|
|
|
inline virtual 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, Helicopter::ClassName()) || IslePathActor::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-01-13 15:00:11 -05:00
|
|
|
virtual MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
2024-01-20 18:04:46 -05:00
|
|
|
virtual void VTable0x70(float p_float) override; // vtable+0x70
|
|
|
|
virtual void VTable0x74(Matrix4& p_transform) override; // vtable+0x74
|
2023-12-14 11:50:29 -05:00
|
|
|
virtual MxU32 VTable0xcc() override; // vtable+0xcc
|
2024-01-28 16:09:33 -05:00
|
|
|
virtual MxU32 VTable0xd4(LegoControlManagerEvent& p_param) override; // vtable+0xd4
|
2023-12-14 11:50:29 -05:00
|
|
|
virtual MxU32 VTable0xd8(MxType18NotificationParam& p_param) override; // vtable+0xd8
|
|
|
|
virtual void VTable0xe4() override; // vtable+0xe4
|
2023-10-24 04:14:45 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10003210
|
2023-10-24 19:38:27 -04:00
|
|
|
// Helicopter::`scalar deleting destructor'
|
2023-10-24 04:14:45 -04:00
|
|
|
|
|
|
|
protected:
|
2024-01-12 19:34:38 -05:00
|
|
|
MxMatrix m_unk0x160; // 0x160
|
|
|
|
MxMatrix m_unk0x1a8; // 0x1a8
|
2023-12-14 11:50:29 -05:00
|
|
|
float m_unk0x1f0; // 0x1f0
|
|
|
|
HelicopterSubclass m_unk0x1f4; // 0x1f4
|
|
|
|
HelicopterState* m_state; // 0x228
|
|
|
|
MxAtomId m_script; // 0x22c
|
2023-10-24 04:14:45 -04:00
|
|
|
|
|
|
|
private:
|
2023-10-24 19:38:27 -04:00
|
|
|
void GetState();
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HELICOPTER_H
|