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

View File

@@ -2,9 +2,25 @@
#define MXREGION_H
#include "mxcore.h"
#include "mxregionlist.h"
#include "mxrect32.h"
#include "decomp.h"
// SIZE 0x0c
struct MxRegionTopBottom
{
MxS32 m_top;
MxS32 m_bottom;
MxRegionLeftRightList *m_leftRightList;
};
// SIZE 0x08
struct MxRegionLeftRight
{
MxS32 m_left;
MxS32 m_right;
};
// VTABLE 0x100dcae8
// SIZE 0x1c
class MxRegion : public MxCore
@@ -21,9 +37,7 @@ public:
inline MxRect32 &GetRect() { return this->m_rect; }
private:
// A container (probably MxList) holding MxRect32
// MxList<MxRect32*> *m_rects;
undefined4 m_unk08;
MxRegionList *m_list;
MxRect32 m_rect;
};