MxRegion structures

This commit is contained in:
Christian Semmler
2023-10-17 18:12:24 -04:00
parent 7c26a4d2dc
commit 0604f25778
5 changed files with 91 additions and 11 deletions

18
LEGO1/mxregionlist.cpp Normal file
View File

@@ -0,0 +1,18 @@
#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)
{
if (p_topBottom) {
if (p_topBottom->m_leftRightList)
delete p_topBottom->m_leftRightList;
delete p_topBottom;
}
}