summaryrefslogtreecommitdiff
path: root/src/newgrf_airport.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-02 23:09:38 +0000
committeryexo <yexo@openttd.org>2010-08-02 23:09:38 +0000
commit689d4bef04462173335be7f7973d67d353910783 (patch)
treef00c571f182f425a995332819431b1e7950aee3a /src/newgrf_airport.h
parentaae7ef73bb11f786683fe1b4cd897938d6b0691a (diff)
downloadopenttd-689d4bef04462173335be7f7973d67d353910783.tar.xz
(svn r20331) -Doc: some more airport-related code
Diffstat (limited to 'src/newgrf_airport.h')
-rw-r--r--src/newgrf_airport.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/newgrf_airport.h b/src/newgrf_airport.h
index c2200918d..bcaa7e274 100644
--- a/src/newgrf_airport.h
+++ b/src/newgrf_airport.h
@@ -20,9 +20,10 @@
/* Copy from station_map.h */
typedef byte StationGfx;
+/** Tile-offset / AirportTileID pair. */
struct AirportTileTable {
- TileIndexDiffC ti;
- StationGfx gfx;
+ TileIndexDiffC ti; ///< Tile offset from the top-most airport tile.
+ StationGfx gfx; ///< AirportTile to use for this tile.
};
/** List of default airport classes. */
@@ -48,8 +49,8 @@ enum TTDPAirportType {
/** A list of all hangar tiles in an airport */
struct HangarTileTable {
- TileIndexDiffC ti;
- byte hangar_num;
+ TileIndexDiffC ti; ///< Tile offset from the top-most airport tile.
+ byte hangar_num; ///< The hanger to which this tile belongs.
};
/**