Change: Use gender-neutral pronouns

This commit is contained in:
rubidium42
2021-05-09 19:02:17 +02:00
committed by rubidium42
parent ddaedaf32a
commit 44ca7d9377
38 changed files with 55 additions and 53 deletions

View File

@@ -54,7 +54,7 @@
seprintf(log_message, lastof(log_message), "Break: %s", message);
ScriptLog::Log(ScriptLog::LOG_SQ_ERROR, log_message);
/* Inform script developer that his script has been paused and
/* Inform script developer that their script has been paused and
* needs manual action to continue. */
ShowAIDebugWindow(ScriptObject::GetRootCompany());

View File

@@ -365,7 +365,7 @@ ScriptObject::ActiveInstance::~ActiveInstance()
IncreaseDoCommandCosts(res.GetCost());
/* Suspend the script player for 1+ ticks, so it simulates multiplayer. This
* both avoids confusion when a developer launched his script in a
* both avoids confusion when a developer launched the script in a
* multiplayer game, but also gives time for the GUI and human player
* to interact with the game. */
throw Script_Suspend(GetDoCommandDelay(), callback);

View File

@@ -34,7 +34,9 @@ public:
class ScriptWaypointList_Vehicle : public ScriptList {
public:
/**
* @param vehicle_id The vehicle to get the list of waypoints he has in its orders from.
* Get the waypoints from the orders of the given vehicle. Duplicates are
* not added. Waypoints are added in the order of the vehicle's orders.
* @param vehicle_id The vehicle to get the list of waypoints for.
*/
ScriptWaypointList_Vehicle(VehicleID vehicle_id);
};

View File

@@ -116,7 +116,7 @@ public:
void AnchorUnchangeableSettings();
/**
* Get the value of a setting for this config. It might fallback to his
* Get the value of a setting for this config. It might fallback to its
* 'info' to find the default value (if not set or if not-custom difficulty
* level).
* @return The (default) value of the setting, or -1 if the setting was not

View File

@@ -15,7 +15,7 @@
#include "../safeguards.h"
/* The reason this exists in C++, is that a user can trash his ai/ or game/ dir,
/* The reason this exists in C++, is that a user can trash their ai/ or game/ dir,
* leaving no Scripts available. The complexity to solve this is insane, and
* therefore the alternative is used, and make sure there is always a Script
* available, no matter what the situation is. By defining it in C++, there

View File

@@ -55,7 +55,7 @@ public:
virtual class ScriptInfo *FindLibrary(const char *library, int version) = 0;
/**
* A script in multiplayer waits for the server to handle his DoCommand.
* A script in multiplayer waits for the server to handle its DoCommand.
* It keeps waiting for this until this function is called.
*/
void Continue();