diff options
author | rubidium <rubidium@openttd.org> | 2007-04-18 18:20:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-04-18 18:20:31 +0000 |
commit | aa284fd531a9beee460c6c04a51d3738c2e3a19e (patch) | |
tree | d3bb34af70e8e355de6b714c844d9402002c01e2 /src/station_map.cpp | |
parent | 4eb87ac62ba75a39cf0f31fc0785681d028e8bc1 (diff) | |
download | openttd-aa284fd531a9beee460c6c04a51d3738c2e3a19e.tar.xz |
(svn r9670) -Documentation: add documentation to some the _map files.
Diffstat (limited to 'src/station_map.cpp')
-rw-r--r-- | src/station_map.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/station_map.cpp b/src/station_map.cpp index afe9d6ad6..d1552a082 100644 --- a/src/station_map.cpp +++ b/src/station_map.cpp @@ -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)); |