This commit is contained in:
Christian Semmler
2023-10-17 18:37:56 -04:00
parent 1289a16cf0
commit 2407b9e798
3 changed files with 25 additions and 23 deletions

View File

@@ -3,6 +3,8 @@
#include <limits.h>
DECOMP_SIZE_ASSERT(MxRegion, 0x1c);
DECOMP_SIZE_ASSERT(MxRegionTopBottom, 0x0c);
DECOMP_SIZE_ASSERT(MxRegionLeftRight, 0x08);
// OFFSET: LEGO1 0x100c31c0
MxRegion::MxRegion()

View File

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

View File

@@ -3,24 +3,8 @@
#include "mxlist.h"
struct MxRegionLeftRight;
struct MxRegionTopBottom;
// VTABLE 0x100dcc70
// SIZE 0x18
class MxRegionLeftRightListParent : public MxList<MxRegionLeftRight*>
{
public:
static void Destroy(MxRegionLeftRight *p_leftRight);
MxRegionLeftRightListParent() {
m_customDestructor = Destroy;
}
};
// VTABLE 0x100dcc88
// SIZE 0x18
class MxRegionLeftRightList : public MxRegionLeftRightListParent {};
struct MxRegionLeftRight;
// VTABLE 0x100dcb40
// SIZE 0x18
@@ -38,4 +22,20 @@ public:
// SIZE 0x18
class MxRegionList : public MxRegionListParent {};
// VTABLE 0x100dcc70
// SIZE 0x18
class MxRegionLeftRightListParent : public MxList<MxRegionLeftRight*>
{
public:
static void Destroy(MxRegionLeftRight *p_leftRight);
MxRegionLeftRightListParent() {
m_customDestructor = Destroy;
}
};
// VTABLE 0x100dcc88
// SIZE 0x18
class MxRegionLeftRightList : public MxRegionLeftRightListParent {};
#endif // MXREGIONLIST_H