(svn r18912) -Codechange: free up a bunch of airporttile ids by using the tile animation frame
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user