mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-20 23:01:16 +00:00
32 lines
649 B
C++
32 lines
649 B
C++
#ifndef MXPOINT32_H
|
|
#define MXPOINT32_H
|
|
|
|
#include "mfc.h"
|
|
#include "mxtypes.h"
|
|
|
|
// TODO: We recently added the MFC base class.
|
|
// We have to check all usage sites of MxPoint32 and verify with the help of the BETA
|
|
// whether MxPoint32 or CPoint has been used.
|
|
|
|
class MxPoint32 : public CPoint {
|
|
public:
|
|
MxPoint32() {}
|
|
|
|
// FUNCTION: LEGO1 0x10012170
|
|
MxPoint32(MxS32 p_x, MxS32 p_y) : CPoint(p_x, p_y) {}
|
|
|
|
MxPoint32(const MxPoint32& p_point)
|
|
{
|
|
x = p_point.x;
|
|
y = p_point.y;
|
|
}
|
|
|
|
MxS32 GetX() const { return x; }
|
|
MxS32 GetY() const { return y; }
|
|
|
|
void SetX(MxS32 p_x) { x = p_x; }
|
|
void SetY(MxS32 p_y) { y = p_y; }
|
|
};
|
|
|
|
#endif // MXPOINT32_H
|