NewGRF handling of airports. More...
#include "airport.h"
#include "date_type.h"
#include "map_type.h"
#include "newgrf_class.h"
#include "newgrf_commons.h"
#include "gfx_type.h"
Go to the source code of this file.
Data Structures | |
struct | AirportTileTable |
Tile-offset / AirportTileID pair. More... | |
struct | HangarTileTable |
A list of all hangar tiles in an airport. More... | |
struct | AirportSpec |
Defines the data structure for an airport. More... | |
Typedefs | |
typedef byte | StationGfx |
typedef NewGRFClass < AirportSpec, AirportClassID, APC_MAX > | AirportClass |
Information related to airport classes. | |
Enumerations | |
enum | AirportClassID { APC_BEGIN = 0, APC_SMALL = 0, APC_LARGE, APC_HUB, APC_HELIPORT, APC_MAX = 16 } |
List of default airport classes. More... | |
enum | TTDPAirportType { ATP_TTDP_SMALL, ATP_TTDP_LARGE, ATP_TTDP_HELIPORT, ATP_TTDP_OILRIG } |
Allow incrementing of AirportClassID variables. More... | |
Functions | |
void | BindAirportSpecs () |
Tie all airportspecs to their class. | |
StringID | GetAirportTextCallback (const AirportSpec *as, byte layout, uint16 callback) |
NewGRF handling of airports.
Definition in file newgrf_airport.h.
typedef NewGRFClass<AirportSpec, AirportClassID, APC_MAX> AirportClass |
Information related to airport classes.
Definition at line 104 of file newgrf_airport.h.
enum AirportClassID |
List of default airport classes.
Definition at line 32 of file newgrf_airport.h.
enum TTDPAirportType |
Allow incrementing of AirportClassID variables.
TTDP airport types. Used to map our types to TTDPatch's
ATP_TTDP_SMALL |
Same as AT_SMALL. |
ATP_TTDP_LARGE |
Same as AT_LARGE. |
ATP_TTDP_HELIPORT |
Same as AT_HELIPORT. |
ATP_TTDP_OILRIG |
Same as AT_OILRIG. |
Definition at line 45 of file newgrf_airport.h.