summaryrefslogtreecommitdiff
path: root/src/map.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-17 17:53:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-17 20:36:02 +0300
commit01e2baa778318150bdd1829836cfff9e677cf72c (patch)
tree8ee3cd0913f2b4b3e81f869a68413f9789d3e43e /src/map.h
parentd6da03bf0c4bd2e89429448f2d33c2bdc5083733 (diff)
downloadmanaverse-01e2baa778318150bdd1829836cfff9e677cf72c.tar.gz
manaverse-01e2baa778318150bdd1829836cfff9e677cf72c.tar.bz2
manaverse-01e2baa778318150bdd1829836cfff9e677cf72c.tar.xz
manaverse-01e2baa778318150bdd1829836cfff9e677cf72c.zip
add walking on map height.
using collisions from actual and not drawing tile. still have issue with fringe layer objects.
Diffstat (limited to 'src/map.h')
-rw-r--r--src/map.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map.h b/src/map.h
index a6eef01bf..37990752b 100644
--- a/src/map.h
+++ b/src/map.h
@@ -424,6 +424,8 @@ class Map final : public Properties, public ConfigListener
void addHeights(MapHeights *const heights);
+ uint8_t getHeightOffset(const int x, const int y) const;
+
protected:
friend class Actor;
friend class Minimap;