summaryrefslogtreecommitdiff
path: root/src/ai/api/ai_cargo.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_cargo.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_cargo.hpp')
-rw-r--r--src/ai/api/ai_cargo.hpp32
1 files changed, 16 insertions, 16 deletions
diff --git a/src/ai/api/ai_cargo.hpp b/src/ai/api/ai_cargo.hpp
index f753ee317..819d0399a 100644
--- a/src/ai/api/ai_cargo.hpp
+++ b/src/ai/api/ai_cargo.hpp
@@ -25,28 +25,28 @@ public:
* The classes of cargo (from newgrf_cargo.h).
*/
enum CargoClass {
- CC_PASSENGERS = 1 << 0, //!< Passengers. Cargos of this class appear at bus stops. Cargos not of this class appear at truck stops.
- CC_MAIL = 1 << 1, //!< Mail
- CC_EXPRESS = 1 << 2, //!< Express cargo (Goods, Food, Candy, but also possible for passengers)
- CC_ARMOURED = 1 << 3, //!< Armoured cargo (Valuables, Gold, Diamonds)
- CC_BULK = 1 << 4, //!< Bulk cargo (Coal, Grain etc., Ores, Fruit)
- CC_PIECE_GOODS = 1 << 5, //!< Piece goods (Livestock, Wood, Steel, Paper)
- CC_LIQUID = 1 << 6, //!< Liquids (Oil, Water, Rubber)
- CC_REFRIGERATED = 1 << 7, //!< Refrigerated cargo (Food, Fruit)
- CC_HAZARDOUS = 1 << 8, //!< Hazardous cargo (Nuclear Fuel, Explosives, etc.)
- CC_COVERED = 1 << 9, //!< Covered/Sheltered Freight (Transporation in Box Vans, Silo Wagons, etc.)
+ CC_PASSENGERS = 1 << 0, ///< Passengers. Cargos of this class appear at bus stops. Cargos not of this class appear at truck stops.
+ CC_MAIL = 1 << 1, ///< Mail
+ CC_EXPRESS = 1 << 2, ///< Express cargo (Goods, Food, Candy, but also possible for passengers)
+ CC_ARMOURED = 1 << 3, ///< Armoured cargo (Valuables, Gold, Diamonds)
+ CC_BULK = 1 << 4, ///< Bulk cargo (Coal, Grain etc., Ores, Fruit)
+ CC_PIECE_GOODS = 1 << 5, ///< Piece goods (Livestock, Wood, Steel, Paper)
+ CC_LIQUID = 1 << 6, ///< Liquids (Oil, Water, Rubber)
+ CC_REFRIGERATED = 1 << 7, ///< Refrigerated cargo (Food, Fruit)
+ CC_HAZARDOUS = 1 << 8, ///< Hazardous cargo (Nuclear Fuel, Explosives, etc.)
+ CC_COVERED = 1 << 9, ///< Covered/Sheltered Freight (Transporation in Box Vans, Silo Wagons, etc.)
};
/**
* The effects a cargo can have on a town.
*/
enum TownEffect {
- TE_NONE = 0, //!< This cargo has no effect on a town
- TE_PASSENGERS = 1, //!< This cargo supplies passengers to a town
- TE_MAIL = 2, //!< This cargo supplies mail to a town
- TE_GOODS = 3, //!< This cargo supplies goods to a town
- TE_WATER = 4, //!< This cargo supplies water to a town
- TE_FOOD = 5, //!< This cargo supplies food to a town
+ TE_NONE = 0, ///< This cargo has no effect on a town
+ TE_PASSENGERS = 1, ///< This cargo supplies passengers to a town
+ TE_MAIL = 2, ///< This cargo supplies mail to a town
+ TE_GOODS = 3, ///< This cargo supplies goods to a town
+ TE_WATER = 4, ///< This cargo supplies water to a town
+ TE_FOOD = 5, ///< This cargo supplies food to a town
};
/**