From 10b881f997384378a299bff358716db5183b65a5 Mon Sep 17 00:00:00 2001 From: Björn Steinbrink Date: Sat, 13 Aug 2005 12:49:52 +0000 Subject: Huge header cleanup to reduce dependencies and compile time. --- src/being.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/being.h') 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 #include -#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 */ -- cgit v1.2.3-70-g09d2