diff options
author | yexo <yexo@openttd.org> | 2010-02-22 14:15:48 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-02-22 14:15:48 +0000 |
commit | 683ad53d21871e49bd8f6071db25e8ab1ad4485b (patch) | |
tree | 2ceff6d0297c9f2f4163d14ea0224ea9a9f68560 /src/airport.h | |
parent | 3530156e15b6770894a6e07d065f4f771934e83a (diff) | |
download | openttd-683ad53d21871e49bd8f6071db25e8ab1ad4485b.tar.xz |
(svn r19193) -Codechange: increase the maximum number of airport tiles to 256 and introduce AirportTileOverrideManager
Diffstat (limited to 'src/airport.h')
-rw-r--r-- | src/airport.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/airport.h b/src/airport.h index 49d86b62a..ffd453d0d 100644 --- a/src/airport.h +++ b/src/airport.h @@ -16,12 +16,14 @@ #include "map_type.h" #include "date_type.h" -/** Current limits for airports */ +/** Some airport-related constants */ enum { - MAX_TERMINALS = 10, ///< maximum number of terminals per airport - MAX_HELIPADS = 4, ///< maximum number of helipads per airport - MAX_ELEMENTS = 255, ///< maximum number of aircraft positions at airport - NUM_AIRPORTTILES = 74, ///< total number of airport tiles + MAX_TERMINALS = 10, ///< maximum number of terminals per airport + MAX_HELIPADS = 4, ///< maximum number of helipads per airport + MAX_ELEMENTS = 255, ///< maximum number of aircraft positions at airport + NUM_AIRPORTTILES = 256, ///< total number of airport tiles + NEW_AIRPORTTILE_OFFSET = 74, ///< offset of first newgrf airport tile + INVALID_AIRPORTTILE = NUM_AIRPORTTILES, ///< id for an invalid airport tile }; /** Airport types */ |