Codefix: [Script] Mention ScriptError::ERR_STATION_TOO_SPREAD_OUT in API doc (#14562)

This commit is contained in:
Loïc Guilloux
2025-08-31 15:18:51 +00:00
committed by GitHub
parent 80666a0d51
commit 4b9afbe35b
4 changed files with 8 additions and 1 deletions
+2
View File
@@ -447,6 +447,7 @@ public:
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN
* @exception ScriptError::ERR_BRIDGE_TOO_LOW
* @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT
* @return Whether the station has been/can be build or not.
*/
static bool BuildRoadStation(TileIndex tile, TileIndex front, RoadVehicleType road_veh_type, StationID station_id);
@@ -473,6 +474,7 @@ public:
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS
* @exception ScriptStation::ERR_STATION_TOO_MANY_STATIONS_IN_TOWN
* @exception ScriptError::ERR_BRIDGE_TOO_LOW
* @exception ScriptError::ERR_STATION_TOO_SPREAD_OUT
* @return Whether the station has been/can be build or not.
*/
static bool BuildDriveThroughRoadStation(TileIndex tile, TileIndex front, RoadVehicleType road_veh_type, StationID station_id);