summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
Diffstat (limited to 'src/ai')
-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.