AirportTileSpec Struct Reference

Defines the data structure of each indivudual tile of an airport. More...

#include <airport.h>


Static Public Member Functions

static const AirportTileSpecGet (StationGfx gfx)
 Retrieve airport tile spec for the given airport tile.

Data Fields

StationGfx anim_next
 Next StationGfx in an animation.
uint8 animation_speed
 The speed of the animation.


Detailed Description

Defines the data structure of each indivudual tile of an airport.

Definition at line 81 of file airport.h.


Member Function Documentation

const AirportTileSpec * AirportTileSpec::Get ( StationGfx  gfx  )  [static]

Retrieve airport tile spec for the given airport tile.

Parameters:
gfx index of airport tile
Returns:
A pointer to the corresponding AirportTileSpec

Definition at line 150 of file airport.cpp.

References _origin_airporttile_specs, and NUM_AIRPORTTILES.


The documentation for this struct was generated from the following files:

Generated on Wed Jan 20 23:39:02 2010 for OpenTTD by  doxygen 1.5.6