From 441a90b599613813f97f85537b7a05e628fba4cb Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 28 Jul 2013 20:11:47 +0300 Subject: move bools in maplayer. --- src/maplayer.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'src/maplayer.h') diff --git a/src/maplayer.h b/src/maplayer.h index 952dd6785..b36ab0cc7 100644 --- a/src/maplayer.h +++ b/src/maplayer.h @@ -173,17 +173,17 @@ class MapLayer final: public ConfigListener const int endX, int &width) const A_WARN_UNUSED; private: - int mX, mY; - int mWidth, mHeight; - bool mIsFringeLayer; /**< Whether the actors are drawn. */ - bool mHighlightAttackRange; + int mX; + int mY; + int mWidth; + int mHeight; Image **mTiles; -// int *mTilesWidth; -// int *mTilesCount; SpecialLayer *mSpecialLayer; SpecialLayer *mTempLayer; typedef std::vector MapRows; MapRows mTempRows; + bool mIsFringeLayer; /**< Whether the actors are drawn. */ + bool mHighlightAttackRange; }; class SpecialLayer final @@ -214,9 +214,10 @@ class SpecialLayer final void clean() const; private: - int mWidth, mHeight; - bool mDrawSprites; + int mWidth; + int mHeight; MapItem **mTiles; + bool mDrawSprites; }; class MapItem final @@ -286,10 +287,10 @@ class MapItem final const int dx, const int dy) const; private: - int mType; Image *mImage; std::string mComment; std::string mName; + int mType; int mX; int mY; }; -- cgit v1.2.3-70-g09d2