mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
added some legoomni functions and named some isle global vars
This commit is contained in:
13
LEGO1/legoomni.cpp
Normal file
13
LEGO1/legoomni.cpp
Normal file
@@ -0,0 +1,13 @@
|
||||
#include "legoomni.h"
|
||||
|
||||
LegoOmni *LegoOmni::m_instance = NULL;
|
||||
|
||||
LegoOmni *LegoOmni::GetInstance()
|
||||
{
|
||||
return m_instance;
|
||||
}
|
||||
|
||||
LegoOmni *Lego()
|
||||
{
|
||||
return LegoOmni::GetInstance();
|
||||
}
|
@@ -1,10 +1,10 @@
|
||||
#ifndef LEGOOMNI_H
|
||||
#define LEGOOMNI_H
|
||||
|
||||
#include "define.h"
|
||||
#include "mxbackgroundaudiomanager.h"
|
||||
#include "mxdsaction.h"
|
||||
#include "mxomnicreateparam.h"
|
||||
#include "mxresult.h"
|
||||
#include "mxstreamer.h"
|
||||
#include "mxticklemanager.h"
|
||||
#include "mxtimer.h"
|
||||
@@ -81,6 +81,8 @@ private:
|
||||
int m_unk6c;
|
||||
LegoInputManager *m_inputMgr;
|
||||
|
||||
static LegoOmni *m_instance;
|
||||
|
||||
};
|
||||
|
||||
__declspec(dllexport) LegoOmni *Lego();
|
||||
|
Reference in New Issue
Block a user