summaryrefslogtreecommitdiff
path: root/src/being.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.h')
-rw-r--r--src/being.h16
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 */