2023-12-26 18:10:28 -05:00
|
|
|
#ifndef PIZZERIA_H
|
|
|
|
#define PIZZERIA_H
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-04-11 07:55:22 -04:00
|
|
|
#include "decomp.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "isleactor.h"
|
2024-06-03 12:53:25 -04:00
|
|
|
#include "legostate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-04-27 10:06:12 -04:00
|
|
|
class PizzaMissionState;
|
|
|
|
|
2024-06-03 12:53:25 -04:00
|
|
|
// VTABLE: LEGO1 0x100d5ee8
|
|
|
|
// SIZE 0x58
|
|
|
|
class PizzeriaState : public LegoState {
|
|
|
|
public:
|
|
|
|
// SIZE 0x14
|
|
|
|
struct StateStruct {
|
|
|
|
undefined4 m_unk0x00; // 0x00
|
|
|
|
undefined4 m_unk0x04; // 0x04
|
|
|
|
undefined4 m_unk0x08; // 0x08
|
|
|
|
undefined4 m_unk0x0c; // 0x0c
|
|
|
|
undefined4 m_unk0x10; // 0x10
|
|
|
|
};
|
|
|
|
|
|
|
|
PizzeriaState();
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10017c20
|
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 0x100f0370
|
|
|
|
return "PizzeriaState";
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x10017c30
|
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, PizzeriaState::ClassName()) || LegoState::IsA(p_name);
|
|
|
|
}
|
|
|
|
|
2024-06-14 17:24:34 -04:00
|
|
|
MxResult Serialize(LegoFile* p_file) override; // vtable+0x1c
|
2024-06-03 12:53:25 -04:00
|
|
|
|
|
|
|
// SYNTHETIC: LEGO1 0x10017ce0
|
|
|
|
// PizzeriaState::`scalar deleting destructor'
|
|
|
|
|
2024-10-26 13:34:16 -04:00
|
|
|
MxS16 FUN_10017d50();
|
2024-06-03 12:53:25 -04:00
|
|
|
MxU32 FUN_10017d70();
|
|
|
|
|
|
|
|
// TODO: Most likely getters/setters are not used according to BETA.
|
|
|
|
|
|
|
|
Playlist m_unk0x08[5]; // 0x08
|
|
|
|
StateStruct m_unk0x44; // 0x44
|
|
|
|
};
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d5520
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x84
|
2023-10-24 19:38:27 -04:00
|
|
|
class Pizzeria : public IsleActor {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-04-27 10:06:12 -04:00
|
|
|
Pizzeria() : m_pizzeriaState(NULL) {}
|
2024-03-22 21:30:58 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000e780
|
2024-07-04 19:06:32 -04:00
|
|
|
const char* ClassName() const override // vtable+0x0c
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-27 15:59:42 -05:00
|
|
|
// STRING: LEGO1 0x100f0380
|
2023-11-04 09:47:35 -04:00
|
|
|
return "Pizzeria";
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000e790
|
2024-07-04 19:06:32 -04:00
|
|
|
MxBool IsA(const char* p_name) const override // vtable+0x10
|
2023-11-04 09:47:35 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
return !strcmp(p_name, Pizzeria::ClassName()) || IsleActor::IsA(p_name);
|
2023-11-04 09:47:35 -04:00
|
|
|
}
|
2024-01-18 08:34:14 -05:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
2024-06-16 10:47:53 -04:00
|
|
|
MxLong HandleClick() override; // vtable+0x68
|
2024-01-20 18:04:46 -05:00
|
|
|
|
2024-05-24 14:07:36 -04:00
|
|
|
void CreateState();
|
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x1000e8d0
|
|
|
|
// Pizzeria::`scalar deleting destructor'
|
2024-03-22 21:30:58 -04:00
|
|
|
|
|
|
|
private:
|
2024-04-27 10:06:12 -04:00
|
|
|
PizzeriaState* m_pizzeriaState; // 0x7c
|
|
|
|
PizzaMissionState* m_pizzaMissionState; // 0x80
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
2023-12-26 18:10:28 -05:00
|
|
|
#endif // PIZZERIA_H
|