mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 23:48:12 -05:00
35 lines
709 B
C++
35 lines
709 B
C++
#include "mxcontrolpresenter.h"
|
|
|
|
#include "legoomni.h"
|
|
#include "mxticklemanager.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxControlPresenter, 0x5c)
|
|
|
|
// OFFSET: LEGO1 0x10043f50
|
|
MxControlPresenter::MxControlPresenter()
|
|
{
|
|
this->m_unk4c = 0;
|
|
this->m_unk4e = -1;
|
|
this->m_unk50 = 0;
|
|
this->m_unk52 = 0;
|
|
this->m_unk58 = 0;
|
|
this->m_unk54 = 0;
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10044110
|
|
MxControlPresenter::~MxControlPresenter()
|
|
{
|
|
if (this->m_unk58) {
|
|
delete this->m_unk58;
|
|
}
|
|
}
|
|
|
|
// OFFSET: LEGO1 0x10044610
|
|
void MxControlPresenter::ReadyTickle()
|
|
{
|
|
MxPresenter::ParseExtra();
|
|
TickleManager()->UnregisterClient(this);
|
|
|
|
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
|
m_currentTickleState = TickleState_Repeating;
|
|
}
|