diff src/town_cmd.cpp @ 13070:1c4c4ae8d716 draft

(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
author rubidium <rubidium@openttd.org>
date Sat, 19 Sep 2009 09:51:14 +0000
parents 082cdb4504ac
children 090bac35e7e4
line wrap: on
line diff
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -1485,8 +1485,10 @@
  * @param t The town
  * @param tile Where to put it
  * @param townnameparts The town name
+ * @param size Parameter for size determination
  * @param size_mode How the size should be determined
- * @param size Parameter for size determination
+ * @param city whether to build a city or town
+ * @param layout the (road) layout of the town
  */
 static void DoCreateTown(Town *t, TileIndex tile, uint32 townnameparts, TownSize size, bool city, TownLayout layout)
 {
@@ -1726,6 +1728,7 @@
  * flat spot.
  *
  * @param tile Start looking from this spot.
+ * @param layout the road layout to search for
  * @return tile that was found
  */
 static TileIndex FindNearestGoodCoastalTownSpot(TileIndex tile, TownLayout layout)
@@ -1840,8 +1843,8 @@
 
 /**
  * Clears tile and builds a house or house part.
- * @param t tile index
- * @param tid Town index
+ * @param tile tile index
+ * @param t The town to clear the house for
  * @param counter of construction step
  * @param stage of construction (used for drawing)
  * @param type of house. Index into house specs array
@@ -1865,7 +1868,7 @@
 /**
  * Write house information into the map. For houses > 1 tile, all tiles are marked.
  * @param t tile index
- * @param tid Town index
+ * @param town The town related to this house
  * @param counter of construction step
  * @param stage of construction (used for drawing)
  * @param type of house. Index into house specs array