mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
lego1: implement Get* functions (#39)
This commit is contained in:
parent
a0fac56d4c
commit
bd245dc6d8
3 changed files with 35 additions and 0 deletions
|
@ -24,12 +24,43 @@ LegoOmni *Lego()
|
||||||
return (LegoOmni *) MxOmni::GetInstance();
|
return (LegoOmni *) MxOmni::GetInstance();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10015710
|
||||||
|
LegoSoundManager *SoundManager()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance()->GetSoundManager();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x10015720
|
// OFFSET: LEGO1 0x10015720
|
||||||
LegoVideoManager *VideoManager()
|
LegoVideoManager *VideoManager()
|
||||||
{
|
{
|
||||||
return LegoOmni::GetInstance()->GetVideoManager();
|
return LegoOmni::GetInstance()->GetVideoManager();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10015730
|
||||||
|
MxBackgroundAudioManager *BackgroundAudioManager()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance()->GetBackgroundAudioManager();
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10015740
|
||||||
|
LegoInputManager *InputManager()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance()->GetInputManager();
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10015760
|
||||||
|
LegoGameState *GameState()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance()->GetGameState();
|
||||||
|
}
|
||||||
|
|
||||||
|
// OFFSET: LEGO1 0x10015780
|
||||||
|
LegoNavController *NavController()
|
||||||
|
{
|
||||||
|
return LegoOmni::GetInstance()->GetNavController();
|
||||||
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x1005b5f0
|
// OFFSET: LEGO1 0x1005b5f0
|
||||||
long LegoOmni::Notify(MxParam &p)
|
long LegoOmni::Notify(MxParam &p)
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,7 +46,11 @@ class LegoOmni : public MxOmni
|
||||||
virtual unsigned char vtable40();
|
virtual unsigned char vtable40();
|
||||||
|
|
||||||
LegoVideoManager *GetVideoManager() { return (LegoVideoManager *) m_videoManager; }
|
LegoVideoManager *GetVideoManager() { return (LegoVideoManager *) m_videoManager; }
|
||||||
|
LegoSoundManager *GetSoundManager() { return (LegoSoundManager *)m_soundManager;}
|
||||||
|
MxBackgroundAudioManager *GetBackgroundAudioManager() { return m_bkgAudioManager; }
|
||||||
LegoInputManager *GetInputManager() { return m_inputMgr; }
|
LegoInputManager *GetInputManager() { return m_inputMgr; }
|
||||||
|
LegoGameState *GetGameState() { return m_gameState; }
|
||||||
|
LegoNavController *GetNavController() { return m_navController; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int m_unk68;
|
int m_unk68;
|
||||||
|
|
BIN
isle.mdp
BIN
isle.mdp
Binary file not shown.
Loading…
Reference in a new issue