mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-26 01:44:19 +00:00
Minor tweak to MxList template (#1083)
* Beta addrs for MxList and related functions * MxList DeleteAll and Empty functions
This commit is contained in:
@@ -22,6 +22,7 @@ MxDSMultiAction::~MxDSMultiAction()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100ca0d0
|
||||
// FUNCTION: BETA10 0x101595ad
|
||||
void MxDSMultiAction::CopyFrom(MxDSMultiAction& p_dsMultiAction)
|
||||
{
|
||||
this->m_actions->DeleteAll();
|
||||
|
||||
@@ -26,6 +26,7 @@ MxDSSelectAction::~MxDSSelectAction()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100cb950
|
||||
// FUNCTION: BETA10 0x1015a6ae
|
||||
void MxDSSelectAction::CopyFrom(MxDSSelectAction& p_dsSelectAction)
|
||||
{
|
||||
this->m_unk0x9c = p_dsSelectAction.m_unk0x9c;
|
||||
@@ -82,6 +83,7 @@ MxU32 MxDSSelectAction::GetSizeOnDisk()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100cbf60
|
||||
// FUNCTION: BETA10 0x1015aa30
|
||||
void MxDSSelectAction::Deserialize(MxU8*& p_source, MxS16 p_unk0x24)
|
||||
{
|
||||
MxString string;
|
||||
|
||||
@@ -23,6 +23,7 @@ MxCompositePresenter::~MxCompositePresenter()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b6410
|
||||
// FUNCTION: BETA10 0x100e9d37
|
||||
MxResult MxCompositePresenter::StartAction(MxStreamController* p_controller, MxDSAction* p_action)
|
||||
{
|
||||
AUTOLOCK(m_criticalSection);
|
||||
@@ -76,6 +77,7 @@ MxResult MxCompositePresenter::StartAction(MxStreamController* p_controller, MxD
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100b65e0
|
||||
// FUNCTION: BETA10 0x101375bc
|
||||
void MxCompositePresenter::EndAction()
|
||||
{
|
||||
AUTOLOCK(m_criticalSection);
|
||||
@@ -84,7 +86,7 @@ void MxCompositePresenter::EndAction()
|
||||
return;
|
||||
}
|
||||
|
||||
((MxDSMultiAction*) m_action)->GetActionList()->DeleteAll(FALSE);
|
||||
((MxDSMultiAction*) m_action)->GetActionList()->Empty();
|
||||
|
||||
while (!m_list.empty()) {
|
||||
MxPresenter* presenter = m_list.front();
|
||||
|
||||
@@ -7,6 +7,7 @@ DECOMP_SIZE_ASSERT(MxRegionTopBottom, 0x0c);
|
||||
DECOMP_SIZE_ASSERT(MxRegionLeftRight, 0x08);
|
||||
|
||||
// FUNCTION: LEGO1 0x100c31c0
|
||||
// FUNCTION: BETA10 0x10148f00
|
||||
MxRegion::MxRegion()
|
||||
{
|
||||
m_list = new MxRegionTopBottomList;
|
||||
@@ -28,6 +29,7 @@ MxRegion::~MxRegion()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c3700
|
||||
// FUNCTION: BETA10 0x1014907a
|
||||
void MxRegion::Reset()
|
||||
{
|
||||
m_list->DeleteAll();
|
||||
@@ -35,6 +37,7 @@ void MxRegion::Reset()
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c3750
|
||||
// FUNCTION: BETA10 0x101490bd
|
||||
void MxRegion::VTable0x18(MxRect32& p_rect)
|
||||
{
|
||||
MxRect32 rect(p_rect);
|
||||
@@ -117,6 +120,7 @@ MxRegionTopBottom::MxRegionTopBottom(MxS32 p_top, MxS32 p_bottom)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c50e0
|
||||
// FUNCTION: BETA10 0x1014a2d6
|
||||
MxRegionTopBottom::MxRegionTopBottom(MxRect32& p_rect)
|
||||
{
|
||||
m_top = p_rect.GetTop();
|
||||
@@ -128,6 +132,7 @@ MxRegionTopBottom::MxRegionTopBottom(MxRect32& p_rect)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100c5280
|
||||
// FUNCTION: BETA10 0x1014a3fc
|
||||
void MxRegionTopBottom::MergeOrExpandRegions(MxS32 p_left, MxS32 p_right)
|
||||
{
|
||||
MxRegionLeftRightListCursor a(m_leftRightList);
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
DECOMP_SIZE_ASSERT(MxRegionCursor, 0x18);
|
||||
|
||||
// FUNCTION: LEGO1 0x100c3f70
|
||||
// FUNCTION: BETA10 0x10149663
|
||||
MxRegionCursor::MxRegionCursor(MxRegion* p_region)
|
||||
{
|
||||
m_region = p_region;
|
||||
|
||||
Reference in New Issue
Block a user