summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-07-20 23:09:11 +0300
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_efer>2010-07-22 00:14:39 +0200
commit682b632b26bcc0dc1e375858d23e15d645ec2fdb (patch)
tree21d6cf30f53fecb5026f2682cd943abe93d3bcdd /src/map.h
parent3d27cb14160fb17eb7fc149ac82318bcec6f1bd6 (diff)
downloadmana-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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/map.h b/src/map.h
index 86a5d3ee..160cb7f7 100644
--- a/src/map.h
+++ b/src/map.h
@@ -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
};
/**