mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-23 08:08:03 -05:00
bc5ca621a4
* Add ncc tool * Add symlink * Fixes * Try this * Try this * Try this * Try this * Add include path * Update style * Update style * Add more rules * Fix style * Update styles * Fix name parameter * Fix MxParam p * Fix m_unk0x pattern * Allow 4 digits for relative hex * Add missing offset * Fix some parameters * Fix some vtables * Fix more vtables * Update rules, fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * Fix last issue * Update readme * Update readme * Update CONTRIBUTING.md * Fix annotations * Rename * Update CONTRIBUTING.md * Update README.md
35 lines
731 B
C++
35 lines
731 B
C++
#include "mxcontrolpresenter.h"
|
|
|
|
#include "legoomni.h"
|
|
#include "mxticklemanager.h"
|
|
|
|
DECOMP_SIZE_ASSERT(MxControlPresenter, 0x5c)
|
|
|
|
// FUNCTION: LEGO1 0x10043f50
|
|
MxControlPresenter::MxControlPresenter()
|
|
{
|
|
this->m_unk0x4c = 0;
|
|
this->m_unk0x4e = -1;
|
|
this->m_unk0x50 = 0;
|
|
this->m_unk0x52 = 0;
|
|
this->m_unk0x58 = 0;
|
|
this->m_unk0x54 = 0;
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10044110
|
|
MxControlPresenter::~MxControlPresenter()
|
|
{
|
|
if (this->m_unk0x58) {
|
|
delete this->m_unk0x58;
|
|
}
|
|
}
|
|
|
|
// FUNCTION: LEGO1 0x10044610
|
|
void MxControlPresenter::ReadyTickle()
|
|
{
|
|
MxPresenter::ParseExtra();
|
|
TickleManager()->UnregisterClient(this);
|
|
|
|
m_previousTickleStates |= 1 << (unsigned char) m_currentTickleState;
|
|
m_currentTickleState = TickleState_Repeating;
|
|
}
|