More work on OTBM saving (now it can save binary map w/o spawns and houses) w00t, the 1000th commit

This commit is contained in:
niczkx
2012-08-08 07:59:38 -06:00
parent dfff05e6e2
commit 85b52fbdfd
5 changed files with 65 additions and 24 deletions

View File

@@ -61,6 +61,9 @@ public:
TPoint<T> operator/(float v) const { return TPoint<T>(x/v, y/v); }
TPoint<T>& operator/=(float v) { x/=v; y/=v; return *this; }
TPoint<T> operator&(int a) { return TPoint<T>(x & a, y & a); }
TPoint<T>& operator&=(int a) { x &= a; y &= a; return *this; }
bool operator<=(const TPoint<T>&other) const { return x<=other.x && y<=other.y; }
bool operator>=(const TPoint<T>&other) const { return x>=other.x && y>=other.y; }
bool operator<(const TPoint<T>&other) const { return x<other.x && y<other.y; }