mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-02-16 19:50:52 -05:00
implement/match global ControlManager() function (#219)
* implement/match global ControlManager() function * remove unnecessary forward declaration
This commit is contained in:
parent
7c26a4d2dc
commit
52e6c9ac22
2 changed files with 9 additions and 0 deletions
|
@ -41,6 +41,8 @@ public:
|
|||
void SetTimer();
|
||||
void KillTimer();
|
||||
|
||||
inline LegoControlManager *GetControlManager() { return m_controlManager; }
|
||||
|
||||
//private:
|
||||
MxCriticalSection m_criticalSection;
|
||||
MxList<undefined4> *m_unk0x5c; // list or hash table
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#include "legogamestate.h"
|
||||
#include "legoutil.h"
|
||||
#include "legoobjectfactory.h"
|
||||
#include "legoinputmanager.h"
|
||||
|
||||
// 0x100f4588
|
||||
MxAtomId *g_nocdSourceName = NULL;
|
||||
|
@ -205,6 +206,12 @@ LegoInputManager *InputManager()
|
|||
return LegoOmni::GetInstance()->GetInputManager();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10015750
|
||||
LegoControlManager *ControlManager()
|
||||
{
|
||||
return LegoOmni::GetInstance()->GetInputManager()->GetControlManager();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10015760
|
||||
LegoGameState *GameState()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue