summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-02-07 16:23:42 +0000
committerfrosch <frosch@openttd.org>2009-02-07 16:23:42 +0000
commit4e8707b93f9f3d26ecdd2896b3309b0d3a75a046 (patch)
treeee5abfbdcb1b3a99bce39f33f8b81fa73b9a5258 /src
parent769573d1e96efe2893010277107d4e23f98e8046 (diff)
downloadopenttd-4e8707b93f9f3d26ecdd2896b3309b0d3a75a046.tar.xz
(svn r15400) -Fix: Typos in comments.
Diffstat (limited to 'src')
-rw-r--r--src/ai/api/ai_event_types.hpp2
-rw-r--r--src/ai/api/ai_industry.hpp8
-rw-r--r--src/ai/api/ai_industrytype.hpp8
3 files changed, 9 insertions, 9 deletions
diff --git a/src/ai/api/ai_event_types.hpp b/src/ai/api/ai_event_types.hpp
index 18cae119f..ce5cf0a14 100644
--- a/src/ai/api/ai_event_types.hpp
+++ b/src/ai/api/ai_event_types.hpp
@@ -703,7 +703,7 @@ private:
};
/**
- * Event Disaster Zeppeliner Cleared, indicating a previously crashed zeppeliner has been remvoed, and the airport is operating again.
+ * Event Disaster Zeppeliner Cleared, indicating a previously crashed zeppeliner has been removed, and the airport is operating again.
*/
class AIEventDisasterZeppelinerCleared : public AIEvent {
public:
diff --git a/src/ai/api/ai_industry.hpp b/src/ai/api/ai_industry.hpp
index 501b06087..471df937a 100644
--- a/src/ai/api/ai_industry.hpp
+++ b/src/ai/api/ai_industry.hpp
@@ -47,10 +47,10 @@ public:
/**
* Gets the production of a cargo of the industry.
- * WARNING This function does not neccessarily return useful values for newindustries.
- * An industry produces at least the returned amount per month,
- * but the function can also return 0, when the industry produces lots of cargo.
- * GetLastMonthProduction() is more robust.
+ * @warning This function does not neccessarily return useful values for newindustries.
+ * An industry produces at least the returned amount per month,
+ * but the function can also return 0, when the industry produces lots of cargo.
+ * GetLastMonthProduction() is more robust.
* @param industry_id The index of the industry.
* @param cargo_id The index of the cargo.
* @pre IsValidIndustry(industry_id).
diff --git a/src/ai/api/ai_industrytype.hpp b/src/ai/api/ai_industrytype.hpp
index a7ef9acc1..f5773a4d3 100644
--- a/src/ai/api/ai_industrytype.hpp
+++ b/src/ai/api/ai_industrytype.hpp
@@ -33,8 +33,8 @@ public:
/**
* Get a list of CargoID possible produced by this industry-type.
- * WARNING This is function only returns the default cargos of the industry type.
- * Industries can specify new cargotypes on construction.
+ * @warning This function only returns the default cargos of the industry type.
+ * Industries can specify new cargotypes on construction.
* @param industry_type The type to get the CargoIDs for.
* @pre IsValidIndustryType(industry_type).
* @return The CargoIDs of all cargotypes this industry could produce.
@@ -43,8 +43,8 @@ public:
/**
* Get a list of CargoID accepted by this industry-type.
- * WARNING This is function only returns the default cargos of the industry type.
- * Industries can specify new cargotypes on construction.
+ * @warning This function only returns the default cargos of the industry type.
+ * Industries can specify new cargotypes on construction.
* @param industry_type The type to get the CargoIDs for.
* @pre IsValidIndustryType(industry_type).
* @return The CargoIDs of all cargotypes this industry accepts.