mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
* Implement/match LegoPathActor::ParseAction (#946) * Implement/match LegoPathActor::ParseAction * Fix naming * Space * Implement/match Isle::UpdateGlobe (#947) * Implement/match Isle::UpdateGlobe * Change function access * Implement/match Isle::CreateState and related (#948) * Implement/match actor Create functions (#949) * Implement/match Isle::Escape (#950) * Implement/match Isle::FUN_10033350 (#951) * Implement/match Isle::HandleType19Notification (#952) * Implement/match Isle::HandleType19Notification * Fix * Implement/match LegoAnimationManager::FUN_10063b90 (#953) * Implement/match LegoAnimationManager::FUN_100648f0 (#954) * Implement LegoROI::FUN_100a9410 (#955) * WIP * WIP * Remove space * Fix * Implement/match LegoExtraActor::VTable0x6c (#956) * Match LegoUnknown::FUN_1009a1e0 (#957) * Fix extra actor collisions (#958) * Implement/match IslePathActor::FUN_1001b660 (#960) * Refactor MxBitmap (again) (#961) * Remove this * Starting list of beta addrs * Static for height-specific abs, fix StrechBits * MxBitmap refactor * Implement/match LegoPathBoundary::FUN_100586e0 and FUN_10057fe0 (#962) * Implement/match LegoAnimPresenter::FUN_1006b140 (#963) * Implement LegoMeterPresenter::DrawMeter (#964) * Implement LegoMeterPresenter::DrawMeter * New MxRect16 header, offsets and size annotations * Missing mxtypes include * Implement/match LegoAnimationManager::FUN_10063270 (#965) * Implement/match LegoAnimMMPresenter::FUN_1004b840 (#966) * Implement/match LegoAnimationManager::FUN_10062e20 (#967) * Beta match MxPalette (#968) * Beta match MxPalette * Modern compiler fix * Implement/match LegoCameraController::FUN_10012290 and FUN_10012320 (#969) * Implement/match LegoControlManager::FUN_100293c0 (#970) * Implement/match Pizzeria::HandleClick (#971) * Implement/match Lego3DWavePresenter::StartingTickle (#972) * Implement/match Lego3DWavePresenter::StartingTickle * Fix annotation * Add StreamingTickle * Rename * Add static HandlerClassName function (#973) * Add static HandlerClassName function * Use method in PresenterNameDispatch --------- Co-authored-by: disinvite@users.noreply.github.com <disinvite@users.noreply.github.com>
106 lines
2.8 KiB
C++
106 lines
2.8 KiB
C++
#ifndef ISLE_H
|
|
#define ISLE_H
|
|
|
|
#include "actionsfwd.h"
|
|
#include "legogamestate.h"
|
|
#include "legoworld.h"
|
|
#include "radio.h"
|
|
|
|
class Act1State;
|
|
class Ambulance;
|
|
class Bike;
|
|
class DuneBuggy;
|
|
class Helicopter;
|
|
class Jetski;
|
|
class JukeBoxEntity;
|
|
class Motocycle;
|
|
class MxType19NotificationParam;
|
|
class Pizza;
|
|
class Pizzeria;
|
|
class RaceCar;
|
|
class SkateBoard;
|
|
class TowTrack;
|
|
|
|
// VTABLE: LEGO1 0x100d6fb8
|
|
// SIZE 0x140
|
|
class Isle : public LegoWorld {
|
|
public:
|
|
enum {
|
|
c_playCamAnims = 0x20,
|
|
c_playMusic = 0x40
|
|
};
|
|
|
|
Isle();
|
|
~Isle() override;
|
|
|
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
|
|
|
// FUNCTION: LEGO1 0x10030910
|
|
inline const char* ClassName() const override // vtable+0x0c
|
|
{
|
|
// STRING: LEGO1 0x100f0458
|
|
return "Isle";
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10030920
|
|
inline MxBool IsA(const char* p_name) const override // vtable+0x10
|
|
{
|
|
return !strcmp(p_name, Isle::ClassName()) || LegoWorld::IsA(p_name);
|
|
}
|
|
|
|
MxResult Create(MxDSAction& p_dsAction) override; // vtable+0x18
|
|
void ReadyWorld() override; // vtable+50
|
|
void Add(MxCore* p_object) override; // vtable+58
|
|
|
|
// FUNCTION: LEGO1 0x10030900
|
|
MxBool VTable0x5c() override { return TRUE; } // vtable+5c
|
|
|
|
// FUNCTION: LEGO1 0x10033170
|
|
void VTable0x60() override {} // vtable+60
|
|
|
|
MxBool Escape() override; // vtable+64
|
|
void Enable(MxBool p_enable) override; // vtable+68
|
|
virtual void VTable0x6c(LegoPathActor* p_actor); // vtable+6c
|
|
|
|
inline void SetDestLocation(LegoGameState::Area p_destLocation) { m_destLocation = p_destLocation; }
|
|
|
|
void FUN_10033350();
|
|
|
|
// SYNTHETIC: LEGO1 0x10030a30
|
|
// Isle::`scalar deleting destructor'
|
|
|
|
protected:
|
|
MxLong HandleEndAction(MxEndActionNotificationParam& p_param);
|
|
MxLong HandleControl(LegoControlManagerEvent& p_param);
|
|
MxLong HandleType19Notification(MxType19NotificationParam& p_param);
|
|
MxLong HandleTransitionEnd();
|
|
void HandleElevatorEndAction();
|
|
void UpdateGlobe();
|
|
void FUN_10032620();
|
|
void CreateState();
|
|
void FUN_10032d30(
|
|
IsleScript::Script p_script,
|
|
JukeboxScript::Script p_music,
|
|
const char* p_cameraLocation,
|
|
MxBool p_und
|
|
);
|
|
|
|
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
|
|
};
|
|
|
|
#endif // ISLE_H
|