mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
d82d062e92
* Implement/match MxRegionCursor class * Rename function
31 lines
780 B
C++
31 lines
780 B
C++
#ifndef MXREGION_H
|
|
#define MXREGION_H
|
|
|
|
#include "decomp.h"
|
|
#include "mxcore.h"
|
|
#include "mxrect32.h"
|
|
#include "mxregionlist.h"
|
|
|
|
// VTABLE: LEGO1 0x100dcae8
|
|
// SIZE 0x1c
|
|
class MxRegion : public MxCore {
|
|
public:
|
|
MxRegion();
|
|
virtual ~MxRegion() override;
|
|
|
|
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
|
|
|
|
inline MxRegionTopBottomList* GetTopBottomList() const { return m_list; }
|
|
inline const MxRect32& GetRect() const { return m_rect; }
|
|
|
|
friend class MxRegionCursor;
|
|
|
|
private:
|
|
MxRegionTopBottomList* m_list; // 0x08
|
|
MxRect32 m_rect; // 0x0c
|
|
};
|
|
|
|
#endif // MXREGION_H
|