diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-17 17:53:47 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-17 20:36:02 +0300 |
commit | 01e2baa778318150bdd1829836cfff9e677cf72c (patch) | |
tree | 8ee3cd0913f2b4b3e81f869a68413f9789d3e43e /src/being/being.h | |
parent | d6da03bf0c4bd2e89429448f2d33c2bdc5083733 (diff) | |
download | manaverse-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/being/being.h')
-rw-r--r-- | src/being/being.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/being/being.h b/src/being/being.h index ff40186bc..8ac288137 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -1001,7 +1001,11 @@ class Being : public ActorSprite, public ConfigListener Being *mOwner; Particle *mSpecialParticle; - int mX, mY; /**< Position in tile */ + int mX; // position in tiles + int mY; // position in tiles + int mOffsetX; // offset in pixels + int mOffsetY; // offset in pixels + uint8_t mOldHeight; int mDamageTaken; int mHP; |