mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
implement/match global ControlManager() function (#219)
* implement/match global ControlManager() function * remove unnecessary forward declaration
This commit is contained in:
@@ -41,6 +41,8 @@ public:
|
|||||||
void SetTimer();
|
void SetTimer();
|
||||||
void KillTimer();
|
void KillTimer();
|
||||||
|
|
||||||
|
inline LegoControlManager *GetControlManager() { return m_controlManager; }
|
||||||
|
|
||||||
//private:
|
//private:
|
||||||
MxCriticalSection m_criticalSection;
|
MxCriticalSection m_criticalSection;
|
||||||
MxList<undefined4> *m_unk0x5c; // list or hash table
|
MxList<undefined4> *m_unk0x5c; // list or hash table
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
#include "legogamestate.h"
|
#include "legogamestate.h"
|
||||||
#include "legoutil.h"
|
#include "legoutil.h"
|
||||||
#include "legoobjectfactory.h"
|
#include "legoobjectfactory.h"
|
||||||
|
#include "legoinputmanager.h"
|
||||||
|
|
||||||
// 0x100f4588
|
// 0x100f4588
|
||||||
MxAtomId *g_nocdSourceName = NULL;
|
MxAtomId *g_nocdSourceName = NULL;
|
||||||
@@ -205,6 +206,12 @@ LegoInputManager *InputManager()
|
|||||||
return LegoOmni::GetInstance()->GetInputManager();
|
return LegoOmni::GetInstance()->GetInputManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10015750
|
||||||
|
LegoControlManager *ControlManager()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance()->GetInputManager()->GetControlManager();
|
||||||
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10015760
|
// OFFSET: LEGO1 0x10015760
|
||||||
LegoGameState *GameState()
|
LegoGameState *GameState()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user