22void MxMusicPresenter::Init()
37 if (!p_fromDestructor) {
void Enter()
[AI] Acquires/gains entry to the critical section or mutex, blocking if not available.
void Leave()
[AI] Releases/leaves the critical section or mutex.
[AI] Presenter class that handles playback and management of music (streamed or MIDI) in LEGO Island.
MxResult AddToManager() override
[AI] Registers this music presenter with the MxMusicManager.
MxMusicPresenter()
[AI] Constructs and initializes the music presenter object.
~MxMusicPresenter() override
[AI] Destroys the music presenter instance and unregisters from the music manager.
void Destroy() override
[AI] Destroys this presenter, safely unregisters from music manager.
MxCriticalSection m_criticalSection
[AI] Thread synchronization for presenter state and data.
#define DECOMP_SIZE_ASSERT(T, S)
#define FAILURE
[AI] Used to indicate a failed operation in result codes.
#define SUCCESS
[AI] Used to indicate a successful operation in result codes.
MxMusicManager * MusicManager()
[AI] Returns the music manager, controlling playback of background music tracks.