mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
lego1: match LegoOmni::GetInstance and deconstructor and add a few methods (#58)
* add GetInstance fix * Implement a few methods * Move get* helpers to their correct locations * rename m_instance * add TransitionManager
This commit is contained in:
@@ -15,13 +15,20 @@ LegoOmni::~LegoOmni()
|
||||
// OFFSET: LEGO1 0x1005ad10
|
||||
LegoOmni *LegoOmni::GetInstance()
|
||||
{
|
||||
return (LegoOmni *) m_instance;
|
||||
return (LegoOmni *)MxOmni::GetInstance();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x1005ac90
|
||||
void LegoOmni::CreateInstance()
|
||||
{
|
||||
MxOmni::DestroyInstance();
|
||||
MxOmni::SetInstance(new LegoOmni());
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10015700
|
||||
LegoOmni *Lego()
|
||||
{
|
||||
return (LegoOmni *) MxOmni::GetInstance();
|
||||
return (LegoOmni *)MxOmni::GetInstance();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10015710
|
||||
@@ -30,7 +37,6 @@ LegoSoundManager *SoundManager()
|
||||
return LegoOmni::GetInstance()->GetSoundManager();
|
||||
}
|
||||
|
||||
|
||||
// OFFSET: LEGO1 0x10015720
|
||||
LegoVideoManager *VideoManager()
|
||||
{
|
||||
@@ -79,6 +85,13 @@ LegoNavController *NavController()
|
||||
return LegoOmni::GetInstance()->GetNavController();
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x10015900
|
||||
MxTransitionManager *TransitionManager()
|
||||
{
|
||||
return LegoOmni::GetInstance()->GetTransitionManager();
|
||||
}
|
||||
|
||||
|
||||
// OFFSET: LEGO1 0x1005b5f0
|
||||
long LegoOmni::Notify(MxParam &p)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user