mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 16:34:06 +00:00
implement misc presenter functions (#695)
* implement misc presenter functions * style/spacing --------- Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
@@ -37,10 +37,22 @@ MxResult LegoPartPresenter::AddToManager()
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
// STUB: LEGO1 0x1007c9d0
|
||||
// FUNCTION: LEGO1 0x1007c9d0
|
||||
void LegoPartPresenter::Destroy(MxBool p_fromDestructor)
|
||||
{
|
||||
// TODO
|
||||
m_criticalSection.Enter();
|
||||
VideoManager()->UnregisterPresenter(*this);
|
||||
|
||||
if (m_parts) {
|
||||
delete m_parts;
|
||||
m_parts = NULL;
|
||||
}
|
||||
m_parts = NULL;
|
||||
|
||||
m_criticalSection.Leave();
|
||||
if (!p_fromDestructor) {
|
||||
MxMediaPresenter::Destroy(FALSE);
|
||||
}
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x1007ca30
|
||||
|
Reference in New Issue
Block a user