LegoModelPresenter::Destroy

This commit is contained in:
Misha 2024-01-12 17:20:12 -05:00
parent 99ee212213
commit 6ff88925a0
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
2 changed files with 14 additions and 2 deletions

View File

@ -28,6 +28,10 @@ class LegoModelPresenter : public MxVideoPresenter {
protected:
void Destroy(MxBool p_fromDestructor);
private:
undefined4 m_unk0x64; // 0x64
MxBool m_addedToView; // 0x68
};
#endif // LEGOMODELPRESENTER_H

View File

@ -15,16 +15,24 @@ void LegoModelPresenter::configureLegoModelPresenter(MxS32 p_modelPresenterConfi
g_modelPresenterConfig = p_modelPresenterConfig;
}
// STUB: LEGO1 0x1007f670
// FUNCTION: LEGO1 0x1007f670
void LegoModelPresenter::Destroy(MxBool p_fromDestructor)
{
// TODO
OutputDebugString("LegoModelPresenter::Destroy\n");
m_criticalSection.Enter();
m_unk0x64 = 0;
m_addedToView = FALSE;
m_criticalSection.Leave();
if (!p_fromDestructor) {
MxVideoPresenter::Destroy(FALSE);
}
}
// STUB: LEGO1 0x10080050
void LegoModelPresenter::ReadyTickle()
{
// TODO
SetTickleState(MxPresenter::TickleState_Starting);
}
// STUB: LEGO1 0x100801b0