mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-18 22:11:16 +00:00
rename m_instance
This commit is contained in:
parent
97dc0701ab
commit
23550eaf4e
@ -1,7 +1,7 @@
|
|||||||
#include "mxomni.h"
|
#include "mxomni.h"
|
||||||
|
|
||||||
// 0x101015b0
|
// 0x101015b0
|
||||||
MxOmni *MxOmni::m_instance = NULL;
|
MxOmni *MxOmni::g_instance = NULL;
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100aef10
|
// OFFSET: LEGO1 0x100aef10
|
||||||
MxOmni::MxOmni()
|
MxOmni::MxOmni()
|
||||||
@ -36,23 +36,23 @@ void MxOmni::Init()
|
|||||||
// OFFSET: LEGO1 0x100b0690
|
// OFFSET: LEGO1 0x100b0690
|
||||||
void MxOmni::DestroyInstance()
|
void MxOmni::DestroyInstance()
|
||||||
{
|
{
|
||||||
if (m_instance != NULL)
|
if (g_instance != NULL)
|
||||||
{
|
{
|
||||||
delete m_instance;
|
delete g_instance;
|
||||||
m_instance = NULL;
|
g_instance = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100b0680
|
// OFFSET: LEGO1 0x100b0680
|
||||||
MxOmni *MxOmni::GetInstance()
|
MxOmni *MxOmni::GetInstance()
|
||||||
{
|
{
|
||||||
return m_instance;
|
return g_instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100af0b0
|
// OFFSET: LEGO1 0x100af0b0
|
||||||
void MxOmni::SetInstance(MxOmni *instance)
|
void MxOmni::SetInstance(MxOmni *instance)
|
||||||
{
|
{
|
||||||
m_instance = instance;
|
g_instance = instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100af0c0
|
// OFFSET: LEGO1 0x100af0c0
|
||||||
|
|||||||
@ -47,7 +47,7 @@ class MxOmni : public MxCore
|
|||||||
MxMusicManager* GetMusicManager() const { return this->m_musicManager; }
|
MxMusicManager* GetMusicManager() const { return this->m_musicManager; }
|
||||||
MxEventManager* GetEventManager() const { return this->m_eventManager; }
|
MxEventManager* GetEventManager() const { return this->m_eventManager; }
|
||||||
protected:
|
protected:
|
||||||
static MxOmni* m_instance;
|
static MxOmni* g_instance;
|
||||||
|
|
||||||
MxString m_mediaPath; // 0x8
|
MxString m_mediaPath; // 0x8
|
||||||
HWND *m_windowHandle; // 0x18;
|
HWND *m_windowHandle; // 0x18;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user