diff options
author | yexo <yexo@openttd.org> | 2010-01-24 20:25:28 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-01-24 20:25:28 +0000 |
commit | 388c713f08092ed3ddf9eefa0122d9bea65450a5 (patch) | |
tree | e2dbf4ced0d2b4209fb48bf34725e8d2d14e48af /src/airport.h | |
parent | 6ff482f515a831ec8d2f7cff258a56588c7c4d36 (diff) | |
download | openttd-388c713f08092ed3ddf9eefa0122d9bea65450a5.tar.xz |
(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
Diffstat (limited to 'src/airport.h')
-rw-r--r-- | src/airport.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/airport.h b/src/airport.h index 99e262e37..ea534fab2 100644 --- a/src/airport.h +++ b/src/airport.h @@ -21,11 +21,7 @@ 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 = 144, ///< total number of airport tiles -}; - -enum { - AIRPORTTILE_NOANIM = 0xFF, ///< flag to mark airport tiles as having no animation + NUM_AIRPORTTILES = 74, ///< total number of airport tiles }; /** Airport types */ @@ -79,7 +75,7 @@ struct AirportSpec { * Defines the data structure of each indivudual tile of an airport. */ struct AirportTileSpec { - StationGfx anim_next; ///< Next StationGfx in an animation + uint16 animation_info; ///< Information about the animation (is it looping, how many loops etc) uint8 animation_speed; ///< The speed of the animation static const AirportTileSpec *Get(StationGfx gfx); |