diff options
author | rubidium <rubidium@openttd.org> | 2009-09-19 09:51:14 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-09-19 09:51:14 +0000 |
commit | e8ddf001c87790cde6e03e9ca47714b6fc30266c (patch) | |
tree | ee79ed87da1aba8bb3af2e0ca22d10abe5621b08 /src/station_cmd.cpp | |
parent | fa33b92b0f3fae58a7fee4dd9a74fd43bf7d1f9a (diff) | |
download | openttd-e8ddf001c87790cde6e03e9ca47714b6fc30266c.tar.xz |
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r-- | src/station_cmd.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index de7cffa02..5cbc4a4fd 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -114,10 +114,8 @@ typedef bool (*CMSAMatcher)(TileIndex tile); /** * Counts the numbers of tiles matching a specific type in the area around * @param tile the center tile of the 'count area' - * @param type the type of tile searched for - * @param industry when type == MP_INDUSTRY, the type of the industry, - * in all other cases this parameter is ignored - * @return the result the noumber of matching tiles around + * @param cmp the comparator/matcher (@see CMSAMatcher) + * @return the number of matching tiles around */ static int CountMapSquareAround(TileIndex tile, CMSAMatcher cmp) { @@ -660,6 +658,7 @@ CommandCost ClearTile_Station(TileIndex tile, DoCommandFlag flags); * @param invalid_dirs prohibited directions (set of DiagDirections) * @param station StationID to be queried and returned if available * @param check_clear if clearing tile should be performed (in wich case, cost will be added) + * @param rt The rail type to check for (overbuilding rail stations over rail) * @return the cost in case of success, or an error code if it failed. */ CommandCost CheckFlatLandBelow(TileIndex tile, uint w, uint h, DoCommandFlag flags, uint invalid_dirs, StationID *station, bool check_clear = true, RailType rt = INVALID_RAILTYPE) @@ -928,7 +927,7 @@ CommandCost FindJoiningStation(StationID existing_station, StationID station_to_ * @param waypoint_to_join the waypoint to join to * @param adjacent whether adjacent waypoints are allowed * @param ta the area of the newly build waypoint - * @param st 'return' pointer for the found waypoint + * @param wp 'return' pointer for the found waypoint * @return command cost with the error or 'okay' */ CommandCost FindJoiningWaypoint(StationID existing_waypoint, StationID waypoint_to_join, bool adjacent, TileArea ta, Waypoint **wp) @@ -2971,8 +2970,7 @@ CommandCost CmdRenameStation(TileIndex tile, DoCommandFlag flags, uint32 p1, uin * @param tile North tile of producer * @param w_prod X extent of producer * @param h_prod Y extent of producer - * - * @return: Set of found stations + * @param stations The list to store the stations in */ void FindStationsAroundTiles(TileIndex tile, int w_prod, int h_prod, StationList *stations) { |