src/road_map.h
changeset 6418 e04693bbe82a
parent 6393 e1e4939d19b5
child 6661 1716fce5ad29
--- a/src/road_map.h	Tue Apr 03 19:19:04 2007 +0000
+++ b/src/road_map.h	Tue Apr 03 21:51:40 2007 +0000
@@ -173,10 +173,19 @@
  * - road tunnels: entrance is treated as road piece
  * - bridge ramps: start of the ramp is treated as road piece
  * - bridge middle parts: bridge itself is ignored
+ * @param tile the tile to get the road bits for
+ * @return the road bits of the given tile
  */
-RoadBits GetAnyRoadBits(TileIndex);
+RoadBits GetAnyRoadBits(TileIndex tile);
 
-
+/**
+ * Get the accessible track bits for the given tile.
+ * Special behaviour:
+ *  - road depots: no track bits
+ *  - non-drive-through stations: no track bits
+ * @param tile the tile to get the track bits for
+ * @return the track bits for the given tile
+ */
 TrackBits GetAnyRoadTrackBits(TileIndex tile);