mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 00:44:21 +00:00
implement LegoOmni::FUN_1005b4f0 (#450)
* push changes * push changes * fixes * Changes * Use proper values * Name vtable function --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -206,10 +206,10 @@ GifManager* GetGifManager()
|
||||
return LegoOmni::GetInstance()->GetGifManager();
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10015820
|
||||
void FUN_10015820(MxU32, MxU32)
|
||||
// FUNCTION: LEGO1 0x10015820
|
||||
void FUN_10015820(MxBool p_disable, MxU16 p_flags)
|
||||
{
|
||||
// TODO
|
||||
LegoOmni::GetInstance()->FUN_1005b4f0(p_disable, p_flags);
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x10015860
|
||||
@@ -680,6 +680,29 @@ MxS32 LegoOmni::GetCurrPathInfo(LegoPathBoundary** p_path, MxS32& p_value)
|
||||
return GetCurrentWorld()->GetCurrPathInfo(p_path, p_value);
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1005b4f0
|
||||
void LegoOmni::FUN_1005b4f0(MxBool p_disable, MxU16 p_flags)
|
||||
{
|
||||
if (p_disable) {
|
||||
if (p_flags & c_disableInput) {
|
||||
m_inputMgr->DisableInputProcessing();
|
||||
}
|
||||
|
||||
if (p_flags & c_disable3d) {
|
||||
((LegoVideoManager*) m_videoManager)->SetRender3D(FALSE);
|
||||
}
|
||||
|
||||
if (p_flags & c_clearScreen) {
|
||||
m_videoManager->GetDisplaySurface()->ClearScreen();
|
||||
}
|
||||
}
|
||||
else {
|
||||
m_inputMgr->EnableInputProcessing();
|
||||
((LegoVideoManager*) m_videoManager)->SetRender3D(TRUE);
|
||||
((LegoVideoManager*) m_videoManager)->UpdateView(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1005b560
|
||||
void LegoOmni::CreateBackgroundAudio()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user