2023-12-26 18:10:28 -05:00
|
|
|
#ifndef LEGOACT2_H
|
|
|
|
#define LEGOACT2_H
|
|
|
|
|
2024-03-22 21:30:58 -04:00
|
|
|
#include "act2brick.h"
|
2024-06-03 12:53:25 -04:00
|
|
|
#include "legostate.h"
|
2024-01-20 18:04:46 -05:00
|
|
|
#include "legoworld.h"
|
2023-12-26 18:10:28 -05:00
|
|
|
|
2024-06-12 20:02:47 -04:00
|
|
|
class Act2Actor;
|
|
|
|
|
2024-06-03 12:53:25 -04:00
|
|
|
// VTABLE: LEGO1 0x100d4a70
|
|
|
|
// SIZE 0x10
|
|
|
|
class LegoAct2State : public LegoState {
|
|
|
|
public:
|
2024-06-12 20:02:47 -04:00
|
|
|
LegoAct2State()
|
|
|
|
{
|
|
|
|
m_unk0x08 = 0;
|
|
|
|
m_unk0x0c = 0;
|
|
|
|
}
|
2024-06-03 12:53:25 -04:00
|
|
|
~LegoAct2State() override {}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000df80
|
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 0x100f0428
|
|
|
|
return "LegoAct2State";
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000df90
|
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, LegoAct2State::ClassName()) || LegoState::IsA(p_name);
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1000df70
|
|
|
|
MxBool IsSerializable() override { return FALSE; } // vtable+0x14
|
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x1000e040
|
|
|
|
// LegoAct2State::`scalar deleting destructor'
|
|
|
|
|
2024-07-04 19:06:32 -04:00
|
|
|
undefined4 GetUnknown0x08() { return m_unk0x08; }
|
|
|
|
void SetUnknown0x0c(undefined p_unk0x0c) { m_unk0x0c = p_unk0x0c; }
|
2024-06-03 12:53:25 -04:00
|
|
|
|
|
|
|
// TODO: Most likely getters/setters are not used according to BETA.
|
|
|
|
|
|
|
|
undefined4 m_unk0x08; // 0x08
|
|
|
|
undefined m_unk0x0c; // 0x0c
|
|
|
|
};
|
|
|
|
|
2023-12-26 18:10:28 -05:00
|
|
|
// VTABLE: LEGO1 0x100d82e0
|
2024-09-14 19:14:11 -04:00
|
|
|
// VTABLE: BETA10 0x101ba898
|
2023-12-28 11:56:54 -05:00
|
|
|
// SIZE 0x1154
|
2024-01-18 08:34:14 -05:00
|
|
|
class LegoAct2 : public LegoWorld {
|
2024-03-22 21:30:58 -04:00
|
|
|
public:
|
2024-06-12 20:02:47 -04:00
|
|
|
LegoAct2();
|
2024-06-08 19:17:33 -04:00
|
|
|
~LegoAct2() override;
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
|
|
|
MxResult Tickle() override; // vtable+0x08
|
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
void ReadyWorld() override; // vtable+0x50
|
|
|
|
MxBool VTable0x5c() override; // vtable+0x5c
|
|
|
|
void VTable0x60() override; // vtable+0x60
|
2024-05-24 20:41:57 -04:00
|
|
|
MxBool Escape() override; // vtable+0x64
|
2024-02-02 12:18:46 -05:00
|
|
|
void Enable(MxBool p_enable) override; // vtable+0x68
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-07-04 19:06:32 -04:00
|
|
|
void SetUnknown0x1138(Act2Actor* p_unk0x1138) { m_unk0x1138 = p_unk0x1138; }
|
|
|
|
void SetUnknown0x1150(undefined4 p_unk0x1150) { m_unk0x1150 = p_unk0x1150; }
|
2024-03-29 14:09:53 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1004fe20
|
|
|
|
// LegoAct2::`scalar deleting destructor'
|
2024-03-22 21:30:58 -04:00
|
|
|
|
|
|
|
private:
|
2024-06-08 19:17:33 -04:00
|
|
|
void FUN_10051900();
|
|
|
|
|
2024-03-22 21:30:58 -04:00
|
|
|
Act2Brick m_bricks[10]; // 0x00f8
|
|
|
|
undefined m_unk0x10c0; // 0x10c0
|
|
|
|
undefined m_unk0x10c1; // 0x10c1
|
|
|
|
undefined m_unk0x10c2; // 0x10c2
|
|
|
|
undefined4 m_unk0x10c4; // 0x10c4
|
|
|
|
undefined4 m_unk0x10c8; // 0x10c8
|
2024-11-11 12:48:45 -05:00
|
|
|
LegoAct2State* m_gameState; // 0x10cc
|
2024-03-22 21:30:58 -04:00
|
|
|
undefined4 m_unk0x10d0; // 0x10d0
|
|
|
|
char* m_unk0x10d4; // 0x10d4
|
|
|
|
undefined4 m_unk0x10d8; // 0x10d8
|
|
|
|
MxMatrix m_unk0x10dc; // 0x10dc
|
|
|
|
undefined4 m_unk0x1124; // 0x1124
|
|
|
|
undefined4 m_unk0x1128; // 0x1128
|
|
|
|
undefined4 m_unk0x112c; // 0x112c
|
|
|
|
undefined4 m_unk0x1130; // 0x1130
|
|
|
|
undefined4 m_unk0x1134; // 0x1134
|
2024-06-12 20:02:47 -04:00
|
|
|
Act2Actor* m_unk0x1138; // 0x1138
|
2024-03-22 21:30:58 -04:00
|
|
|
undefined m_unk0x113c; // 0x113c
|
|
|
|
undefined4 m_unk0x1140; // 0x1140
|
|
|
|
undefined4 m_unk0x1144; // 0x1144
|
|
|
|
undefined m_unk0x1148[0x08]; // 0x1148
|
|
|
|
undefined4 m_unk0x1150; // 0x1150
|
2024-01-18 08:34:14 -05:00
|
|
|
};
|
2023-12-26 18:10:28 -05:00
|
|
|
|
|
|
|
#endif // LEGOACT2_H
|