diff options
author | rubidium <rubidium@openttd.org> | 2009-07-30 22:06:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-30 22:06:54 +0000 |
commit | c2fdb85c0dce9cfa61045ccee16052f0e31d7078 (patch) | |
tree | 24853ee952142af808fb2a00b5c4324ccf934c8c /src/direction_type.h | |
parent | 45c9a747db37ef134a4681da8d0a6064e8fbf677 (diff) | |
download | openttd-c2fdb85c0dce9cfa61045ccee16052f0e31d7078.tar.xz |
(svn r17000) -Change: allow overbuilding/extending waypoints
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 */ |