230 if (!p_isWorldActive) {
244 for (
MxS32 first = p_first, last = p_last; first <= last; first++) {
Lego3DView * GetLego3DView()
[AI] Returns the encapsulated Lego3DView instance.
ViewManager * GetViewManager()
[AI] Returns the ViewManager responsible for managing scene objects and transformations.
[AI] Animation manager handling all world and character animation state, loading, and logic for extra...
[AI] Manages LEGO buildings in the world, including their state, animation, switching,...
[AI] Manages reference-counted characters and provides character creation, switching,...
[AI] Manages control presenters and dispatches notifications for control/input events within the LEGO...
Comprehensive persistent game state manager: handles save/load, player selection, area switching,...
[AI] Handles user navigation input (keyboard and joystick) and determines avatar movement and directi...
[AI] Central hub singleton for the LEGO Island game engine, managing all core game systems,...
void FUN_1005b4f0(MxBool p_disable, MxU16 p_flags)
[AI] Enables or disables input/3d/screen clearing in a single call, based on flags.
LegoCharacterManager * GetCharacterManager()
[AI] Returns character manager, handling population and logic for all in-world characters.
LegoAnimationManager * GetAnimationManager()
[AI] Returns animation manager for managing character/world animations.
LegoBuildingManager * GetBuildingManager()
[AI] Returns building manager (handles in-world structures and their logic).
void SetUserActor(LegoPathActor *p_userActor)
[AI] Sets the user actor pointer (player).
LegoPlantManager * GetPlantManager()
[AI] Returns active plant manager, which tracks in-world plants/objects.
static LegoOmni * GetInstance()
[AI] Returns the current LegoOmni singleton pointer, cast from MxOmni.
MxTransitionManager * GetTransitionManager()
[AI] Returns transition manager for handling UI/game state transitions/fades.
LegoGameState * GetGameState()
[AI] Returns the global game state tracker.
MxResult StartActionIfUnknown0x13c(MxDSAction &p_dsAction)
[AI] Starts action if the unknown0x13c member is set; otherwise returns success.
LegoNavController * GetNavController()
[AI] Returns the navigation controller (handles player navigation and camera logic).
LegoInputManager * GetInputManager()
[AI] Returns the input manager.
LegoWorld * FindWorld(const MxAtomId &p_atom, MxS32 p_entityid)
[AI] Finds and returns the LegoWorld by AtomId and/or entity id.
LegoROI * FindROI(const char *p_name)
[AI] Finds a top-level LegoROI (region of interest/3D object) by name string.
LegoVideoManager * GetVideoManager()
[AI] Returns the active video manager, cast to LegoVideoManager.
LegoTextureContainer * GetTextureContainer()
[AI] Returns the global texture container (all loaded textures).
LegoWorld * GetCurrentWorld()
[AI] Returns the pointer to the currently active world.
MxDSAction & GetCurrentAction()
[AI] Returns the actual DSAction used for the current/pending event.
MxBackgroundAudioManager * GetBackgroundAudioManager()
[AI] Returns handle to the background audio manager (jukebox/music/ambience).
void DeleteAction()
[AI] Deletes and clears the current DSAction used for world/entity tracking.
void SetCurrentWorld(LegoWorld *p_currentWorld)
[AI] Sets the current world pointer for global context.
ViewLODListManager * GetViewLODListManager()
[AI] Returns the LOD list manager for handling refcounted LOD data in the scene.
LegoPathActor * GetUserActor()
[AI] Returns the player-controlled ("user") actor.
LegoSoundManager * GetSoundManager()
[AI] Returns the sound manager, cast to LegoSoundManager.
[AI] An actor that moves along a predefined path, supporting boundary transitions,...
[AI] Manages the lifecycle, state, and properties for all plant objects (flowers, trees,...
[AI] Represents a Real-time Object Instance enriched with LEGO-specific functionality.
[AI] Manages 3D sound effects and music playback for LEGO Island, integrating with DirectSound and pr...
Specialized LegoContainer handling LegoTextureInfo objects and their DirectDraw/Direct3D caching.
[AI] Extends the functionality of MxVideoManager to provide LEGO Island–specific video and 3D graphic...
Lego3DManager * Get3DManager()
[AI] Returns the Lego3DManager for this manager, which owns all 3D scene representations and view con...
Represents the active 3D world, holding all entity, animation, sound, path, and ROI objects.
[AI] Atomized (unique) string identifier, managed by reference counting.
[AI] Background music manager that handles playback, volume, state transitions, and notifications for...
MxResult PlayMusic(MxDSAction &p_action, undefined4 p_speed, MxPresenter::TickleState p_tickleState)
[AI] Initiates playback of a new background music action with specified speed and target tickle state...
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
virtual void SetAtomId(MxAtomId p_atomId)
[AI] Sets the atom id for this object instance, used for indexing or lookup.
void SetUnknown24(MxS16 p_unk0x24)
[AI] Sets the unknown field at 0x24 (possibly version/state).
void SetObjectId(MxU32 p_objectId)
[AI] Sets the object id (for serialization or lookup).
@ e_repeating
[AI] Presentation is repeating (e.g., looping media).
[AI] Handles screen transitions and animations (such as dissolve, mosaic, wipe, etc....
void SetVisibility(unsigned char p_visible)
[AI] Sets the visibility flag to the provided value.
[AI] Manages the lifecycle, lookup, and sharing of ViewLODList instances for different ROI names.
[AI] Manages all ViewROI objects that are rendered in a given scene, handles frustum culling,...
#define NULL
[AI] Null pointer value (C/C++ semantics).
LegoGameState * GameState()
[AI] Accessor for the game's central game state controller. [AI]
MxResult StartActionIfUnknown0x13c(MxDSAction &p_dsAction)
[AI] Triggers a DSAction if a certain unknown flag (0x13c) is set.
LegoVideoManager * VideoManager()
[AI] Accessor for the game's LegoVideoManager subsystem. Used for managing 3D/video hardware....
LegoCharacterManager * CharacterManager()
[AI] Accessor for the character manager, which manages in-game characters/NPCs. [AI]
LegoAnimationManager * AnimationManager()
[AI] Accessor for the animation manager, which controls Lego character/world animation state....
void DeleteObjects(MxAtomId *p_id, MxS32 p_first, MxS32 p_last)
[AI] Batch deletes objects, given by atom id, and within the entity id range [p_first,...
LegoBuildingManager * BuildingManager()
[AI] Accessor for the building manager, handles constructible buildings and structures....
LegoSoundManager * SoundManager()
[AI] Accessor for the game's LegoSoundManager subsystem from the global LegoOmni instance....
MxTransitionManager * TransitionManager()
[AI] Accessor for the MxTransitionManager, handling level transitions, fades, and world changes....
ViewLODListManager * GetViewLODListManager()
[AI] Returns the global ViewLODListManager for view LOD (Level of Detail) resources....
MxBackgroundAudioManager * BackgroundAudioManager()
[AI] Accessor for the background audio manager. Used for background music and ambient sounds....
ViewManager * GetViewManager()
[AI] Accessor for the current ViewManager, managing rendering views/cameras. [AI]
void SetUserActor(LegoPathActor *p_userActor)
[AI] Sets the user-controlled LegoPathActor in the engine.
MxBool g_isWorldActive
Global variable indicating whether the current LegoWorld is considered active.
MxDSAction & GetCurrentAction()
[AI] Accessor for the currently running MxDSAction (e.g.
LegoPlantManager * PlantManager()
[AI] Accessor for the plant manager, handling in-game foliage and plants. [AI]
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]
void FUN_10015820(MxBool p_disable, MxU16 p_flags)
[AI] Utility for enabling or disabling functionality in LegoOmni based on certain flags.
void SetCurrentWorld(LegoWorld *p_world)
[AI] Sets the current LegoWorld used for all world/scene logic.
LegoNavController * NavController()
[AI] Accessor for the navigation controller, managing player/camera navigation. [AI]
void SetROIVisible(const char *p_name, MxBool p_visible)
[AI] Utility for setting the visibility flag of a named ROI object.
void PlayMusic(JukeboxScript::Script p_objectId)
[AI] Starts music playback by scripting the background audio manager to play the music piece referenc...
LegoOmni * Lego()
[AI] Retrieves the global LegoOmni singleton instance, providing access to core subsystems.
LegoTextureContainer * TextureContainer()
[AI] Accessor for the texture container used for global texture management. [AI]
LegoPathActor * UserActor()
[AI] Accessor for the user (player-controllable) LegoPathActor. [AI]
void SetIsWorldActive(MxBool p_isWorldActive)
[AI] Toggles whether the world should be considered active (enables/disables camera/user control etc)...
LegoInputManager * InputManager()
[AI] Accessor for the input manager, which handles keyboard, mouse, and controller input....
void DeleteAction()
[AI] Deletes (or cancels) the currently running DSAction/cutscene/event logic. [AI]
LegoROI * FindROI(const char *p_name)
[AI] Looks up a LegoROI (Real-time Object Instance) by name in the current world or global registry.
void DeleteObject(MxDSAction &p_dsAction)
[AI] Deletes the specified action object, removing it from the global action list.
[AI] Contains global script AtomId pointers and utility functions for managing script AtomIds in LEGO...
MxAtomId * g_jukeboxScript
[AI] Script AtomId for the Jukebox entity/event script.