Isle
Loading...
Searching...
No Matches
mxsoundpresenter.h
Go to the documentation of this file.
1#ifndef MXSOUNDPRESENTER_H
2#define MXSOUNDPRESENTER_H
3
4#include "mxaudiopresenter.h"
5
6// VTABLE: LEGO1 0x100d4b08
7// SIZE 0x54
8
17public:
23
29 void Destroy() override { Destroy(FALSE); } // vtable+0x38
30
36 static const char* HandlerClassName()
37 {
38 // STRING: LEGO1 0x100f07a0
39 return "MxSoundPresenter";
40 }
41
47 const char* ClassName() const override // vtable+0x0c
48 {
49 return HandlerClassName();
50 }
51
59 MxBool IsA(const char* p_name) const override // vtable+0x10
60 {
61 return !strcmp(p_name, MxSoundPresenter::ClassName()) || MxAudioPresenter::IsA(p_name);
62 }
63
70 MxResult AddToManager() override; // vtable+0x34
71
72 // SYNTHETIC: LEGO1 0x1000d5c0
73 // MxSoundPresenter::`scalar deleting destructor'
74
75protected:
83 void Destroy(MxBool p_fromDestructor);
84};
85
86#endif // MXSOUNDPRESENTER_H
[AI] Presents (plays/streams) audio (WAV, MID, etc.) as part of the Omni engine's media handler syste...
MxBool IsA(const char *p_name) const override
[AI] Checks if this object is or derives from the given class name.
[AI] Concrete presenter for sound playback and control within the LEGO Island engine.
MxBool IsA(const char *p_name) const override
[AI] Tests if this instance is a MxSoundPresenter or derived type.
~MxSoundPresenter() override
[AI] Destructor, ensures resource release and deregisters the presenter from MxSoundManager.
static const char * HandlerClassName()
[AI] Returns the class name of the presenter as a static string.
const char * ClassName() const override
[AI] Returns the class name of this instance.
void Destroy() override
[AI] Public destroy method called by the engine to clean up the presenter.
MxResult AddToManager() override
[AI] Registers this presenter with the global MxSoundManager.
#define override
Definition: compat.h:21
#define TRUE
Definition: d3drmdef.h:28
#define FALSE
Definition: d3drmdef.h:27
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
MxLong MxResult
[AI]
Definition: mxtypes.h:106