mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-23 16:21:15 +00:00
Resolve OtherAppend/Append
This commit is contained in:
parent
615e1455b2
commit
adf7028832
@ -30,7 +30,7 @@ void MxDSSelectAction::CopyFrom(MxDSSelectAction& p_dsSelectAction)
|
||||
MxStringListCursor cursor(p_dsSelectAction.m_unk0xac);
|
||||
MxString string;
|
||||
while (cursor.Next(string))
|
||||
this->m_unk0xac->OtherAppend(string);
|
||||
this->m_unk0xac->Append(string);
|
||||
}
|
||||
|
||||
// OFFSET: LEGO1 0x100cbd50
|
||||
@ -109,7 +109,7 @@ void MxDSSelectAction::Deserialize(char** p_source, MxS16 p_unk24)
|
||||
if (!strcmp(string.GetData(), *p_source))
|
||||
index = i;
|
||||
|
||||
this->m_unk0xac->OtherAppend(*p_source);
|
||||
this->m_unk0xac->Append(*p_source);
|
||||
*p_source += strlen(*p_source) + 1;
|
||||
}
|
||||
|
||||
|
||||
@ -72,8 +72,7 @@ class MxList : protected MxListParent<T> {
|
||||
|
||||
virtual ~MxList();
|
||||
|
||||
void Append(T);
|
||||
void OtherAppend(T p_obj) { _InsertEntry(p_obj, this->m_last, NULL); };
|
||||
void Append(T p_obj) { _InsertEntry(p_obj, this->m_last, NULL); };
|
||||
void DeleteAll();
|
||||
MxU32 GetCount() { return this->m_count; }
|
||||
void SetDestroy(void (*p_customDestructor)(T)) { this->m_customDestructor = p_customDestructor; }
|
||||
|
||||
@ -87,7 +87,7 @@ void MxRegion::vtable18(MxRect32& p_rect)
|
||||
|
||||
if (rectCopy.m_left < rectCopy.m_right && rectCopy.m_top < rectCopy.m_bottom) {
|
||||
MxRegionTopBottom* newTopBottom = new MxRegionTopBottom(rectCopy);
|
||||
m_list->OtherAppend(newTopBottom);
|
||||
m_list->Append(newTopBottom);
|
||||
}
|
||||
|
||||
m_rect.m_left = m_rect.m_left <= p_rect.m_left ? m_rect.m_left : p_rect.m_left;
|
||||
@ -147,7 +147,7 @@ void MxRegionTopBottom::FUN_100c5280(MxS32 p_left, MxS32 p_right)
|
||||
|
||||
if (!a.HasMatch()) {
|
||||
MxRegionLeftRight* copy = new MxRegionLeftRight(p_left, p_right);
|
||||
m_leftRightList->OtherAppend(copy);
|
||||
m_leftRightList->Append(copy);
|
||||
}
|
||||
else {
|
||||
if (p_left > leftRight->m_left)
|
||||
@ -173,7 +173,7 @@ void MxRegionTopBottom::FUN_100c5280(MxS32 p_left, MxS32 p_right)
|
||||
}
|
||||
else {
|
||||
MxRegionLeftRight* copy = new MxRegionLeftRight(p_left, p_right);
|
||||
m_leftRightList->OtherAppend(copy);
|
||||
m_leftRightList->Append(copy);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -21,7 +21,7 @@ typedef MxListCursorChild<MxString> MxStringListCursor;
|
||||
// MxList<MxString>::~MxList<MxString>
|
||||
|
||||
// OFFSET: LEGO1 0x100cbb40 TEMPLATE
|
||||
// MxList<MxString>::OtherAppend
|
||||
// MxList<MxString>::Append
|
||||
|
||||
// OFFSET: LEGO1 0x100cc2d0 TEMPLATE
|
||||
// MxList<MxString>::_InsertEntry
|
||||
|
||||
Loading…
Reference in New Issue
Block a user