Mercurial > hg > openttd
changeset 11060:d85c5180effe draft
(svn r15400) -Fix: Typos in comments.
author | frosch <frosch@openttd.org> |
---|---|
date | Sat, 07 Feb 2009 16:23:42 +0000 |
parents | b843df5d362a |
children | a6d63fcd0fd9 |
files | src/ai/api/ai_event_types.hpp src/ai/api/ai_industry.hpp src/ai/api/ai_industrytype.hpp |
diffstat | 3 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ai/api/ai_event_types.hpp +++ b/src/ai/api/ai_event_types.hpp @@ -703,7 +703,7 @@ }; /** - * 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:
--- a/src/ai/api/ai_industry.hpp +++ b/src/ai/api/ai_industry.hpp @@ -47,10 +47,10 @@ /** * 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).
--- a/src/ai/api/ai_industrytype.hpp +++ b/src/ai/api/ai_industrytype.hpp @@ -33,8 +33,8 @@ /** * 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 @@ /** * 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.