diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-07-20 23:09:11 +0300 |
---|---|---|
committer | Yohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer> | 2010-07-22 00:14:39 +0200 |
commit | 682b632b26bcc0dc1e375858d23e15d645ec2fdb (patch) | |
tree | 21d6cf30f53fecb5026f2682cd943abe93d3bcdd /src/map.h | |
parent | 3d27cb14160fb17eb7fc149ac82318bcec6f1bd6 (diff) | |
download | mana-682b632b26bcc0dc1e375858d23e15d645ec2fdb.tar.gz mana-682b632b26bcc0dc1e375858d23e15d645ec2fdb.tar.bz2 mana-682b632b26bcc0dc1e375858d23e15d645ec2fdb.tar.xz mana-682b632b26bcc0dc1e375858d23e15d645ec2fdb.zip |
Add two debug map modes and improve slightly map drawing.
Reviewed-by: Bertram
Diffstat (limited to 'src/map.h')
-rw-r--r-- | src/map.h | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -128,6 +128,11 @@ class MapLayer const Actors &actors, int mDebugFlags) const; + bool isFringeLayer() + { return mIsFringeLayer; } + + int getTileDrawWidth(int x1, int y1, int endX, int &width) const; + private: int mX, mY; int mWidth, mHeight; @@ -161,7 +166,9 @@ class Map : public Properties { MAP_NORMAL = 0, MAP_DEBUG = 1, - MAP_SPECIAL = 2 + MAP_SPECIAL = 2, + MAP_SPECIAL2 = 3, + MAP_SPECIAL3 = 4 }; /** |