Isle
Loading...
Searching...
No Matches
mxomnicreateflags.h
Go to the documentation of this file.
1#ifndef MXOMNICREATEFLAGS_H
2#define MXOMNICREATEFLAGS_H
3
4#include "mxtypes.h"
5
6// SIZE 0x02
12public:
17
22 void CreateObjectFactory(MxBool p_enable) { m_flags1.m_bit0 = p_enable; }
23
28 void CreateTickleManager(MxBool p_enable) { m_flags1.m_bit2 = p_enable; }
29
34 void CreateVideoManager(MxBool p_enable) { m_flags1.m_bit4 = p_enable; }
35
40 void CreateSoundManager(MxBool p_enable) { m_flags1.m_bit5 = p_enable; }
41
45 const MxBool CreateObjectFactory() const { return m_flags1.m_bit0; }
46
50 const MxBool CreateVariableTable() const { return m_flags1.m_bit1; }
51
55 const MxBool CreateTickleManager() const { return m_flags1.m_bit2; }
56
60 const MxBool CreateNotificationManager() const { return m_flags1.m_bit3; }
61
65 const MxBool CreateVideoManager() const { return m_flags1.m_bit4; }
66
70 const MxBool CreateSoundManager() const { return m_flags1.m_bit5; }
71
75 const MxBool CreateMusicManager() const { return m_flags1.m_bit6; }
76
80 const MxBool CreateEventManager() const { return m_flags1.m_bit7; }
81
85 const MxBool CreateTimer() const { return m_flags2.m_bit1; }
86
90 const MxBool CreateStreamer() const { return m_flags2.m_bit2; }
91
92private:
96 FlagBitfield m_flags1;
100 FlagBitfield m_flags2;
101};
102
103#endif // MXOMNICREATEFLAGS_H
[AI] Stores creation flags for initializing core LEGO Island engine subsystems.
const MxBool CreateTimer() const
[AI] Returns whether the Timer subsystem will be created.
const MxBool CreateTickleManager() const
[AI] Returns whether the Tickle Manager will be created.
const MxBool CreateMusicManager() const
[AI] Returns whether the Music Manager will be created.
const MxBool CreateVariableTable() const
[AI] Returns whether the Variable Table will be created.
void CreateTickleManager(MxBool p_enable)
[AI] Enables or disables the creation of the Tickle Manager subsystem at startup.
void CreateSoundManager(MxBool p_enable)
[AI] Enables or disables the creation of the Sound Manager subsystem at startup.
const MxBool CreateEventManager() const
[AI] Returns whether the Event Manager will be created.
void CreateVideoManager(MxBool p_enable)
[AI] Enables or disables the creation of the Video Manager subsystem at startup.
MxOmniCreateFlags()
[AI] Initializes all subsystem creation flags to TRUE (i.e., default: all managers enabled).
const MxBool CreateVideoManager() const
[AI] Returns whether the Video Manager will be created.
const MxBool CreateObjectFactory() const
[AI] Returns whether the Object Factory will be created.
const MxBool CreateNotificationManager() const
[AI] Returns whether the Notification Manager will be created.
const MxBool CreateSoundManager() const
[AI] Returns whether the Sound Manager will be created.
const MxBool CreateStreamer() const
[AI] Returns whether the Streamer subsystem will be created.
void CreateObjectFactory(MxBool p_enable)
[AI] Enables or disables the creation of the Object Factory subsystem at startup.
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
[AI] Union that provides a convenient bit field view of a byte for flag manipulation.
Definition: mxtypes.h:169
MxU8 m_bit0
[AI] Least significant bit of the flag byte.
Definition: mxtypes.h:171
MxU8 m_bit6
[AI]
Definition: mxtypes.h:177
MxU8 m_bit4
[AI]
Definition: mxtypes.h:175
MxU8 m_bit5
[AI]
Definition: mxtypes.h:176
MxU8 m_bit3
[AI]
Definition: mxtypes.h:174
MxU8 m_bit7
[AI] Most significant bit of the flag byte.
Definition: mxtypes.h:178
MxU8 m_bit2
[AI]
Definition: mxtypes.h:173
MxU8 m_bit1
[AI]
Definition: mxtypes.h:172