OpenTTD Source 15.0-beta2
newgrf_airporttiles.h File Reference

NewGRF handling of airport tiles. More...

#include "airport.h"
#include "station_map.h"
#include "newgrf_animation_type.h"
#include "newgrf_badge_type.h"
#include "newgrf_callbacks.h"
#include "newgrf_commons.h"
#include "newgrf_spritegroup.h"
#include "station_base.h"

Go to the source code of this file.

Data Structures

struct  AirportTileScopeResolver
 Scope resolver for handling the tiles of an airport. More...
 
struct  AirportTileResolverObject
 Resolver for tiles of an airport. More...
 
struct  AirportTileSpec
 Defines the data structure of each individual tile of an airport. More...
 

Functions

void AnimateAirportTile (TileIndex tile)
 
void AirportTileAnimationTrigger (Station *st, TileIndex tile, AirpAnimationTrigger trigger, CargoType cargo_type=INVALID_CARGO)
 
void AirportAnimationTrigger (Station *st, AirpAnimationTrigger trigger, CargoType cargo_type=INVALID_CARGO)
 
bool DrawNewAirportTile (TileInfo *ti, Station *st, const AirportTileSpec *airts)
 

Detailed Description

NewGRF handling of airport tiles.

Definition in file newgrf_airporttiles.h.

Function Documentation

◆ AirportAnimationTrigger()

void AirportAnimationTrigger ( Station *  st,
AirpAnimationTrigger  trigger,
CargoType  cargo_type = INVALID_CARGO 
)

Definition at line 311 of file newgrf_airporttiles.cpp.

◆ AirportTileAnimationTrigger()

void AirportTileAnimationTrigger ( Station *  st,
TileIndex  tile,
AirpAnimationTrigger  trigger,
CargoType  cargo_type = INVALID_CARGO 
)

Definition at line 303 of file newgrf_airporttiles.cpp.

◆ AnimateAirportTile()

void AnimateAirportTile ( TileIndex  tile)

Definition at line 295 of file newgrf_airporttiles.cpp.

◆ DrawNewAirportTile()

bool DrawNewAirportTile ( TileInfo *  ti,
Station *  st,
const AirportTileSpec *  airts 
)

Definition at line 262 of file newgrf_airporttiles.cpp.