From 732e073261a0c9f2d644475ec800f5acae90ec94 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 1 Dec 2012 13:12:39 +0000 Subject: (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) --- src/script/api/script_group.hpp | 4 ++-- src/script/api/script_info_docs.hpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/script/api') diff --git a/src/script/api/script_group.hpp b/src/script/api/script_group.hpp index e1cd7cf4e..fd8888a17 100644 --- a/src/script/api/script_group.hpp +++ b/src/script/api/script_group.hpp @@ -113,7 +113,7 @@ public: /** * Move a vehicle to a group. - * @param group_id The group to move the vehicel to. + * @param group_id The group to move the vehicle to. * @param vehicle_id The vehicle to move to the group. * @pre IsValidGroup(group_id) || group_id == GROUP_DEFAULT. * @pre ScriptVehicle::IsValidVehicle(vehicle_id). @@ -129,7 +129,7 @@ public: * (auto)replaced with a longer variant (longer wagons or longer engines) * If enabled, wagons are removed from the end of the vehicle until it * fits in the same number of tiles as it did before. - * @param keep_length If true, wagons will be removed if the a new engine is longer. + * @param keep_length If true, wagons will be removed if the new engine is longer. * @return True if and only if the value was successfully changed. */ static bool EnableWagonRemoval(bool keep_length); diff --git a/src/script/api/script_info_docs.hpp b/src/script/api/script_info_docs.hpp index 14c442248..1ae38750c 100644 --- a/src/script/api/script_info_docs.hpp +++ b/src/script/api/script_info_docs.hpp @@ -133,7 +133,7 @@ public: * Can a non-developer select Script for a new game. * * The idea behind this function is to 'forbid' using your script with a new - * game if you for example specificly wrote it for a certain scenario. + * game if you for example specifically wrote it for a certain scenario. * * @return True if the Script can be selected from the GUI as non-developer. * @note This function is optional. Default is false. @@ -153,13 +153,13 @@ public: /** * Gets the API version this Script is written for. If this function - * does not exist API compatability with version 0.7 is assumed. + * does not exist API compatibility with version 0.7 is assumed. * If the function returns something OpenTTD does not understand, * for example a newer version or a string that is not a version, * the Script will not be loaded. * * Although in the future we might need to make a separate - * compatability 'wrapper' for a specific version of OpenTTD, for + * compatibility 'wrapper' for a specific version of OpenTTD, for * example '0.7.1', we will use only the major and minor number * and not the bugfix number as valid return for this function. * @@ -246,7 +246,7 @@ public: * @param setting_name The name of the setting. * @param value_names A table that maps values to names. The first * character of every identifier is ignored and the rest should - * be the an integer of the value you define a name for. The value + * be an integer of the value you define a name for. The value * is a short description of that value. * To define labels for a setting named "competition_level" you could * for example call it like this: -- cgit v1.2.3-54-g00ecf