mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-29 19:05:34 -05:00
Implement/match LegoAnimMMPresenter::~LegoAnimMMPresenter (#833)
* Implement/match LegoAnimMMPresenter::~LegoAnimMMPresenter * add missing override * use NULL
This commit is contained in:
parent
30747dbae6
commit
26f2dd1e5f
2 changed files with 14 additions and 1 deletions
|
@ -25,6 +25,7 @@ class LegoAnimMMPresenter : public MxCompositePresenter {
|
||||||
};
|
};
|
||||||
|
|
||||||
LegoAnimMMPresenter();
|
LegoAnimMMPresenter();
|
||||||
|
~LegoAnimMMPresenter() override;
|
||||||
|
|
||||||
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
MxLong Notify(MxParam& p_param) override; // vtable+0x04
|
||||||
|
|
||||||
|
|
|
@ -28,12 +28,24 @@ LegoAnimMMPresenter::LegoAnimMMPresenter()
|
||||||
m_tranInfo = NULL;
|
m_tranInfo = NULL;
|
||||||
m_unk0x54 = 0;
|
m_unk0x54 = 0;
|
||||||
m_unk0x64 = NULL;
|
m_unk0x64 = NULL;
|
||||||
m_unk0x68 = 0;
|
m_unk0x68 = NULL;
|
||||||
m_roiMap = NULL;
|
m_roiMap = NULL;
|
||||||
m_roiMapSize = 0;
|
m_roiMapSize = 0;
|
||||||
m_unk0x58 = e_unk0;
|
m_unk0x58 = e_unk0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// FUNCTION: LEGO1 0x1004aa60
|
||||||
|
LegoAnimMMPresenter::~LegoAnimMMPresenter()
|
||||||
|
{
|
||||||
|
if (VideoManager() != NULL) {
|
||||||
|
VideoManager()->UnregisterPresenter(*this);
|
||||||
|
}
|
||||||
|
|
||||||
|
delete m_unk0x68;
|
||||||
|
|
||||||
|
NotificationManager()->Unregister(this);
|
||||||
|
}
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x1004aaf0
|
// FUNCTION: LEGO1 0x1004aaf0
|
||||||
MxResult LegoAnimMMPresenter::StartAction(MxStreamController* p_controller, MxDSAction* p_action)
|
MxResult LegoAnimMMPresenter::StartAction(MxStreamController* p_controller, MxDSAction* p_action)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue