2023-06-29 04:10:08 -04:00
|
|
|
#ifndef ISLE_H
|
|
|
|
#define ISLE_H
|
|
|
|
|
2024-03-19 15:54:13 -04:00
|
|
|
#include "actionsfwd.h"
|
2024-03-16 14:20:44 -04:00
|
|
|
#include "legogamestate.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
#include "legoworld.h"
|
2023-12-14 18:24:21 -05:00
|
|
|
#include "radio.h"
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-15 18:11:34 -05:00
|
|
|
class Pizza;
|
|
|
|
class Pizzeria;
|
|
|
|
class TowTrack;
|
|
|
|
class Ambulance;
|
|
|
|
class JukeBoxEntity;
|
|
|
|
class Helicopter;
|
|
|
|
class Bike;
|
|
|
|
class DuneBuggy;
|
2024-01-14 17:00:03 -05:00
|
|
|
class Motocycle;
|
2023-12-15 18:11:34 -05:00
|
|
|
class SkateBoard;
|
|
|
|
class RaceCar;
|
|
|
|
class Jetski;
|
|
|
|
class Act1State;
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100d6fb8
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x140
|
2023-10-24 19:38:27 -04:00
|
|
|
class Isle : public LegoWorld {
|
2023-06-29 04:10:08 -04:00
|
|
|
public:
|
2024-03-16 14:20:44 -04:00
|
|
|
enum {
|
2024-05-22 14:09:06 -04:00
|
|
|
c_playCamAnims = 0x20,
|
|
|
|
c_playMusic = 0x40
|
2024-03-16 14:20:44 -04:00
|
|
|
};
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
Isle();
|
2024-02-01 15:42:10 -05:00
|
|
|
~Isle() override;
|
2024-03-15 20:43:45 -04:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10030910
|
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 0x100f0458
|
2023-10-24 19:38:27 -04:00
|
|
|
return "Isle";
|
|
|
|
}
|
2023-06-29 04:10:08 -04:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10030920
|
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, Isle::ClassName()) || LegoWorld::IsA(p_name);
|
2023-10-24 19:38:27 -04:00
|
|
|
}
|
2023-12-16 11:01:22 -05:00
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
|
|
void ReadyWorld() override; // vtable+50
|
|
|
|
void Add(MxCore* p_object) override; // vtable+58
|
2024-03-15 20:43:45 -04:00
|
|
|
|
2023-12-15 18:11:34 -05:00
|
|
|
// FUNCTION: LEGO1 0x10030900
|
2024-02-01 15:42:10 -05:00
|
|
|
MxBool VTable0x5c() override { return TRUE; } // vtable+5c
|
2024-03-15 20:43:45 -04:00
|
|
|
|
2023-12-15 18:11:34 -05:00
|
|
|
// FUNCTION: LEGO1 0x10033170
|
2024-03-15 20:43:45 -04:00
|
|
|
void VTable0x60() override {} // vtable+60
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
MxBool VTable0x64() override; // vtable+64
|
2024-02-02 12:18:46 -05:00
|
|
|
void Enable(MxBool p_enable) override; // vtable+68
|
2023-12-15 17:29:32 -05:00
|
|
|
virtual void VTable0x6c(IslePathActor* p_actor); // vtable+6c
|
2023-12-15 18:11:34 -05:00
|
|
|
|
2024-03-18 15:00:58 -04:00
|
|
|
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
|
2024-03-18 12:31:22 -04:00
|
|
|
MxLong HandleClick(LegoControlManagerEvent& p_param);
|
2023-12-16 11:01:22 -05:00
|
|
|
MxLong HandleType19Notification(MxParam& p_param);
|
|
|
|
MxLong HandleTransitionEnd();
|
2024-03-18 15:00:58 -04:00
|
|
|
void HandleElevatorEndAction();
|
2024-03-18 12:31:22 -04:00
|
|
|
void FUN_10031590();
|
2024-01-13 15:42:09 -05:00
|
|
|
void FUN_10032620();
|
2024-03-16 14:20:44 -04:00
|
|
|
void FUN_100330e0();
|
2024-03-29 14:09:53 -04:00
|
|
|
void FUN_10033350();
|
2024-03-17 13:01:47 -04:00
|
|
|
void FUN_10032d30(
|
|
|
|
IsleScript::Script p_script,
|
|
|
|
JukeboxScript::Script p_music,
|
|
|
|
const char* p_cameraLocation,
|
|
|
|
MxBool p_und
|
|
|
|
);
|
2023-12-16 11:01:22 -05:00
|
|
|
|
2024-03-17 13:01:47 -04:00
|
|
|
inline void SetDestLocation(LegoGameState::Area p_destLocation) { m_destLocation = p_destLocation; }
|
2024-03-15 20:43:45 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x10030a30
|
|
|
|
// Isle::`scalar deleting destructor'
|
|
|
|
|
2023-12-14 11:50:29 -05:00
|
|
|
protected:
|
2024-03-17 13:01:47 -04:00
|
|
|
Act1State* m_act1state; // 0xf8
|
|
|
|
Pizza* m_pizza; // 0xfc
|
|
|
|
Pizzeria* m_pizzeria; // 0x100
|
|
|
|
TowTrack* m_towtrack; // 0x104
|
|
|
|
Ambulance* m_ambulance; // 0x108
|
|
|
|
JukeBoxEntity* m_jukebox; // 0x10c
|
|
|
|
Helicopter* m_helicopter; // 0x110
|
|
|
|
Bike* m_bike; // 0x114
|
|
|
|
DuneBuggy* m_dunebuggy; // 0x118
|
|
|
|
Motocycle* m_motocycle; // 0x11c
|
|
|
|
SkateBoard* m_skateboard; // 0x120
|
|
|
|
RaceCar* m_racecar; // 0x124
|
|
|
|
Jetski* m_jetski; // 0x128
|
|
|
|
Radio m_radio; // 0x12c
|
|
|
|
LegoGameState::Area m_destLocation; // 0x13c
|
2023-06-29 04:10:08 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // ISLE_H
|