summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_vehicle.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_vehicle.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_vehicle.hpp')
-rw-r--r--src/ai/api/ai_vehicle.hpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/ai/api/ai_vehicle.hpp b/src/ai/api/ai_vehicle.hpp
index c7ee91857..24bc8b4f2 100644
--- a/src/ai/api/ai_vehicle.hpp
+++ b/src/ai/api/ai_vehicle.hpp
@@ -75,28 +75,28 @@ public:
*/
enum VehicleType {
/* Order IS important, as it now matches the internal state of the game for vehicle type */
- VT_RAIL, //!< Rail type vehicle.
- VT_ROAD, //!< Road type vehicle (bus / truck).
- VT_WATER, //!< Water type vehicle.
- VT_AIR, //!< Air type vehicle.
- VT_INVALID = 0xFF, //!< Invalid vehicle type.
+ VT_RAIL, ///< Rail type vehicle.
+ VT_ROAD, ///< Road type vehicle (bus / truck).
+ VT_WATER, ///< Water type vehicle.
+ VT_AIR, ///< Air type vehicle.
+ VT_INVALID = 0xFF, ///< Invalid vehicle type.
};
/**
* The different states a vehicle can be in.
*/
enum VehicleState {
- VS_RUNNING, //!< The vehicle is currently running.
- VS_STOPPED, //!< The vehicle is stopped manually.
- VS_IN_DEPOT, //!< The vehicle is stopped in the depot.
- VS_AT_STATION, //!< The vehicle is stopped at a station and is currently loading or unloading.
- VS_BROKEN, //!< The vehicle has broken down and will start running again in a while.
- VS_CRASHED, //!< The vehicle is crashed (and will never run again).
-
- VS_INVALID = 0xFF, //!< An invalid vehicle state.
+ VS_RUNNING, ///< The vehicle is currently running.
+ VS_STOPPED, ///< The vehicle is stopped manually.
+ VS_IN_DEPOT, ///< The vehicle is stopped in the depot.
+ VS_AT_STATION, ///< The vehicle is stopped at a station and is currently loading or unloading.
+ VS_BROKEN, ///< The vehicle has broken down and will start running again in a while.
+ VS_CRASHED, ///< The vehicle is crashed (and will never run again).
+
+ VS_INVALID = 0xFF, ///< An invalid vehicle state.
};
- static const int VEHICLE_INVALID = -1; //!< Invalid VehicleID.
+ static const int VEHICLE_INVALID = -1; ///< Invalid VehicleID.
/**
* Checks whether the given vehicle is valid and owned by you.