src/station_map.cpp
branchcpp_gui
changeset 6308 646711c5feaa
parent 6307 f40e88cff863
--- a/src/station_map.cpp	Sun Apr 15 17:04:44 2007 +0000
+++ b/src/station_map.cpp	Sat Apr 21 08:23:57 2007 +0000
@@ -6,7 +6,12 @@
 #include "openttd.h"
 #include "station_map.h"
 
-
+/**
+ * Get the station type (rail, airport, truck etc) for the given tile.
+ * @param t the tile to get the station type of.
+ * @pre IsTileType(t, MP_STATION)
+ * @return the station type of the given tile.
+ */
 StationType GetStationType(TileIndex t)
 {
 	assert(IsTileType(t, MP_STATION));