diff options
author | truebrain <truebrain@openttd.org> | 2011-11-23 16:05:59 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-11-23 16:05:59 +0000 |
commit | 68b133c110fe18b3927e7a06a748d6b6ef4c2838 (patch) | |
tree | be3b58d3f55ff77b836de0e0af56cb098784bb86 /src/ai/api/ai_town.hpp | |
parent | 229e572663158d8fd37cabf3c2a3cb06811ff0a1 (diff) | |
download | openttd-68b133c110fe18b3927e7a06a748d6b6ef4c2838.tar.xz |
(svn r23299) -Codechange: remove silly comments from AI documentation
Diffstat (limited to 'src/ai/api/ai_town.hpp')
-rw-r--r-- | src/ai/api/ai_town.hpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/ai/api/ai_town.hpp b/src/ai/api/ai_town.hpp index 9ad4b24c1..da86d5994 100644 --- a/src/ai/api/ai_town.hpp +++ b/src/ai/api/ai_town.hpp @@ -104,7 +104,6 @@ public: /** * Gets the number of towns. * @return The number of towns. - * @post Return value is always non-negative. */ static int32 GetTownCount(); @@ -128,7 +127,6 @@ public: * @param town_id The town to get the population of. * @pre IsValidTown(town_id). * @return The number of inhabitants. - * @post Return value is always non-negative. */ static int32 GetPopulation(TownID town_id); @@ -137,7 +135,6 @@ public: * @param town_id The town to get the number of houses of. * @pre IsValidTown(town_id). * @return The number of houses. - * @post Return value is always non-negative. */ static int32 GetHouseCount(TownID town_id); @@ -156,7 +153,6 @@ public: * @pre IsValidTown(town_id). * @pre AICargo::IsValidCargo(cargo_id). * @return The last month's production of the given cargo for this town. - * @post Return value is always non-negative. */ static int32 GetLastMonthProduction(TownID town_id, CargoID cargo_id); @@ -167,7 +163,6 @@ public: * @pre IsValidTown(town_id). * @pre AICargo::IsValidCargo(cargo_id). * @return The amount of cargo supplied for transport from this town last month. - * @post Return value is always non-negative. */ static int32 GetLastMonthSupplied(TownID town_id, CargoID cargo_id); @@ -178,7 +173,6 @@ public: * @pre IsValidTown(town_id). * @pre AICargo::IsValidCargo(cargo_id). * @return The percentage of given cargo transported from this town last month. - * @post Return value is always non-negative. */ static int32 GetLastMonthTransportedPercentage(TownID town_id, CargoID cargo_id); @@ -189,7 +183,6 @@ public: * @pre IsValidTown(town_id). * @pre AICargo::IsValidTownEffect(cargo_id). * @return The amount of cargo received by this town last month for this cargo effect. - * @post Return value is always non-negative. */ static int32 GetLastMonthReceived(TownID town_id, AICargo::TownEffect towneffect_id); |