2023-06-29 04:10:08 -04:00
|
|
|
#ifndef HOSPITAL_H
|
|
|
|
#define HOSPITAL_H
|
|
|
|
|
2024-01-01 22:30:50 -05:00
|
|
|
#include "decomp.h"
|
2024-03-13 11:45:27 -04:00
|
|
|
#include "hospitalstate.h"
|
2024-03-13 13:17:20 -04:00
|
|
|
#include "legogamestate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
2024-03-15 19:16:43 -04:00
|
|
|
#include "mxstillpresenter.h"
|
2024-03-13 16:32:20 -04:00
|
|
|
#include "radio.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d9730
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x12c
|
2023-10-24 19:38:27 -04:00
|
|
|
class Hospital : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
Hospital();
|
2024-02-01 15:42:10 -05:00
|
|
|
~Hospital() override; // vtable+0x00
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
|
|
|
MxResult Tickle() override; // vtable+0x08
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100746b0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline 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 0x100f0490
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Hospital";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x100746c0
|
2024-02-01 15:42:10 -05:00
|
|
|
inline 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, Hospital::ClassName()) || LegoWorld::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2024-01-01 22:30:50 -05:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
void ReadyWorld() override; // vtable+0x50
|
|
|
|
MxBool VTable0x5c() override; // vtable+0x5c
|
|
|
|
MxBool VTable0x64() 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-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100747d0
|
|
|
|
// Hospital::`scalar deleting destructor'
|
|
|
|
|
2024-01-01 22:30:50 -05:00
|
|
|
private:
|
2024-03-13 16:32:20 -04:00
|
|
|
MxLong HandleKeyPress(MxS8 p_key);
|
|
|
|
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
|
|
|
|
MxLong HandleButtonDown(LegoControlManagerEvent& p_param);
|
|
|
|
MxBool HandleClick(LegoControlManagerEvent& p_param);
|
|
|
|
|
2024-03-13 13:17:20 -04:00
|
|
|
undefined2 m_unk0xf8; // 0xf8
|
|
|
|
LegoGameState::Area m_destLocation; // 0xfc
|
|
|
|
undefined2 m_unk0x100; // 0x100
|
|
|
|
HospitalState* m_hospitalState; // 0x104
|
|
|
|
undefined2 m_unk0x108; // 0x108
|
|
|
|
undefined4 m_unk0x10c; // 0x10c
|
2024-03-15 19:16:43 -04:00
|
|
|
MxStillPresenter* m_unk0x110; // 0x110
|
|
|
|
MxStillPresenter* m_unk0x114; // 0x114
|
2024-03-13 13:17:20 -04:00
|
|
|
undefined m_unk0x118; // 0x118
|
2024-03-15 19:16:43 -04:00
|
|
|
MxLong m_unk0x11c; // 0x11c
|
|
|
|
MxLong m_unk0x120; // 0x120
|
2024-03-13 13:17:20 -04:00
|
|
|
undefined m_unk0x124[4]; // 0x124
|
|
|
|
undefined m_unk0x128; // 0x128
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // HOSPITAL_H
|