[AI] Notification parameter for the LegoControlManager, used to propagate information about control e...
Notification parameter class for LEGO event notifications such as mouse events and modifier keys.
Area
Enumeration of all major in-game locations ("areas") for area/scene management and serialization.
[AI] Base class for game state blocks which encapsulate serializable and/or resettable aspects of the...
MxBool IsA(const char *p_name) const override
[AI] Tests if this object is of a given class name, directly or through inheritance.
Abstract base class providing an interface for file-like storage with binary and text read/write oper...
Represents the active 3D world, holding all entity, animation, sound, path, and ROI objects.
MxBool IsA(const char *p_name) const override
Runtime type checking; checks class hierarchy.
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
[AI] Notification parameter marking the end of an action, specialization of MxActionNotificationParam...
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...
[AI] Represents the state information specific to the Police area of the game.
void SetUnknown0x0c(undefined4 p_unk0x0c)
[AI] Set the value of the internal state variable at offset 0x0c.
void FUN_1005ea40()
[AI] Trigger the "donut" animation event.
PoliceState()
[AI] Constructs a new PoliceState. Initializes script and internal state. [AI]
MxResult Serialize(LegoStorage *p_storage) override
[AI] Serialize the PoliceState to or from the provided storage.
undefined4 GetUnknown0x0c()
[AI] Returns the value of the internal state variable at offset 0x0c.
const char * ClassName() const override
[AI] Returns the class name for this type; used for RTTI and IsA checks.
PoliceScript::Script m_policeScript
[AI] The currently active animation/script for the Police state (e.g. which minifig or animation runs...
MxBool IsA(const char *p_name) const override
[AI] Checks whether the given type name matches this class or any ancestor.
undefined4 m_unk0x0c
[AI] Internal flag to indicate whether the donut animation has started (1), finished (0),...
~PoliceState() override
[AI] Default destructor. [AI]
[AI] Main world object for the Police Station area in LEGO Island.
void Enable(MxBool p_enable) override
[AI] Enables or disables the Police world for input and activity.
MxBool VTable0x5c() override
[AI] Returns TRUE for this virtual slot (area loading indication or presence check).
~Police() override
[AI] Destructor: deregisters world from managers and clears input/world pointers. [AI]
MxBool Escape() override
[AI] Handles user request to exit the Police area (e.g., Escape key).
MxResult Create(MxDSAction &p_dsAction) override
[AI] Handles world creation, input setup, and PoliceState initialization.
MxLong Notify(MxParam &p_param) override
[AI] Handle incoming notifications (key presses, controls, end actions, transitions).
void ReadyWorld() override
[AI] Prepares the Police world for activation, setting music and disabling user input/3d as needed....
const char * ClassName() const override
[AI] Returns the class name for this type ("Police")—used for IsA and RTTI. [AI]
MxBool IsA(const char *p_name) const override
[AI] Checks if this object matches the given class name, including ancestors (LegoWorld).
Police()
[AI] Constructs the Police world, setting up default state and registering for notifications....
[AI] High-level manager for the in-game radio, handling notifications, playing/stopping,...