isle-portable/LEGO1/lego/legoomni/include/skateboard.h
2024-05-30 15:54:24 +02:00

49 lines
1.3 KiB
C++

#ifndef SKATEBOARD_H
#define SKATEBOARD_H
#include "decomp.h"
#include "islepathactor.h"
class Act1State;
// VTABLE: LEGO1 0x100d55f0
// SIZE 0x168
class SkateBoard : public IslePathActor {
public:
SkateBoard();
~SkateBoard() override;
// FUNCTION: LEGO1 0x1000fdd0
inline const char* ClassName() const override // vtable+0x0c
{
// STRING: LEGO1 0x100f041c
return "SkateBoard";
}
// FUNCTION: LEGO1 0x1000fde0
inline MxBool IsA(const char* p_name) const override // vtable+0x10
{
return !strcmp(p_name, SkateBoard::ClassName()) || IslePathActor::IsA(p_name);
}
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
MxU32 HandleClick() override; // vtable+0xcc
MxU32 VTable0xd0() override; // vtable+0xd0
MxU32 HandleControl(LegoControlManagerEvent& p_param) override; // vtable+0xd4
void VTable0xe4() override; // vtable+0xe4
inline void SetUnknown0x160(MxBool p_unk0x160) { m_unk0x160 = p_unk0x160; }
void ActivateSceneActions();
// SYNTHETIC: LEGO1 0x1000ff60
// SkateBoard::`scalar deleting destructor'
private:
void EnableScenePresentation(MxBool p_enable);
MxBool m_unk0x160; // 0x160
Act1State* m_act1state; // 0x164
};
#endif // SKATEBOARD_H