2023-09-19 23:00:34 -04:00
|
|
|
#ifndef MXREGION_H
|
|
|
|
#define MXREGION_H
|
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "decomp.h"
|
2023-09-19 23:00:34 -04:00
|
|
|
#include "mxcore.h"
|
2023-10-16 19:20:52 -04:00
|
|
|
#include "mxrect32.h"
|
2023-10-31 11:30:13 -04:00
|
|
|
#include "mxregionlist.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dcae8
|
2023-09-19 23:00:34 -04:00
|
|
|
// SIZE 0x1c
|
2023-10-24 19:38:27 -04:00
|
|
|
class MxRegion : public MxCore {
|
2023-09-19 23:00:34 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxRegion();
|
|
|
|
virtual ~MxRegion() override;
|
2023-09-19 23:00:34 -04:00
|
|
|
|
2023-12-27 15:31:51 -05:00
|
|
|
virtual void Reset(); // vtable+0x14
|
|
|
|
virtual void VTable0x18(MxRect32& p_rect); // vtable+0x18
|
|
|
|
virtual MxBool VTable0x1c(MxRect32& p_rect); // vtable+0x1c
|
|
|
|
virtual MxBool VTable0x20(); // vtable+0x20
|
2023-10-16 19:20:52 -04:00
|
|
|
|
2023-12-28 23:37:21 -05:00
|
|
|
inline MxRegionTopBottomList* GetTopBottomList() const { return m_list; }
|
|
|
|
inline const MxRect32& GetRect() const { return m_rect; }
|
|
|
|
|
|
|
|
friend class MxRegionCursor;
|
2023-09-19 23:00:34 -04:00
|
|
|
|
2024-01-18 08:34:14 -05:00
|
|
|
// SYNTHETIC: LEGO1 0x100c3670
|
|
|
|
// MxRegion::`scalar deleting destructor'
|
|
|
|
|
2023-09-19 23:00:34 -04:00
|
|
|
private:
|
2023-12-28 23:37:21 -05:00
|
|
|
MxRegionTopBottomList* m_list; // 0x08
|
|
|
|
MxRect32 m_rect; // 0x0c
|
2023-09-19 23:00:34 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXREGION_H
|