2024-03-09 15:07:52 -05:00
|
|
|
#include "mxmisc.h"
|
|
|
|
|
|
|
|
#include "mxomni.h"
|
|
|
|
|
2024-04-25 11:43:42 -04:00
|
|
|
#include <assert.h>
|
|
|
|
|
2024-03-09 15:07:52 -05:00
|
|
|
// FUNCTION: LEGO1 0x100acea0
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124d30
|
2024-03-09 15:07:52 -05:00
|
|
|
MxObjectFactory* ObjectFactory()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetObjectFactory();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100aceb0
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124d77
|
2024-03-09 15:07:52 -05:00
|
|
|
MxNotificationManager* NotificationManager()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetNotificationManager();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acec0
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124dbe
|
2024-03-09 15:07:52 -05:00
|
|
|
MxTickleManager* TickleManager()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetTickleManager();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100aced0
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124e05
|
2024-03-09 15:07:52 -05:00
|
|
|
MxTimer* Timer()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetTimer();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acee0
|
2024-04-25 11:43:42 -04:00
|
|
|
// FUNCTION: BETA10 0x10124e4c
|
|
|
|
MxAtomSet* AtomSet()
|
2024-03-09 15:07:52 -05:00
|
|
|
{
|
2024-04-25 11:43:42 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
|
|
|
return MxOmni::GetInstance()->GetAtomSet();
|
2024-03-09 15:07:52 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acef0
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124e93
|
2024-03-09 15:07:52 -05:00
|
|
|
MxStreamer* Streamer()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetStreamer();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf00
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124eda
|
2024-03-09 15:07:52 -05:00
|
|
|
MxSoundManager* MSoundManager()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetSoundManager();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf10
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124f21
|
2024-03-09 15:07:52 -05:00
|
|
|
MxVideoManager* MVideoManager()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetVideoManager();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf20
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124f68
|
2024-03-09 15:07:52 -05:00
|
|
|
MxVariableTable* VariableTable()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetVariableTable();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf30
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124faf
|
2024-03-09 15:07:52 -05:00
|
|
|
MxMusicManager* MusicManager()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetMusicManager();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf40
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10124ff6
|
2024-03-09 15:07:52 -05:00
|
|
|
MxEventManager* EventManager()
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->GetEventManager();
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf50
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x1012503d
|
2024-03-09 15:07:52 -05:00
|
|
|
MxResult Start(MxDSAction* p_dsAction)
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
return MxOmni::GetInstance()->Start(p_dsAction);
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x100acf70
|
2024-05-07 13:00:16 -04:00
|
|
|
// FUNCTION: BETA10 0x10125098
|
2024-03-09 15:07:52 -05:00
|
|
|
void DeleteObject(MxDSAction& p_dsAction)
|
|
|
|
{
|
2024-05-07 13:00:16 -04:00
|
|
|
assert(MxOmni::GetInstance());
|
2024-03-09 15:07:52 -05:00
|
|
|
MxOmni::GetInstance()->DeleteObject(p_dsAction);
|
|
|
|
}
|