mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 23:57:54 -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
|