125 void Animate(
float p_time)
override;
157 void Exit()
override;
Derived path actor type for handling player transitions and activities on LEGO Island.
[AI] Notification parameter for the LegoControlManager, used to propagate information about control e...
Notification parameter for signaling the end of an animation in the LEGO Island engine.
[AI] Specialized notification parameter used for path structure related events in LEGO Island.
[AI] Base class for game state blocks which encapsulate serializable and/or resettable aspects of the...
ScoreColor
[AI] Score coloring values for in-game display feedback or logic.
Abstract base class providing an interface for file-like storage with binary and text read/write oper...
[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] State class for the TowTrack mini-game, storing scores by character and handling their serializa...
MxS16 GetHighScore(MxU8 p_actorId)
[AI] Retrieves the highscore for a given actor in the Tow Track mini-game.
MxBool IsA(const char *p_name) const override
[AI] Checks if this instance is of the provided name or derives from a parent with that name.
void UpdateScore(ScoreColor p_score, MxS16 p_actorId)
[AI] Updates the score for an actor and also updates the highscore if the new score exceeds the previ...
MxResult Serialize(LegoStorage *p_storage) override
[AI] Serializes or deserializes the mission state, including per-actor scores and highscores,...
MxS16 m_peScore
[AI] Current Pepper score in the mission.
MxLong m_startTime
[AI] Start time of the mission attempt, used to track performance.
MxS16 m_paScore
[AI] Current Papa score in the mission.
MxS16 m_maHighScore
[AI] Highscore for Mama achieved so far in the mission.
MxBool m_unk0x10
[AI] Flag for one-time event in end-sequence (prevents repeated trigger).
MxS16 m_niHighScore
[AI] Highscore for Nick achieved so far in the mission.
const char * ClassName() const override
[AI] Returns the class name for RTTI/dispatch.
MxS16 m_laScore
[AI] Current Laura score in the mission.
MxS16 m_laHighScore
[AI] Highscore for Laura achieved so far in the mission.
MxS16 m_niScore
[AI] Current Nick score in the mission.
MxS16 m_paHighScore
[AI] Highscore for Papa achieved so far in the mission.
MxS16 m_maScore
[AI] Current Mama score in the mission.
TowTrackMissionState()
[AI] Constructs and initializes all score and state values for the Tow Track mini-game.
undefined4 m_unk0x08
[AI] Mission substage/step flag for Tow Track, typically takes 0,1,2,3 (purpose per stage flow).
MxS16 m_peHighScore
[AI] Highscore for Pepper achieved so far in the mission.
[AI] 3D world actor for the Tow Track mini-game; manages Tow Track mission logic, scene activation an...
void Animate(float p_time) override
[AI] Main per-frame update.
TowTrack()
[AI] Constructs the TowTrack actor and initializes runtime state.
~TowTrack() override
[AI] Destructor unregisters this TowTrack from control handlers and performs cleanup.
MxLong HandlePathStruct(LegoPathStructNotificationParam &p_param) override
[AI] Handles path-structure trigger events (e.g., player crossing locations on path networks).
void StopActions()
[AI] Halts all ongoing Tow Track mini-game actions.
MxLong HandleControl(LegoControlManagerNotificationParam &p_param) override
[AI] Handles user input or control notifications (such as UI widget actions) directed at TowTrack.
void FUN_1004dbe0()
[AI] Handles cleanup tasks upon mini-game exit, including resetting state variables and unregistering...
virtual MxLong HandleEndAction(MxEndActionNotificationParam &p_param)
[AI] Handles end of scripted in-game action (or cutscene) for the TowTrack.
void Exit() override
[AI] Called when the TowTrack mini-game is exited (by player or action/trigger).
void ActivateSceneActions()
[AI] Triggers scene-based scripted actions according to mission state.
MxLong HandleEndAnim(LegoEndAnimNotificationParam &p_param) override
[AI] Called when an animation finishes; used for state progression in the mini-game.
MxLong Notify(MxParam &p_param) override
[AI] Notifies the TowTrack actor of an event.
void CreateState()
[AI] Ensures the TowTrackMissionState exists and is registered in the global state manager.
MxBool IsA(const char *p_name) const override
[AI] Checks if this instance is of the provided name or derives from a parent with that name.
MxLong HandleClick() override
[AI] Handles user (mouse) click event on the TowTrack, including state setup and spawning side-effect...
MxResult Create(MxDSAction &p_dsAction) override
[AI] Instantiates or restores this actor in the current world according to DSAction.
const char * ClassName() const override
[AI] Returns the class name for RTTI/dispatch.
void FUN_1004dab0()
[AI] Begins the Tow Track mission, sets state variable, and triggers click-handling sequence.