1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-23 20:24:12 +01:00

Cleanup: Fix various spelling errors

This commit is contained in:
Jonathan G Rennison
2025-02-12 17:18:02 +00:00
committed by rubidium42
parent 4d0682d034
commit d06b371254
76 changed files with 132 additions and 132 deletions

View File

@@ -122,7 +122,7 @@ ScriptEventAdminPort::ScriptEventAdminPort(const std::string &json) :
{
}
/**
* Convert a JSON part fo Squirrel.
* Convert a JSON part for Squirrel.
* @param vm The VM used.
* @param json The JSON part to convert to Squirrel.
*/

View File

@@ -46,7 +46,7 @@ public:
/**
* Build an object of the specified type.
* @param object_type The type of the object to build.
* @param view The view for teh object.
* @param view The view for the object.
* @param tile The tile to build the object on.
* @pre IsValidObjectType(object_type).
* @return True if the object was successfully build.

View File

@@ -72,8 +72,8 @@ public:
* Type of road station.
*/
enum RoadVehicleType {
ROADVEHTYPE_BUS, ///< Build objects useable for busses and passenger trams
ROADVEHTYPE_TRUCK, ///< Build objects useable for trucks and cargo trams
ROADVEHTYPE_BUS, ///< Build objects usable for busses and passenger trams
ROADVEHTYPE_TRUCK, ///< Build objects usable for trucks and cargo trams
};
/**

View File

@@ -50,7 +50,7 @@ public:
SPET_GOAL = ::SPET_GOAL, ///< An element that displays a goal.
SPET_BUTTON_PUSH = ::SPET_BUTTON_PUSH, ///< A push button that triggers an immediate event.
SPET_BUTTON_TILE = ::SPET_BUTTON_TILE, ///< A button that allows the player to select a tile, and triggers an event with the tile.
SPET_BUTTON_VEHICLE = ::SPET_BUTTON_VEHICLE, ///< A button that allows the player to select a vehicle, and triggers an event wih the vehicle.
SPET_BUTTON_VEHICLE = ::SPET_BUTTON_VEHICLE, ///< A button that allows the player to select a vehicle, and triggers an event with the vehicle.
};
/**