16 m_maxLinearVel = 40.0;
MxResult Create(MxDSAction &p_dsAction) override
[AI] Initialize this actor from a DSAction.
virtual void Exit()
[AI] Called when the actor is deactivated or moved out of player control, restoring previous actor if...
LegoWorld * m_world
[AI] Pointer to the current world instance actor is existing in. [AI]
[AI] Represents the main overworld (LEGO Island) in the game, acting as the central hub and state mac...
void SetDestLocation(LegoGameState::Area p_destLocation)
[AI] Sets destination location for world transitions (are used after certain cutscenes/buttons).
void Register(MxCore *p_listener)
[AI] Adds a listener to be notified of control events.
void Unregister(MxCore *p_listener)
[AI] Removes a listener so it no longer receives control events.
@ e_carrace
Car race (track, main). [AI].
virtual void Add(MxCore *p_object)
Adds an object (entity, presenter, ROI, etc.) to the appropriate world-managed list or set.
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
MxResult StartTransition(TransitionType p_animationType, MxS32 p_speed, MxBool p_doCopy, MxBool p_playMusicInAnim)
[AI] Begins a new transition animation of type p_animationType at the specified speed,...
@ e_mosaic
[AI] Complex mosaic block-out effect.
[AI] Represents the drivable race car entity in the LEGO Island world.
MxLong HandleClick() override
[AI] Handles click interaction with the RaceCar.
MxResult Create(MxDSAction &p_dsAction) override
[AI] Initializes the RaceCar from an MxDSAction.
~RaceCar() override
[AI] Destructor which unregisters the RaceCar from the control manager and performs cleanup.
#define DECOMP_SIZE_ASSERT(T, S)
MxBool FUN_1003ef60()
[AI] Determines if the current actor can exit their area, based on state/zone/vehicle.
MxAtomId * g_isleScript
[AI] Node used in hierarchical scene graphs and animation trees. [AI]
MxTransitionManager * TransitionManager()
[AI] Accessor for the MxTransitionManager, handling level transitions, fades, and world changes....
LegoWorld * FindWorld(const MxAtomId &p_atom, MxS32 p_entityid)
[AI] Searches for or retrieves a LegoWorld instance based on an atom id and entity id.
LegoControlManager * ControlManager()
[AI] Accessor for the control manager through the input manager; manages higher-level user/game contr...
LegoWorld * CurrentWorld()
[AI] Accessor for the currently active LegoWorld instance. [AI]