mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
MxControlPresenter: destructor and ReadyTickle (#279)
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
#include "mxcontrolpresenter.h"
|
||||
|
||||
#include "legoomni.h"
|
||||
#include "mxticklemanager.h"
|
||||
|
||||
DECOMP_SIZE_ASSERT(MxControlPresenter, 0x5c)
|
||||
|
||||
// OFFSET: LEGO1 0x10043f50
|
||||
@@ -12,3 +15,21 @@ MxControlPresenter::MxControlPresenter()
|
||||
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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user