diff options
Diffstat (limited to 'src/direction_type.h')
-rw-r--r-- | src/direction_type.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/direction_type.h b/src/direction_type.h index e0c0d6873..4ab1b705d 100644 --- a/src/direction_type.h +++ b/src/direction_type.h @@ -118,9 +118,10 @@ DECLARE_POSTFIX_INCREMENT(DiagDirDiff); * align the north-east edge (and south-west) edge. */ enum Axis { - AXIS_X = 0, ///< The X axis - AXIS_Y = 1, ///< The y axis - AXIS_END ///< Used for iterations + AXIS_X = 0, ///< The X axis + AXIS_Y = 1, ///< The y axis + AXIS_END, ///< Used for iterations + INVALID_AXIS = 0xFF, ///< Flag for an invalid Axis }; #endif /* DIRECTION_TYPE_H */ |