2023-06-29 04:10:08 -04:00
|
|
|
#include "mxcontrolpresenter.h"
|
|
|
|
|
2023-11-10 13:27:10 -05:00
|
|
|
#include "legoomni.h"
|
|
|
|
#include "mxticklemanager.h"
|
|
|
|
|
2023-10-01 08:49:55 -04:00
|
|
|
DECOMP_SIZE_ASSERT(MxControlPresenter, 0x5c)
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10043f50
|
2023-06-29 04:10:08 -04:00
|
|
|
MxControlPresenter::MxControlPresenter()
|
|
|
|
{
|
2023-10-24 19:38:27 -04:00
|
|
|
this->m_unk4c = 0;
|
|
|
|
this->m_unk4e = -1;
|
|
|
|
this->m_unk50 = 0;
|
|
|
|
this->m_unk52 = 0;
|
|
|
|
this->m_unk58 = 0;
|
|
|
|
this->m_unk54 = 0;
|
2023-10-25 14:51:59 -04:00
|
|
|
}
|
2023-11-10 13:27:10 -05:00
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10044110
|
2023-11-10 13:27:10 -05:00
|
|
|
MxControlPresenter::~MxControlPresenter()
|
|
|
|
{
|
|
|
|
if (this->m_unk58) {
|
|
|
|
delete this->m_unk58;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// FUNCTION: LEGO1 0x10044610
|
2023-11-10 13:27:10 -05:00
|
|
|
void MxControlPresenter::ReadyTickle()
|
|
|
|
{
|
|
|
|
MxPresenter::ParseExtra();
|
|
|
|
TickleManager()->UnregisterClient(this);
|
|
|
|
|
|
|
|
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
|
|
|
m_currentTickleState = TickleState_Repeating;
|
|
|
|
}
|