From 4e8707b93f9f3d26ecdd2896b3309b0d3a75a046 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 7 Feb 2009 16:23:42 +0000 Subject: [PATCH] (svn r15400) -Fix: Typos in comments. --- src/ai/api/ai_event_types.hpp | 2 +- src/ai/api/ai_industry.hpp | 8 ++++---- src/ai/api/ai_industrytype.hpp | 8 ++++---- 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 18cae119fe..ce5cf0a145 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 501b06087f..471df937a7 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 a7ef9acc18..f5773a4d3e 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.