|
@@ -135,9 +135,9 @@ public:
|
|
|
/// Return gid.
|
|
/// Return gid.
|
|
|
int GetGid() const { return gid_ & ~FLIP_ALL; }
|
|
int GetGid() const { return gid_ & ~FLIP_ALL; }
|
|
|
/// Return flip X.
|
|
/// Return flip X.
|
|
|
- bool GetFlipX() const { return gid_ & FLIP_HORIZONTAL; }
|
|
|
|
|
|
|
+ bool GetFlipX() const { return gid_ & FLIP_VERTICAL; }
|
|
|
/// Return flip Y.
|
|
/// Return flip Y.
|
|
|
- bool GetFlipY() const { return gid_ & FLIP_VERTICAL; }
|
|
|
|
|
|
|
+ bool GetFlipY() const { return gid_ & FLIP_HORIZONTAL; }
|
|
|
/// Return swap X and Y.
|
|
/// Return swap X and Y.
|
|
|
bool GetSwapXY() const { return gid_ & FLIP_DIAGONAL; }
|
|
bool GetSwapXY() const { return gid_ & FLIP_DIAGONAL; }
|
|
|
|
|
|
|
@@ -188,9 +188,9 @@ public:
|
|
|
/// Return tile Gid.
|
|
/// Return tile Gid.
|
|
|
int GetTileGid() const { return gid_ & ~FLIP_ALL; }
|
|
int GetTileGid() const { return gid_ & ~FLIP_ALL; }
|
|
|
/// Return tile flip X.
|
|
/// Return tile flip X.
|
|
|
- bool GetTileFlipX() const { return gid_ & FLIP_HORIZONTAL; }
|
|
|
|
|
|
|
+ bool GetTileFlipX() const { return gid_ & FLIP_VERTICAL; }
|
|
|
/// Return tile flip Y.
|
|
/// Return tile flip Y.
|
|
|
- bool GetTileFlipY() const { return gid_ & FLIP_VERTICAL; }
|
|
|
|
|
|
|
+ bool GetTileFlipY() const { return gid_ & FLIP_HORIZONTAL; }
|
|
|
/// Return tile swap X and Y.
|
|
/// Return tile swap X and Y.
|
|
|
bool GetTileSwapXY() const { return gid_ & FLIP_DIAGONAL; }
|
|
bool GetTileSwapXY() const { return gid_ & FLIP_DIAGONAL; }
|
|
|
|
|
|