summaryrefslogtreecommitdiff
path: root/src/airport.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/airport.h')
-rw-r--r--src/airport.h8
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);