summaryrefslogtreecommitdiff
path: root/include/constants/direction.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/constants/direction.h')
-rw-r--r--include/constants/direction.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/constants/direction.h b/include/constants/direction.h
index 5f2bfb3..7c5cec5 100644
--- a/include/constants/direction.h
+++ b/include/constants/direction.h
@@ -1,6 +1,8 @@
#ifndef GUARD_CONSTANTS_DIRECTION_H
#define GUARD_CONSTANTS_DIRECTION_H
+#define DIRECTION_MASK 7
+
enum Direction
{
DIRECTION_SOUTH,
@@ -10,7 +12,8 @@ enum Direction
DIRECTION_NORTH,
DIRECTION_NORTHWEST,
DIRECTION_WEST,
- DIRECTION_SOUTHWEST
+ DIRECTION_SOUTHWEST,
+ NUM_DIRECTIONS
};
#endif