Isle
|
[AI] Central hub singleton for the LEGO Island game engine, managing all core game systems, state, world switching, and providing high-level access to all major engine subsystems. More...
#include <legomain.h>
Classes | |
struct | WorldContainer |
[AI] Associates a world enum, key, and AtomId for dynamic world lookup, Atom-based registry, and key-string identification. More... | |
Public Types | |
enum | { c_disableInput = 0x01 , c_disable3d = 0x02 , c_clearScreen = 0x04 } |
enum | World { e_undefined = -1 , e_act1 = 0 , e_imain , e_icube , e_ireg , e_ielev , e_iisle , e_hosp , e_police , e_gmain , e_bldh , e_bldd , e_bldj , e_bldr , e_racc , e_racj , e_act2 , e_act3 , e_test , e_numWorlds = e_test + 2 } |
[AI] Identifiers for all unique, script-driven world environments in LEGO Island. More... | |
Public Member Functions | |
LegoOmni () | |
[AI] Constructs the LegoOmni singleton and initializes all internal pointers to NULL/default state. More... | |
~LegoOmni () override | |
[AI] Tears down LegoOmni, deleting or unregistering all major owned game systems and registry lists. More... | |
MxLong | Notify (MxParam &p_param) override |
[AI] Handles notification messages sent to the engine, including EndAction notifications for quitting, etc. More... | |
const char * | ClassName () const override |
[AI] Returns a static string identifying this class for runtime type checking. More... | |
MxBool | IsA (const char *p_name) const override |
[AI] Performs runtime type checking, supporting inheritance. More... | |
void | Init () override |
[AI] Performs LegoOmni member and subsystem initialization. More... | |
MxResult | Create (MxOmniCreateParam &p_param) override |
[AI] Creates and initializes all subsystems for the game, wiring up all managers and attaching Lego-specific logic. More... | |
void | Destroy () override |
[AI] Shuts down and deletes all owned game managers, variable tables, registry lists and Lego subsystems. More... | |
MxResult | Start (MxDSAction *p_dsAction) override |
[AI] Begins executing the specified DSAction/script in the context of the current world/state. More... | |
void | DeleteObject (MxDSAction &p_dsAction) override |
[AI] Deletes an entity or world referenced by the given DSAction (by object and Atom), cascading to removal in current world. More... | |
MxBool | DoesEntityExist (MxDSAction &p_dsAction) override |
[AI] Checks if the entity described by the DSAction does NOT exist in worlds (true if not found, false if found). More... | |
MxEntity * | AddToWorld (const char *p_id, MxS32 p_entityId, MxPresenter *p_presenter) override |
[AI] Adds an entity presenter to the specified world (by id or current). More... | |
void | NotifyCurrentEntity (const MxNotificationParam &p_param) override |
[AI] Sends notification to the currently active world. More... | |
void | Pause () override |
[AI] Pauses the engine/game state and sets busy cursor. More... | |
void | Resume () override |
[AI] Resumes engine/game state and sets default cursor. More... | |
LegoWorld * | FindWorld (const MxAtomId &p_atom, MxS32 p_entityid) |
[AI] Finds and returns the LegoWorld by AtomId and/or entity id. More... | |
LegoROI * | FindROI (const char *p_name) |
[AI] Finds a top-level LegoROI (region of interest/3D object) by name string. More... | |
void | AddWorld (LegoWorld *p_world) |
[AI] Appends a LegoWorld to the active world list, acquiring ownership. More... | |
void | DeleteWorld (LegoWorld *p_world) |
[AI] Deletes (and removes from registry) a LegoWorld, deleting all resources. More... | |
void | FUN_1005b4f0 (MxBool p_disable, MxU16 p_flags) |
[AI] Enables or disables input/3d/screen clearing in a single call, based on flags. More... | |
void | CreateBackgroundAudio () |
[AI] Initializes background audio manager and starts music using global script. More... | |
void | RemoveWorld (const MxAtomId &p_atom, MxLong p_objectId) |
[AI] Removes worlds by Atom and/or id, deleting matching entries from the world list and freeing resources. More... | |
MxResult | RegisterWorlds () |
[AI] Registers all builtin worlds/scripts into the world's Atom/registry list (m_worlds). More... | |
const char * | GetWorldName (LegoOmni::World p_id) |
[AI] Looks up and returns the registered world key for a world id. More... | |
MxAtomId * | GetWorldAtom (LegoOmni::World p_id) |
[AI] Looks up and returns the AtomId of a world by its enum id. More... | |
World | GetWorldId (const char *p_key) |
[AI] Looks up a World enum id from its string key. More... | |
void | DeleteAction () |
[AI] Deletes and clears the current DSAction used for world/entity tracking. More... | |
LegoVideoManager * | GetVideoManager () |
[AI] Returns the active video manager, cast to LegoVideoManager. More... | |
LegoSoundManager * | GetSoundManager () |
[AI] Returns the sound manager, cast to LegoSoundManager. More... | |
LegoInputManager * | GetInputManager () |
[AI] Returns the input manager. More... | |
LegoTextureContainer * | GetTextureContainer () |
[AI] Returns the global texture container (all loaded textures). More... | |
ViewLODListManager * | GetViewLODListManager () |
[AI] Returns the LOD list manager for handling refcounted LOD data in the scene. More... | |
LegoWorld * | GetCurrentWorld () |
[AI] Returns the pointer to the currently active world. More... | |
LegoNavController * | GetNavController () |
[AI] Returns the navigation controller (handles player navigation and camera logic). More... | |
LegoPathActor * | GetUserActor () |
[AI] Returns the player-controlled ("user") actor. More... | |
LegoPlantManager * | GetPlantManager () |
[AI] Returns active plant manager, which tracks in-world plants/objects. More... | |
LegoAnimationManager * | GetAnimationManager () |
[AI] Returns animation manager for managing character/world animations. More... | |
LegoBuildingManager * | GetBuildingManager () |
[AI] Returns building manager (handles in-world structures and their logic). More... | |
LegoWorldList * | GetWorldList () |
[AI] Returns pointer to world and script registry list. More... | |
LegoGameState * | GetGameState () |
[AI] Returns the global game state tracker. More... | |
MxBackgroundAudioManager * | GetBackgroundAudioManager () |
[AI] Returns handle to the background audio manager (jukebox/music/ambience). More... | |
MxTransitionManager * | GetTransitionManager () |
[AI] Returns transition manager for handling UI/game state transitions/fades. More... | |
MxDSAction & | GetCurrentAction () |
[AI] Returns the actual DSAction used for the current/pending event. More... | |
LegoCharacterManager * | GetCharacterManager () |
[AI] Returns character manager, handling population and logic for all in-world characters. More... | |
void | SetNavController (LegoNavController *p_navController) |
[AI] Sets the navigation controller. More... | |
void | SetUserActor (LegoPathActor *p_userActor) |
[AI] Sets the user actor pointer (player). More... | |
void | SetCurrentWorld (LegoWorld *p_currentWorld) |
[AI] Sets the current world pointer for global context. More... | |
void | SetExit (MxBool p_exit) |
[AI] Signals the engine to exit/game quit procedure. More... | |
MxResult | StartActionIfUnknown0x13c (MxDSAction &p_dsAction) |
[AI] Starts action if the unknown0x13c member is set; otherwise returns success. More... | |
void | SetUnknown13c (MxBool p_unk0x13c) |
[AI] Sets the unknown0x13c flag (purpose not fully documented in reverse). More... | |
void | CloseMainWindow () |
[AI] Posts a close (exit) message to the main window handle, triggering shutdown. More... | |
![]() | |
MxOmni () | |
[AI] Initializes default state. More... | |
~MxOmni () override | |
[AI] Destroys all subsystems and releases memory/resources. More... | |
MxLong | Notify (MxParam &p_param) override |
[AI] Handles global notifications. More... | |
virtual void | Init () |
[AI] Resets all internal pointers to defaults. More... | |
virtual MxResult | Create (MxOmniCreateParam &p_param) |
[AI] Allocates and configures engine subsystems, depending on the provided flags in MxOmniCreateParam. More... | |
virtual void | Destroy () |
[AI] Tears down all engine subsystems, deletes and frees all managed memory. More... | |
virtual MxResult | Start (MxDSAction *p_dsAction) |
[AI] Requests the start of a top-level scripted action (from SI). More... | |
virtual void | DeleteObject (MxDSAction &p_dsAction) |
[AI] Deletes a world or subsystem object corresponding to an action. More... | |
virtual MxBool | DoesEntityExist (MxDSAction &p_dsAction) |
[AI] Checks whether an entity (gameplay object) exists by querying the streamer and notification manager. More... | |
virtual MxResult | CreatePresenter (MxStreamController *p_controller, MxDSAction &p_action) |
[AI] Instantiates and starts a Presenter (e.g., video, sound, animation) to handle the specified action on the given stream controller. More... | |
virtual MxEntity * | AddToWorld (const char *, MxS32, MxPresenter *) |
[AI] [VIRTUAL BASE] Placeholder virtual for derived engines to instantiate an entity and add to the 3D world. More... | |
virtual void | NotifyCurrentEntity (const MxNotificationParam &p_param) |
[AI] [VIRTUAL BASE] Placeholder for derived implementations—sends a notification to the currently active entity. More... | |
virtual void | Pause () |
[AI] Pauses subsystems that support pausing (timer, sound manager) and sets paused state. More... | |
virtual void | Resume () |
[AI] Resumes paused subsystems (timer, sound manager) and clears paused state. More... | |
virtual MxBool | IsPaused () |
[AI] Returns paused state of the engine. More... | |
HWND | GetWindowHandle () const |
[AI] Gets the window handle (HWND) associated with the engine (ownership not transferred). More... | |
MxObjectFactory * | GetObjectFactory () const |
[AI] Retrieves the currently used object factory for presenter/entity instantiation (ownership not transferred). More... | |
MxNotificationManager * | GetNotificationManager () const |
[AI] Returns the notification manager responsible for enqueuing and dispatching notifications/events. More... | |
MxTickleManager * | GetTickleManager () const |
[AI] Returns the tickle manager which manages the tickle update loop for registered clients. More... | |
MxTimer * | GetTimer () const |
[AI] Gets the main frame-timer object (if any). More... | |
MxStreamer * | GetStreamer () const |
[AI] Returns the engine's global streamer object for media/data access. More... | |
MxSoundManager * | GetSoundManager () const |
[AI] Gets the engine's sound manager used for playing/controlling sounds. More... | |
MxVideoManager * | GetVideoManager () const |
[AI] Returns the video media manager (for handling FLC/SMK/etc.), if present. More... | |
MxVariableTable * | GetVariableTable () const |
[AI] Gets the global variable table for scripting/logic purposes. More... | |
MxMusicManager * | GetMusicManager () const |
[AI] Returns the current music manager, responsible for background/interactive music. More... | |
MxEventManager * | GetEventManager () const |
[AI] Get the event manager responsible for handling event queueing/dispatching. More... | |
MxAtomSet * | GetAtomSet () const |
[AI] Gets the atom set used for mapping strings/IDs to atom objects. More... | |
MxLong | HandleEndAction (MxParam &p_param) |
[AI] Handles the engine's response to action end notifications (c_notificationEndAction), deletes action objects as necessary and manages streamer state. More... | |
![]() | |
MxCore () | |
[AI] Constructs a new MxCore object and assigns it a unique id. More... | |
virtual | ~MxCore () |
[AI] Virtual destructor. Required for correct polymorphic cleanup in derived classes. More... | |
virtual MxLong | Notify (MxParam &p_param) |
[AI] Virtual callback notification mechanism. More... | |
virtual MxResult | Tickle () |
[AI] Called by tickle managers to allow the object to update itself. More... | |
virtual const char * | ClassName () const |
[AI] Returns the runtime class name of this object. More... | |
virtual MxBool | IsA (const char *p_name) const |
[AI] Checks whether this object's class type or parents match the given name. More... | |
MxU32 | GetId () |
[AI] Gets the unique (per-process) id assigned to this object instance. More... | |
Static Public Member Functions | |
static MxS32 | GetCurrPathInfo (LegoPathBoundary **, MxS32 &) |
[AI] Static utility for retrieving current path boundary and info from the current world. More... | |
static void | CreateInstance () |
[AI] Allocates and sets up a new LegoOmni singleton instance, replacing the previous one if any. More... | |
static LegoOmni * | GetInstance () |
[AI] Returns the current LegoOmni singleton pointer, cast from MxOmni. More... | |
![]() | |
static void | DestroyInstance () |
[AI] Destroys the singleton MxOmni instance and performs memory cleanup. More... | |
static const char * | GetCD () |
[AI] Retrieves the configured CD-ROM media path string used for resource location. More... | |
static const char * | GetHD () |
[AI] Retrieves the configured hard disk media path string used for resource location. More... | |
static MxOmni * | GetInstance () |
[AI] Returns the singleton instance of the MxOmni subsystem coordinator. More... | |
static MxBool | IsSound3D () |
[AI] Returns current state of 3D sound configuration. More... | |
static void | SetCD (const char *p_cd) |
[AI] Sets the global CD media path used for source file lookup. More... | |
static void | SetHD (const char *p_hd) |
[AI] Sets the global hard disk media path used for resource lookup. More... | |
static void | SetSound3D (MxBool p_use3dSound) |
[AI] Enables or disables use of 3D sound processing. More... | |
static void | SetInstance (MxOmni *p_instance) |
[AI] Manually set the static instance of the global engine object. More... | |
static MxBool | ActionSourceEquals (MxDSAction *p_action, const char *p_name) |
[AI] Recursive walk to check if the given action, or any child multi-action, was sourced from the provided name. More... | |
Public Attributes | |
MxBool | m_unk0x13c |
[AI] Unknown flag used in rare start-action cases. [AI] More... | |
Additional Inherited Members | |
![]() | |
MxString | m_mediaPath |
[AI] Path to media assets (SI files, resources) used for loading content. More... | |
HWND | m_windowHandle |
[AI] Associated window handle for DirectX/Win32 operations. More... | |
MxObjectFactory * | m_objectFactory |
[AI] Factory object used to instantiate engine objects (presenters, entities) by class name. More... | |
MxVariableTable * | m_variableTable |
[AI] Variable table for scripting/in-engine variable storage. More... | |
MxTickleManager * | m_tickleManager |
[AI] Manages list of objects requiring tickle updates each frame/step. More... | |
MxNotificationManager * | m_notificationManager |
[AI] Manages notifications and their distribution to interested clients. More... | |
MxVideoManager * | m_videoManager |
[AI] Manager for decoding and rendering video resources (FLC, etc.). More... | |
MxSoundManager * | m_soundManager |
[AI] Manages sound (WAV, MIDI) output and channels. More... | |
MxMusicManager * | m_musicManager |
[AI] Manages background and event-triggered music. More... | |
MxEventManager * | m_eventManager |
[AI] Centralized event manager for engine events (scripted/game logic). More... | |
MxTimer * | m_timer |
[AI] Master timer for time-keeping and scheduling. More... | |
MxStreamer * | m_streamer |
[AI] Main streamer for handling open files and distributed streaming. More... | |
MxAtomSet * | m_atomSet |
[AI] Global set of strings mapped to atom objects (for fast lookup/id assignment). More... | |
MxCriticalSection | m_criticalSection |
[AI] Critical section used for thread-safe engine operations. More... | |
MxBool | m_paused |
[AI] Indicates if the engine/systems are currently paused. More... | |
![]() | |
static MxOmni * | g_instance = NULL |
[AI] The singleton instance pointer of the MxOmni engine. More... | |
[AI] Central hub singleton for the LEGO Island game engine, managing all core game systems, state, world switching, and providing high-level access to all major engine subsystems.
[AI] Engine singleton managing LEGO Island's subsystems and game state.
Handles initialization, teardown, world registry, notification dispatching, and singleton instance management.
[AI] LegoOmni extends MxOmni to provide high-level game coordination, resource and manager ownership, dynamic world and entity management, script/action handling, background audio, global state, and event notification. It encapsulates systems for animation, input, world/ROI lookup, tickling, building/plants, and more. The class also provides interface entry points for interacting with video, audio, presenter logic, and game state—making it effectively the "heart" of the LEGO Island runtime architecture.
[AI]
Definition at line 40 of file legomain.h.
anonymous enum |
Enumerator | |
---|---|
c_disableInput | [AI] When set, disables input processing. [AI] |
c_disable3d | [AI] When set, disables 3D rendering. [AI] |
c_clearScreen | [AI] When set, clears the display surface. [AI] |
Definition at line 46 of file legomain.h.
enum LegoOmni::World |
[AI] Identifiers for all unique, script-driven world environments in LEGO Island.
Used for dynamic lookup, registry, and scheduling. [AI]
[AI] Each enum value corresponds to a logical world space, typically associated with a key, script, and AtomId. e_numWorlds is the total. [AI]
Enumerator | |
---|---|
e_undefined | [AI] No world specified. [AI] |
e_act1 | [AI] Act 1 main world. [AI] |
e_imain | [AI] Information main building. [AI] |
e_icube | [AI] Information cube building. [AI] |
e_ireg | [AI] Information registration/building. [AI] |
e_ielev | [AI] Information elevator. [AI] |
e_iisle | [AI] Information Isle room. [AI] |
e_hosp | [AI] Hospital. [AI] |
e_police | [AI] Police station. [AI] |
e_gmain | [AI] Garage. [AI] |
e_bldh | [AI] Helicopter building. [AI] |
e_bldd | [AI] Dune car building. [AI] |
e_bldj | [AI] Jet ski building. [AI] |
e_bldr | [AI] Race car building. [AI] |
e_racc | [AI] Car race area/world. [AI] |
e_racj | [AI] Jet race area/world. [AI] |
e_act2 | [AI] Act 2. [AI] |
e_act3 | [AI] Act 3. [AI] |
e_test | [AI] Test world. [AI] |
e_numWorlds | [AI] Number of worlds (includes undefined, test, or unused). [AI] |
Definition at line 57 of file legomain.h.
LegoOmni::LegoOmni | ( | ) |
[AI] Constructs the LegoOmni singleton and initializes all internal pointers to NULL/default state.
Begins game system setup.
Definition at line 45 of file legomain.cpp.
|
override |
[AI] Tears down LegoOmni, deleting or unregistering all major owned game systems and registry lists.
Definition at line 51 of file legomain.cpp.
|
overridevirtual |
[AI] Adds an entity presenter to the specified world (by id or current).
Intended for dynamic entity loading.
p_id | [AI] World id string or "current". |
p_entityId | [AI] Entity id number for lookup. |
p_presenter | [AI] Presenter object to attach (e.g. for video, sound, model). |
Reimplemented from MxOmni.
Definition at line 430 of file legomain.cpp.
void LegoOmni::AddWorld | ( | LegoWorld * | p_world | ) |
[AI] Appends a LegoWorld to the active world list, acquiring ownership.
p_world | [AI] The LegoWorld to add. |
Definition at line 311 of file legomain.cpp.
|
inlineoverridevirtual |
[AI] Returns a static string identifying this class for runtime type checking.
Reimplemented from MxCore.
Definition at line 163 of file legomain.h.
|
inline |
[AI] Posts a close (exit) message to the main window handle, triggering shutdown.
Definition at line 479 of file legomain.h.
|
overridevirtual |
[AI] Creates and initializes all subsystems for the game, wiring up all managers and attaching Lego-specific logic.
p_param | [AI] Creation parameter block with flags and resource hints. |
Reimplemented from MxOmni.
Definition at line 156 of file legomain.cpp.
void LegoOmni::CreateBackgroundAudio | ( | ) |
[AI] Initializes background audio manager and starts music using global script.
Definition at line 540 of file legomain.cpp.
|
static |
[AI] Allocates and sets up a new LegoOmni singleton instance, replacing the previous one if any.
Definition at line 298 of file legomain.cpp.
void LegoOmni::DeleteAction | ( | ) |
[AI] Deletes and clears the current DSAction used for world/entity tracking.
Definition at line 558 of file legomain.cpp.
|
overridevirtual |
[AI] Deletes an entity or world referenced by the given DSAction (by object and Atom), cascading to removal in current world.
p_dsAction | [AI] DSAction describing which entity/world to delete. |
Reimplemented from MxOmni.
Definition at line 378 of file legomain.cpp.
void LegoOmni::DeleteWorld | ( | LegoWorld * | p_world | ) |
[AI] Deletes (and removes from registry) a LegoWorld, deleting all resources.
p_world | [AI] The world to be deleted. |
Definition at line 317 of file legomain.cpp.
|
overridevirtual |
[AI] Shuts down and deletes all owned game managers, variable tables, registry lists and Lego subsystems.
Reimplemented from MxOmni.
Definition at line 79 of file legomain.cpp.
|
overridevirtual |
[AI] Checks if the entity described by the DSAction does NOT exist in worlds (true if not found, false if found).
p_dsAction | [AI] DSAction describing entity. |
Reimplemented from MxOmni.
Definition at line 457 of file legomain.cpp.
LegoROI * LegoOmni::FindROI | ( | const char * | p_name | ) |
[AI] Finds a top-level LegoROI (region of interest/3D object) by name string.
p_name | [AI] Name of the ROI. |
Definition at line 408 of file legomain.cpp.
[AI] Finds and returns the LegoWorld by AtomId and/or entity id.
p_atom | [AI] AtomId for the world. |
p_entityid | [AI] Entity id (or -1 to skip id check). |
Definition at line 360 of file legomain.cpp.
[AI] Enables or disables input/3d/screen clearing in a single call, based on flags.
Used for game-wide state gating.
p_disable | [AI] TRUE disables (according to flags); FALSE enables. |
p_flags | [AI] Bit field of c_disableInput, c_disable3d, c_clearScreen. |
Definition at line 517 of file legomain.cpp.
|
inline |
[AI] Returns animation manager for managing character/world animations.
Definition at line 395 of file legomain.h.
|
inline |
[AI] Returns handle to the background audio manager (jukebox/music/ambience).
Definition at line 419 of file legomain.h.
|
inline |
[AI] Returns building manager (handles in-world structures and their logic).
Definition at line 401 of file legomain.h.
|
inline |
[AI] Returns character manager, handling population and logic for all in-world characters.
Definition at line 437 of file legomain.h.
|
inline |
[AI] Returns the actual DSAction used for the current/pending event.
Definition at line 431 of file legomain.h.
|
inline |
[AI] Returns the pointer to the currently active world.
Definition at line 371 of file legomain.h.
|
static |
[AI] Static utility for retrieving current path boundary and info from the current world.
p_path | [AI] Output: pointer to path boundary. |
p_value | [AI] Output: integer info. |
Definition at line 468 of file legomain.cpp.
|
inline |
[AI] Returns the global game state tracker.
Definition at line 413 of file legomain.h.
|
inline |
[AI] Returns the input manager.
Definition at line 353 of file legomain.h.
|
static |
[AI] Returns the current LegoOmni singleton pointer, cast from MxOmni.
Definition at line 305 of file legomain.cpp.
|
inline |
[AI] Returns the navigation controller (handles player navigation and camera logic).
Definition at line 377 of file legomain.h.
|
inline |
[AI] Returns active plant manager, which tracks in-world plants/objects.
Definition at line 389 of file legomain.h.
|
inline |
[AI] Returns the sound manager, cast to LegoSoundManager.
Definition at line 347 of file legomain.h.
|
inline |
[AI] Returns the global texture container (all loaded textures).
Definition at line 359 of file legomain.h.
|
inline |
[AI] Returns transition manager for handling UI/game state transitions/fades.
Definition at line 425 of file legomain.h.
|
inline |
[AI] Returns the player-controlled ("user") actor.
Definition at line 383 of file legomain.h.
|
inline |
[AI] Returns the active video manager, cast to LegoVideoManager.
Definition at line 341 of file legomain.h.
|
inline |
[AI] Returns the LOD list manager for handling refcounted LOD data in the scene.
Definition at line 365 of file legomain.h.
MxAtomId * LegoOmni::GetWorldAtom | ( | LegoOmni::World | p_id | ) |
[AI] Looks up and returns the AtomId of a world by its enum id.
p_id | [AI] World enum id. |
Definition at line 491 of file legomain.cpp.
LegoOmni::World LegoOmni::GetWorldId | ( | const char * | p_key | ) |
[AI] Looks up a World enum id from its string key.
p_key | [AI] Key string (case-insensitive). |
Definition at line 505 of file legomain.cpp.
|
inline |
[AI] Returns pointer to world and script registry list.
Definition at line 407 of file legomain.h.
const char * LegoOmni::GetWorldName | ( | LegoOmni::World | p_id | ) |
[AI] Looks up and returns the registered world key for a world id.
p_id | [AI] World enum. |
Definition at line 478 of file legomain.cpp.
|
overridevirtual |
[AI] Performs LegoOmni member and subsystem initialization.
[AI]
Reimplemented from MxOmni.
Definition at line 57 of file legomain.cpp.
|
inlineoverridevirtual |
[AI] Performs runtime type checking, supporting inheritance.
Returns true if input string is "LegoOmni" or matches a parent type.
p_name | [AI] Class name to test. |
Reimplemented from MxCore.
Definition at line 173 of file legomain.h.
[AI] Handles notification messages sent to the engine, including EndAction notifications for quitting, etc.
p_param | [AI] Parameter describing the notification context. |
Reimplemented from MxCore.
Definition at line 567 of file legomain.cpp.
|
overridevirtual |
[AI] Sends notification to the currently active world.
Used for propagating input/events.
p_param | [AI] Notification parameter struct. |
Reimplemented from MxOmni.
Definition at line 449 of file legomain.cpp.
|
overridevirtual |
[AI] Pauses the engine/game state and sets busy cursor.
[AI]
Reimplemented from MxOmni.
Definition at line 586 of file legomain.cpp.
MxResult LegoOmni::RegisterWorlds | ( | ) |
[AI] Registers all builtin worlds/scripts into the world's Atom/registry list (m_worlds).
Definition at line 267 of file legomain.cpp.
[AI] Removes worlds by Atom and/or id, deleting matching entries from the world list and freeing resources.
p_atom | [AI] AtomId to match, or NULL to match any. |
p_objectId | [AI] Object id to match, or -1 for all. |
Definition at line 335 of file legomain.cpp.
|
overridevirtual |
[AI] Resumes engine/game state and sets default cursor.
[AI]
Reimplemented from MxOmni.
Definition at line 593 of file legomain.cpp.
|
inline |
[AI] Sets the current world pointer for global context.
p_currentWorld | [AI] World to use. |
Definition at line 455 of file legomain.h.
|
inline |
[AI] Signals the engine to exit/game quit procedure.
p_exit | [AI] TRUE to begin exit process. |
Definition at line 461 of file legomain.h.
|
inline |
[AI] Sets the navigation controller.
p_navController | [AI] Nav controller to use. |
Definition at line 443 of file legomain.h.
|
inline |
[AI] Sets the unknown0x13c flag (purpose not fully documented in reverse).
[AI]
p_unk0x13c | [AI] Value to set. |
Definition at line 474 of file legomain.h.
|
inline |
[AI] Sets the user actor pointer (player).
p_userActor | [AI] User actor to use. |
Definition at line 449 of file legomain.h.
|
overridevirtual |
[AI] Begins executing the specified DSAction/script in the context of the current world/state.
p_dsAction | [AI] DSAction instance indicating the next action sequence/script. |
Reimplemented from MxOmni.
Definition at line 548 of file legomain.cpp.
|
inline |
[AI] Starts action if the unknown0x13c member is set; otherwise returns success.
Helper for rare logic.
p_dsAction | [AI] Action to start. |
Definition at line 468 of file legomain.h.
MxBool LegoOmni::m_unk0x13c |
[AI] Unknown flag used in rare start-action cases. [AI]
Definition at line 504 of file legomain.h.