This commit is contained in:
Christian Semmler
2023-10-25 06:39:25 -04:00
parent a2a5cd1186
commit 14350660c8
2 changed files with 16 additions and 21 deletions

View File

@@ -1,8 +1,9 @@
#include "mxregionlist.h"
#include "mxregion.h"
// OFFSET: LEGO1 0x100c33e0
void MxRegionListParent::Destroy(MxRegionTopBottom *p_topBottom)
void MxRegionListParent::Destroy(MxRegionTopBottom* p_topBottom)
{
if (p_topBottom) {
if (p_topBottom->m_leftRightList)
@@ -12,7 +13,7 @@ void MxRegionListParent::Destroy(MxRegionTopBottom *p_topBottom)
}
// OFFSET: LEGO1 0x100c4e80
void MxRegionLeftRightListParent::Destroy(MxRegionLeftRight *p_leftRight)
void MxRegionLeftRightListParent::Destroy(MxRegionLeftRight* p_leftRight)
{
delete p_leftRight;
}

View File

@@ -8,14 +8,11 @@ struct MxRegionLeftRight;
// VTABLE 0x100dcb40
// SIZE 0x18
class MxRegionListParent : public MxList<MxRegionTopBottom*>
{
class MxRegionListParent : public MxList<MxRegionTopBottom*> {
public:
static void Destroy(MxRegionTopBottom *p_topBottom);
static void Destroy(MxRegionTopBottom* p_topBottom);
MxRegionListParent() {
m_customDestructor = Destroy;
}
MxRegionListParent() { m_customDestructor = Destroy; }
};
// VTABLE 0x100dcb58
@@ -33,14 +30,11 @@ typedef MxListCursorChildChild<MxRegionTopBottom*> MxRegionListCursor;
// VTABLE 0x100dcc70
// SIZE 0x18
class MxRegionLeftRightListParent : public MxList<MxRegionLeftRight*>
{
class MxRegionLeftRightListParent : public MxList<MxRegionLeftRight*> {
public:
static void Destroy(MxRegionLeftRight *p_leftRight);
static void Destroy(MxRegionLeftRight* p_leftRight);
MxRegionLeftRightListParent() {
m_customDestructor = Destroy;
}
MxRegionLeftRightListParent() { m_customDestructor = Destroy; }
};
// VTABLE 0x100dcc88