Isle
Loading...
Searching...
No Matches
mxmisc.cpp
Go to the documentation of this file.
1#include "mxmisc.h"
2
3#include "mxomni.h"
4
5#include <assert.h>
6
7// FUNCTION: LEGO1 0x100acea0
8// FUNCTION: BETA10 0x10124d30
10{
11 assert(MxOmni::GetInstance());
13}
14
15// FUNCTION: LEGO1 0x100aceb0
16// FUNCTION: BETA10 0x10124d77
18{
19 assert(MxOmni::GetInstance());
21}
22
23// FUNCTION: LEGO1 0x100acec0
24// FUNCTION: BETA10 0x10124dbe
26{
27 assert(MxOmni::GetInstance());
29}
30
31// FUNCTION: LEGO1 0x100aced0
32// FUNCTION: BETA10 0x10124e05
34{
35 assert(MxOmni::GetInstance());
36 return MxOmni::GetInstance()->GetTimer();
37}
38
39// FUNCTION: LEGO1 0x100acee0
40// FUNCTION: BETA10 0x10124e4c
42{
43 assert(MxOmni::GetInstance());
45}
46
47// FUNCTION: LEGO1 0x100acef0
48// FUNCTION: BETA10 0x10124e93
50{
51 assert(MxOmni::GetInstance());
53}
54
55// FUNCTION: LEGO1 0x100acf00
56// FUNCTION: BETA10 0x10124eda
58{
59 assert(MxOmni::GetInstance());
61}
62
63// FUNCTION: LEGO1 0x100acf10
64// FUNCTION: BETA10 0x10124f21
66{
67 assert(MxOmni::GetInstance());
69}
70
71// FUNCTION: LEGO1 0x100acf20
72// FUNCTION: BETA10 0x10124f68
74{
75 assert(MxOmni::GetInstance());
77}
78
79// FUNCTION: LEGO1 0x100acf30
80// FUNCTION: BETA10 0x10124faf
82{
83 assert(MxOmni::GetInstance());
85}
86
87// FUNCTION: LEGO1 0x100acf40
88// FUNCTION: BETA10 0x10124ff6
90{
91 assert(MxOmni::GetInstance());
93}
94
95// FUNCTION: LEGO1 0x100acf50
96// FUNCTION: BETA10 0x1012503d
98{
99 assert(MxOmni::GetInstance());
100 return MxOmni::GetInstance()->Start(p_dsAction);
101}
102
103// FUNCTION: LEGO1 0x100acf70
104// FUNCTION: BETA10 0x10125098
105void DeleteObject(MxDSAction& p_dsAction)
106{
107 assert(MxOmni::GetInstance());
108 MxOmni::GetInstance()->DeleteObject(p_dsAction);
109}
[AI] Set of unique atom pointers, managed with custom comparison for atomization and fast lookup.
Definition: mxatom.h:98
[AI] Represents an action deserialized from SI chunks, holding key animation or script parameters suc...
Definition: mxdsaction.h:17
MxEventManager is a subclass of MxMediaManager responsible for managing timed event delivery,...
Manages MIDI music playback with Win32 MIDI streaming for the LEGO Island engine.
[AI] Central registry and dispatcher of asynchronous notifications between MxCore objects.
[AI] Forward declaration for the factory responsible for constructing core objects from atom or type ...
MxStreamer * GetStreamer() const
[AI] Returns the engine's global streamer object for media/data access.
Definition: mxomni.h:222
MxEventManager * GetEventManager() const
[AI] Get the event manager responsible for handling event queueing/dispatching.
Definition: mxomni.h:252
MxTickleManager * GetTickleManager() const
[AI] Returns the tickle manager which manages the tickle update loop for registered clients.
Definition: mxomni.h:210
MxVariableTable * GetVariableTable() const
[AI] Gets the global variable table for scripting/logic purposes.
Definition: mxomni.h:240
MxObjectFactory * GetObjectFactory() const
[AI] Retrieves the currently used object factory for presenter/entity instantiation (ownership not tr...
Definition: mxomni.h:198
virtual MxResult Start(MxDSAction *p_dsAction)
[AI] Requests the start of a top-level scripted action (from SI).
Definition: mxomni.cpp:226
MxVideoManager * GetVideoManager() const
[AI] Returns the video media manager (for handling FLC/SMK/etc.), if present.
Definition: mxomni.h:234
static MxOmni * GetInstance()
[AI] Returns the singleton instance of the MxOmni subsystem coordinator.
Definition: mxomni.cpp:289
MxAtomSet * GetAtomSet() const
[AI] Gets the atom set used for mapping strings/IDs to atom objects.
Definition: mxomni.h:258
MxMusicManager * GetMusicManager() const
[AI] Returns the current music manager, responsible for background/interactive music.
Definition: mxomni.h:246
virtual void DeleteObject(MxDSAction &p_dsAction)
[AI] Deletes a world or subsystem object corresponding to an action.
Definition: mxomni.cpp:237
MxNotificationManager * GetNotificationManager() const
[AI] Returns the notification manager responsible for enqueuing and dispatching notifications/events.
Definition: mxomni.h:204
MxSoundManager * GetSoundManager() const
[AI] Gets the engine's sound manager used for playing/controlling sounds.
Definition: mxomni.h:228
MxTimer * GetTimer() const
[AI] Gets the main frame-timer object (if any).
Definition: mxomni.h:216
[AI] Manages DirectSound-based sound playback, implementing volume, resource, and device management.
Streams and manages media data, handles memory pools for RAM/disk streaming [AI].
Definition: mxstreamer.h:65
[AI] Manages ticking ("tickling") a set of MxCore objects at specified intervals.
Timer class for measuring elapsed time or frame time.
Definition: mxtimer.h:14
MxVariableTable is a specialized hash table for storing key/value string variables used by the LEGO I...
[AI] Video subsystem manager for DirectDraw/Direct3D video rendering and presenter control.
MxEventManager * EventManager()
[AI] Returns the event manager responsible for handling event messages in the game.
Definition: mxmisc.cpp:89
MxAtomSet * AtomSet()
[AI] Returns the single atom set for global registered atom/value pairs.
Definition: mxmisc.cpp:41
MxSoundManager * MSoundManager()
[AI] Returns the global sound manager responsible for sound FX/voice playback.
Definition: mxmisc.cpp:57
MxTimer * Timer()
[AI] Returns the global simulation timer.
Definition: mxmisc.cpp:33
MxMusicManager * MusicManager()
[AI] Returns the music manager, controlling playback of background music tracks.
Definition: mxmisc.cpp:81
MxResult Start(MxDSAction *p_dsAction)
[AI] Schedules and initiates execution of a script action.
Definition: mxmisc.cpp:97
MxVariableTable * VariableTable()
[AI] Returns the variable table used for script variables and global key/value state.
Definition: mxmisc.cpp:73
MxStreamer * Streamer()
[AI] Returns the global streamer used for all chunked media streaming (SI file, audio,...
Definition: mxmisc.cpp:49
MxObjectFactory * ObjectFactory()
[AI] Returns the factory for creating core engine objects from atom/type ids.
Definition: mxmisc.cpp:9
void DeleteObject(MxDSAction &p_dsAction)
[AI] Deletes the specified action object, removing it from the global action list.
Definition: mxmisc.cpp:105
MxNotificationManager * NotificationManager()
[AI] Returns the notification manager for system-wide state/update notifications.
Definition: mxmisc.cpp:17
MxTickleManager * TickleManager()
[AI] Provides access to the global tickle manager.
Definition: mxmisc.cpp:25
MxVideoManager * MVideoManager()
[AI] Returns the video manager used for video/cutscene presenter management.
Definition: mxmisc.cpp:65
MxLong MxResult
[AI]
Definition: mxtypes.h:106