summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_rail.hpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-01 19:36:36 +0000
committeryexo <yexo@openttd.org>2010-08-01 19:36:36 +0000
commit99cb47a3825f370e19adacd1ad1e6241eccb99f9 (patch)
tree395d0bce297155d8071e5a761e9290f107ed248b /src/ai/api/ai_rail.hpp
parented4f806f1dcff2e10d2fdfb687e6bcebe9a81af3 (diff)
downloadopenttd-99cb47a3825f370e19adacd1ad1e6241eccb99f9.tar.xz
(svn r20284) -Codechange: use ///< for single-line doxygen comments in the AI code
Diffstat (limited to 'src/ai/api/ai_rail.hpp')
-rw-r--r--src/ai/api/ai_rail.hpp50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/ai/api/ai_rail.hpp b/src/ai/api/ai_rail.hpp
index 4517aa4d0..79f12d215 100644
--- a/src/ai/api/ai_rail.hpp
+++ b/src/ai/api/ai_rail.hpp
@@ -48,7 +48,7 @@ public:
*/
enum RailType {
/* Note: the values _are_ important as they represent an in-game value */
- RAILTYPE_INVALID = 0xFF, //!< Invalid RailType.
+ RAILTYPE_INVALID = 0xFF, ///< Invalid RailType.
};
/**
@@ -56,13 +56,13 @@ public:
*/
enum RailTrack {
/* Note: the values _are_ important as they represent an in-game value */
- RAILTRACK_NE_SW = 1 << 0, //!< Track along the x-axis (north-east to south-west).
- RAILTRACK_NW_SE = 1 << 1, //!< Track along the y-axis (north-west to south-east).
- RAILTRACK_NW_NE = 1 << 2, //!< Track in the upper corner of the tile (north).
- RAILTRACK_SW_SE = 1 << 3, //!< Track in the lower corner of the tile (south).
- RAILTRACK_NW_SW = 1 << 4, //!< Track in the left corner of the tile (west).
- RAILTRACK_NE_SE = 1 << 5, //!< Track in the right corner of the tile (east).
- RAILTRACK_INVALID = 0xFF, //!< Flag for an invalid track.
+ RAILTRACK_NE_SW = 1 << 0, ///< Track along the x-axis (north-east to south-west).
+ RAILTRACK_NW_SE = 1 << 1, ///< Track along the y-axis (north-west to south-east).
+ RAILTRACK_NW_NE = 1 << 2, ///< Track in the upper corner of the tile (north).
+ RAILTRACK_SW_SE = 1 << 3, ///< Track in the lower corner of the tile (south).
+ RAILTRACK_NW_SW = 1 << 4, ///< Track in the left corner of the tile (west).
+ RAILTRACK_NE_SE = 1 << 5, ///< Track in the right corner of the tile (east).
+ RAILTRACK_INVALID = 0xFF, ///< Flag for an invalid track.
};
/**
@@ -70,29 +70,29 @@ public:
*/
enum SignalType {
/* Note: the values _are_ important as they represent an in-game value */
- SIGNALTYPE_NORMAL = 0, //!< Normal signal.
- SIGNALTYPE_ENTRY = 1, //!< Entry presignal.
- SIGNALTYPE_EXIT = 2, //!< Exit signal.
- SIGNALTYPE_COMBO = 3, //!< Combo signal.
- SIGNALTYPE_PBS = 4, //!< Normal PBS signal.
- SIGNALTYPE_PBS_ONEWAY = 5, //!< No-entry PBS signal.
- SIGNALTYPE_TWOWAY = 8, //!< Bit mask for twoway signal.
- SIGNALTYPE_NORMAL_TWOWAY = SIGNALTYPE_NORMAL | SIGNALTYPE_TWOWAY, //!< Normal twoway signal.
- SIGNALTYPE_ENTRY_TWOWAY = SIGNALTYPE_ENTRY | SIGNALTYPE_TWOWAY, //!< Entry twoway signal.
- SIGNALTYPE_EXIT_TWOWAY = SIGNALTYPE_EXIT | SIGNALTYPE_TWOWAY, //!< Exit twoway signal.
- SIGNALTYPE_COMBO_TWOWAY = SIGNALTYPE_COMBO | SIGNALTYPE_TWOWAY, //!< Combo twoway signal.
- SIGNALTYPE_NONE = 0xFF, //!< No signal.
+ SIGNALTYPE_NORMAL = 0, ///< Normal signal.
+ SIGNALTYPE_ENTRY = 1, ///< Entry presignal.
+ SIGNALTYPE_EXIT = 2, ///< Exit signal.
+ SIGNALTYPE_COMBO = 3, ///< Combo signal.
+ SIGNALTYPE_PBS = 4, ///< Normal PBS signal.
+ SIGNALTYPE_PBS_ONEWAY = 5, ///< No-entry PBS signal.
+ SIGNALTYPE_TWOWAY = 8, ///< Bit mask for twoway signal.
+ SIGNALTYPE_NORMAL_TWOWAY = SIGNALTYPE_NORMAL | SIGNALTYPE_TWOWAY, ///< Normal twoway signal.
+ SIGNALTYPE_ENTRY_TWOWAY = SIGNALTYPE_ENTRY | SIGNALTYPE_TWOWAY, ///< Entry twoway signal.
+ SIGNALTYPE_EXIT_TWOWAY = SIGNALTYPE_EXIT | SIGNALTYPE_TWOWAY, ///< Exit twoway signal.
+ SIGNALTYPE_COMBO_TWOWAY = SIGNALTYPE_COMBO | SIGNALTYPE_TWOWAY, ///< Combo twoway signal.
+ SIGNALTYPE_NONE = 0xFF, ///< No signal.
};
/**
* Types of rail-related objects in the game.
*/
enum BuildType {
- BT_TRACK, //!< Build a track
- BT_SIGNAL, //!< Build a signal
- BT_DEPOT, //!< Build a depot
- BT_STATION, //!< Build a station
- BT_WAYPOINT, //!< Build a rail waypoint
+ BT_TRACK, ///< Build a track
+ BT_SIGNAL, ///< Build a signal
+ BT_DEPOT, ///< Build a depot
+ BT_STATION, ///< Build a station
+ BT_WAYPOINT, ///< Build a rail waypoint
};
/**