2023-06-30 14:34:39 -04:00
|
|
|
#include "legomodelpresenter.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// GLOBAL: LEGO1 0x100f7ae0
|
2023-06-30 14:34:39 -04:00
|
|
|
int g_modelPresenterConfig = 1;
|
|
|
|
|
2024-01-04 20:01:04 -05:00
|
|
|
// FUNCTION: LEGO1 0x1000cca0
|
|
|
|
void LegoModelPresenter::Destroy()
|
|
|
|
{
|
|
|
|
Destroy(FALSE);
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1007f660
|
2023-12-13 05:48:14 -05:00
|
|
|
void LegoModelPresenter::configureLegoModelPresenter(MxS32 p_modelPresenterConfig)
|
2023-06-30 14:34:39 -04:00
|
|
|
{
|
2023-12-13 05:48:14 -05:00
|
|
|
g_modelPresenterConfig = p_modelPresenterConfig;
|
2023-06-30 14:34:39 -04:00
|
|
|
}
|
2024-01-04 20:01:04 -05:00
|
|
|
|
2024-01-12 17:30:50 -05:00
|
|
|
// FUNCTION: LEGO1 0x1007f670
|
2024-01-04 20:01:04 -05:00
|
|
|
void LegoModelPresenter::Destroy(MxBool p_fromDestructor)
|
|
|
|
{
|
2024-01-12 17:30:50 -05:00
|
|
|
m_criticalSection.Enter();
|
|
|
|
m_unk0x64 = 0;
|
|
|
|
m_addedToView = FALSE;
|
|
|
|
m_criticalSection.Leave();
|
|
|
|
if (!p_fromDestructor) {
|
|
|
|
MxVideoPresenter::Destroy(FALSE);
|
|
|
|
}
|
2024-01-04 20:01:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x10080050
|
|
|
|
void LegoModelPresenter::ReadyTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
2024-01-12 17:30:50 -05:00
|
|
|
SetTickleState(TickleState_Starting);
|
2024-01-04 20:01:04 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x100801b0
|
|
|
|
void LegoModelPresenter::ParseExtra()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|