diff options
author | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-13 12:49:52 +0000 |
---|---|---|
committer | Björn Steinbrink <B.Steinbrink@gmx.de> | 2005-08-13 12:49:52 +0000 |
commit | 10b881f997384378a299bff358716db5183b65a5 (patch) | |
tree | 2231d834a69c1db68980c1ccefdc6586df351fc0 /src/being.h | |
parent | da5a71f65682dbb3f830be4d5ffcd0046aa7b7ce (diff) | |
download | mana-10b881f997384378a299bff358716db5183b65a5.tar.gz mana-10b881f997384378a299bff358716db5183b65a5.tar.bz2 mana-10b881f997384378a299bff358716db5183b65a5.tar.xz mana-10b881f997384378a299bff358716db5183b65a5.zip |
Huge header cleanup to reduce dependencies and compile time.
Diffstat (limited to 'src/being.h')
-rw-r--r-- | src/being.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/src/being.h b/src/being.h index f1354e3a..8d945b76 100644 --- a/src/being.h +++ b/src/being.h @@ -27,13 +27,11 @@ #include <list> #include <string> -#include "graphics.h" -#include "map.h" - #define NR_HAIR_STYLES 5 #define NR_HAIR_COLORS 10 class Map; +class Graphics; struct PATH_NODE { /** @@ -65,6 +63,18 @@ class Being DEAD = 15, }; + enum Direction { + DIR_NONE = -1, + SOUTH = 0, + SW = 1, + WEST = 2, + NW = 3, + NORTH = 4, + NE = 5, + EAST = 6, + SE = 7, + }; + unsigned short job; /**< Job (player job, npc, monster, ) */ unsigned short x, y; /**< Tile coordinates */ unsigned char direction; /**< Facing direction */ |