From 01e2baa778318150bdd1829836cfff9e677cf72c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 17 Sep 2013 17:53:47 +0300 Subject: add walking on map height. using collisions from actual and not drawing tile. still have issue with fringe layer objects. --- src/map.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/map.h') 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; -- cgit v1.2.3-60-g2f50