mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Format
This commit is contained in:
@@ -1,18 +1,19 @@
|
|||||||
#include "mxregionlist.h"
|
#include "mxregionlist.h"
|
||||||
|
|
||||||
#include "mxregion.h"
|
#include "mxregion.h"
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c33e0
|
// OFFSET: LEGO1 0x100c33e0
|
||||||
void MxRegionListParent::Destroy(MxRegionTopBottom *p_topBottom)
|
void MxRegionListParent::Destroy(MxRegionTopBottom* p_topBottom)
|
||||||
{
|
{
|
||||||
if (p_topBottom) {
|
if (p_topBottom) {
|
||||||
if (p_topBottom->m_leftRightList)
|
if (p_topBottom->m_leftRightList)
|
||||||
delete p_topBottom->m_leftRightList;
|
delete p_topBottom->m_leftRightList;
|
||||||
delete p_topBottom;
|
delete p_topBottom;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// OFFSET: LEGO1 0x100c4e80
|
// OFFSET: LEGO1 0x100c4e80
|
||||||
void MxRegionLeftRightListParent::Destroy(MxRegionLeftRight *p_leftRight)
|
void MxRegionLeftRightListParent::Destroy(MxRegionLeftRight* p_leftRight)
|
||||||
{
|
{
|
||||||
delete p_leftRight;
|
delete p_leftRight;
|
||||||
}
|
}
|
||||||
|
@@ -8,14 +8,11 @@ struct MxRegionLeftRight;
|
|||||||
|
|
||||||
// VTABLE 0x100dcb40
|
// VTABLE 0x100dcb40
|
||||||
// SIZE 0x18
|
// SIZE 0x18
|
||||||
class MxRegionListParent : public MxList<MxRegionTopBottom*>
|
class MxRegionListParent : public MxList<MxRegionTopBottom*> {
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
static void Destroy(MxRegionTopBottom *p_topBottom);
|
static void Destroy(MxRegionTopBottom* p_topBottom);
|
||||||
|
|
||||||
MxRegionListParent() {
|
MxRegionListParent() { m_customDestructor = Destroy; }
|
||||||
m_customDestructor = Destroy;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// VTABLE 0x100dcb58
|
// VTABLE 0x100dcb58
|
||||||
@@ -33,14 +30,11 @@ typedef MxListCursorChildChild<MxRegionTopBottom*> MxRegionListCursor;
|
|||||||
|
|
||||||
// VTABLE 0x100dcc70
|
// VTABLE 0x100dcc70
|
||||||
// SIZE 0x18
|
// SIZE 0x18
|
||||||
class MxRegionLeftRightListParent : public MxList<MxRegionLeftRight*>
|
class MxRegionLeftRightListParent : public MxList<MxRegionLeftRight*> {
|
||||||
{
|
|
||||||
public:
|
public:
|
||||||
static void Destroy(MxRegionLeftRight *p_leftRight);
|
static void Destroy(MxRegionLeftRight* p_leftRight);
|
||||||
|
|
||||||
MxRegionLeftRightListParent() {
|
MxRegionLeftRightListParent() { m_customDestructor = Destroy; }
|
||||||
m_customDestructor = Destroy;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// VTABLE 0x100dcc88
|
// VTABLE 0x100dcc88
|
||||||
|
Reference in New Issue
Block a user