summaryrefslogtreecommitdiff
path: root/src/ai
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2010-04-12 14:12:47 +0000
committersmatz <smatz@openttd.org>2010-04-12 14:12:47 +0000
commit0ef33548c20ae9cf73a6e9e850b17137b1453dd3 (patch)
tree90774f16ecabdadb1786b8e79cf2fa7c0ddedb8f /src/ai
parent24a60b77ece2fabd866d0a6f4e3ecda3f2d52ea2 (diff)
downloadopenttd-0ef33548c20ae9cf73a6e9e850b17137b1453dd3.tar.xz
(svn r19614) -Codechange: "it's" => "its" where appropriate
Diffstat (limited to 'src/ai')
-rw-r--r--src/ai/api/ai_error.hpp4
-rw-r--r--src/ai/api/ai_gamesettings.hpp4
-rw-r--r--src/ai/api/ai_rail.hpp2
-rw-r--r--src/ai/api/ai_tunnel.cpp2
-rw-r--r--src/ai/api/ai_vehicle.hpp2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/ai/api/ai_error.hpp b/src/ai/api/ai_error.hpp
index 44e36405f..c810e57ac 100644
--- a/src/ai/api/ai_error.hpp
+++ b/src/ai/api/ai_error.hpp
@@ -154,7 +154,7 @@ public:
static AIErrorType StringToError(StringID internal_string_id);
/**
- * Map an internal OpenTTD error message to it's NoAI equivalent.
+ * Map an internal OpenTTD error message to its NoAI equivalent.
* @note DO NOT INVOKE THIS METHOD YOURSELF! The calls are autogenerated.
* @param internal_string_id The OpenTTD StringID used for an error.
* @param ai_error_msg The NoAI equivalent error message.
@@ -162,7 +162,7 @@ public:
static void RegisterErrorMap(StringID internal_string_id, AIErrorType ai_error_msg);
/**
- * Map an internal OpenTTD error message to it's NoAI equivalent.
+ * Map an internal OpenTTD error message to its NoAI equivalent.
* @note DO NOT INVOKE THIS METHOD YOURSELF! The calls are autogenerated.
* @param ai_error_msg The NoAI error message representation.
* @param message The string representation of this error message, used for debug purposes.
diff --git a/src/ai/api/ai_gamesettings.hpp b/src/ai/api/ai_gamesettings.hpp
index 17f3c7847..4be80c40c 100644
--- a/src/ai/api/ai_gamesettings.hpp
+++ b/src/ai/api/ai_gamesettings.hpp
@@ -44,7 +44,7 @@ public:
* @param setting The setting to check for existence.
* @warning Results of this function are not governed by the API. This means
* that a setting that previously existed can be gone or has
- * changed it's name.
+ * changed its name.
* @note Results achieved in the past offer no gurantee for the future.
* @return True if and only if the setting is valid.
*/
@@ -57,7 +57,7 @@ public:
* @warning Results of this function are not governed by the API. This means
* that the value of settings may be out of the expected range. It
* also means that a setting that previously existed can be gone or
- * has changed it's name/characteristics.
+ * has changed its name/characteristics.
* @note Results achieved in the past offer no gurantee for the future.
* @return The value for the setting.
*/
diff --git a/src/ai/api/ai_rail.hpp b/src/ai/api/ai_rail.hpp
index 5a8a3d111..807248243 100644
--- a/src/ai/api/ai_rail.hpp
+++ b/src/ai/api/ai_rail.hpp
@@ -406,7 +406,7 @@ public:
* @pre AIMap::DistanceManhattan(tile, front) == 1.
* @param tile The tile that might have a signal.
* @param front The tile in front of 'tile'.
- * @return The SignalType of the signal on 'tile' with it's front to 'front'.
+ * @return The SignalType of the signal on 'tile' facing to 'front'.
*/
static SignalType GetSignalType(TileIndex tile, TileIndex front);
diff --git a/src/ai/api/ai_tunnel.cpp b/src/ai/api/ai_tunnel.cpp
index 71b700e9b..911b4a6fd 100644
--- a/src/ai/api/ai_tunnel.cpp
+++ b/src/ai/api/ai_tunnel.cpp
@@ -25,7 +25,7 @@
{
if (!::IsValidTile(tile)) return INVALID_TILE;
- /* If it's a tunnel alread, take the easy way out! */
+ /* If it's a tunnel already, take the easy way out! */
if (IsTunnelTile(tile)) return ::GetOtherTunnelEnd(tile);
uint start_z;
diff --git a/src/ai/api/ai_vehicle.hpp b/src/ai/api/ai_vehicle.hpp
index 049ee8ade..124f5a738 100644
--- a/src/ai/api/ai_vehicle.hpp
+++ b/src/ai/api/ai_vehicle.hpp
@@ -314,7 +314,7 @@ public:
static VehicleID BuildVehicle(TileIndex depot, EngineID engine_id);
/**
- * Clones a vehicle at the given depot, copying or cloning it's orders.
+ * Clones a vehicle at the given depot, copying or cloning its orders.
* @param depot The depot where the vehicle will be build.
* @param vehicle_id The vehicle to use as example for the new vehicle.
* @param share_orders Should the orders be copied or shared?