added some legoomni functions and named some isle global vars

This commit is contained in:
itsmattkc
2023-06-10 22:11:05 -07:00
parent d336f65abe
commit 03fcad0bd2
8 changed files with 131 additions and 54 deletions

13
LEGO1/legoomni.cpp Normal file
View File

@@ -0,0 +1,13 @@
#include "legoomni.h"
LegoOmni *LegoOmni::m_instance = NULL;
LegoOmni *LegoOmni::GetInstance()
{
return m_instance;
}
LegoOmni *Lego()
{
return LegoOmni::GetInstance();
}

View File

@@ -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();