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