mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
526c6af1f6
* Implement a few Mx* functions / add data types * added more information, fixed formatting issues * further cleanup --------- Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
25 lines
406 B
C++
25 lines
406 B
C++
#include "mxomni.h"
|
|
|
|
// 0x101015b0
|
|
MxOmni* MxOmni::m_instance = NULL;
|
|
|
|
// OFFSET: LEGO1 0x100b0680
|
|
MxOmni *MxOmni::GetInstance()
|
|
{
|
|
return m_instance;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x100af0c0
|
|
MxResult MxOmni::Create(MxOmniCreateParam &p)
|
|
{
|
|
if (p.CreateFlags().CreateTimer())
|
|
{
|
|
MxTimer *timer = new MxTimer();
|
|
this->m_timer = timer;
|
|
|
|
if (timer == NULL)
|
|
return FAILURE;
|
|
}
|
|
|
|
return SUCCESS;
|
|
}
|