branch | noai |
changeset 9601 | b499fdd106d5 |
parent 9574 | 698395509d12 |
--- a/src/station_map.cpp Sun Apr 15 10:30:00 2007 +0000 +++ b/src/station_map.cpp Sun Apr 22 19:06:48 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));