branch | gamebalance |
changeset 9909 | dce9a6923bb7 |
parent 9908 | 0fa543611bbe |
--- a/src/station_map.cpp Tue Jun 12 11:56:35 2007 +0000 +++ b/src/station_map.cpp Wed Jun 13 11:00:24 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));