Codechange: document parameters and return types

This commit is contained in:
Rubidium
2026-02-20 16:14:02 +01:00
committed by rubidium42
parent 21b4248fe9
commit dde097a080
24 changed files with 102 additions and 17 deletions
+2
View File
@@ -529,6 +529,7 @@ static void ShowRejectOrAcceptNews(const Station *st, CargoTypes cargoes, bool r
* @param w X extent of the area
* @param h Y extent of the area
* @param rad Search radius in addition to the given area
* @return Array of production per cargo type.
*/
CargoArray GetProductionAroundTiles(TileIndex north_tile, int w, int h, int rad)
{
@@ -2858,6 +2859,7 @@ CommandCost CmdOpenCloseAirport(DoCommandFlags flags, StationID station_id)
* @param station station ID
* @param include_company If true only check vehicles of \a company, if false only check vehicles of other companies
* @param company company ID
* @return \c true when at least one vehicle is ordered to go to this station.
*/
bool HasStationInUse(StationID station, bool include_company, CompanyID company)
{