2023-06-29 04:10:08 -04:00
|
|
|
#include "legohideanimpresenter.h"
|
|
|
|
|
2024-01-17 12:24:05 -05:00
|
|
|
DECOMP_SIZE_ASSERT(LegoHideAnimPresenter, 0xc4)
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006d7e0
|
2023-06-29 04:10:08 -04:00
|
|
|
LegoHideAnimPresenter::LegoHideAnimPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
Init();
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
|
|
|
|
2024-01-17 12:24:05 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006d9f0
|
2024-01-14 16:28:46 -05:00
|
|
|
LegoHideAnimPresenter::~LegoHideAnimPresenter()
|
|
|
|
{
|
2024-01-17 12:24:05 -05:00
|
|
|
Destroy(TRUE);
|
2024-01-14 16:28:46 -05:00
|
|
|
}
|
|
|
|
|
2024-01-17 12:24:05 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006da50
|
2023-06-29 04:10:08 -04:00
|
|
|
void LegoHideAnimPresenter::Init()
|
|
|
|
{
|
2024-01-17 12:24:05 -05:00
|
|
|
m_unk0xc0 = NULL;
|
|
|
|
}
|
|
|
|
|
|
|
|
// FUNCTION: LEGO1 0x1006da60
|
|
|
|
void LegoHideAnimPresenter::Destroy(MxBool p_fromDestructor)
|
|
|
|
{
|
|
|
|
m_criticalSection.Enter();
|
|
|
|
|
2024-02-01 15:42:10 -05:00
|
|
|
if (m_unk0xc0) {
|
2024-01-17 12:24:05 -05:00
|
|
|
delete m_unk0xc0;
|
2024-02-01 15:42:10 -05:00
|
|
|
}
|
2024-01-17 12:24:05 -05:00
|
|
|
Init();
|
|
|
|
|
|
|
|
m_criticalSection.Leave();
|
|
|
|
|
|
|
|
// This appears to be a bug, since it results in an endless loop
|
2024-02-01 15:42:10 -05:00
|
|
|
if (!p_fromDestructor) {
|
2024-01-17 12:24:05 -05:00
|
|
|
LegoHideAnimPresenter::Destroy();
|
2024-02-01 15:42:10 -05:00
|
|
|
}
|
2024-01-17 12:24:05 -05:00
|
|
|
}
|
|
|
|
|
2024-01-20 18:04:46 -05:00
|
|
|
// STUB: LEGO1 0x1006dab0
|
|
|
|
MxResult LegoHideAnimPresenter::AddToManager()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
return SUCCESS;
|
|
|
|
}
|
|
|
|
|
2024-01-17 12:24:05 -05:00
|
|
|
// FUNCTION: LEGO1 0x1006dac0
|
|
|
|
void LegoHideAnimPresenter::Destroy()
|
|
|
|
{
|
|
|
|
Destroy(FALSE);
|
2023-06-29 04:10:08 -04:00
|
|
|
}
|
2024-01-20 18:04:46 -05:00
|
|
|
|
|
|
|
// STUB: LEGO1 0x1006dad0
|
|
|
|
void LegoHideAnimPresenter::PutFrame()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x1006dae0
|
|
|
|
void LegoHideAnimPresenter::ReadyTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x1006db20
|
|
|
|
void LegoHideAnimPresenter::StartingTickle()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|
|
|
|
|
|
|
|
// STUB: LEGO1 0x1006e9e0
|
|
|
|
void LegoHideAnimPresenter::EndAction()
|
|
|
|
{
|
|
|
|
// TODO
|
|
|
|
}
|