OpenTTD Source 20241224-master-gf74b0cf984
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_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, CargoID cargo_type=INVALID_CARGO)
 
void AirportAnimationTrigger (Station *st, AirpAnimationTrigger trigger, CargoID 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,
CargoID  cargo_type = INVALID_CARGO 
)

Definition at line 307 of file newgrf_airporttiles.cpp.

◆ AirportTileAnimationTrigger()

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

Definition at line 299 of file newgrf_airporttiles.cpp.

◆ AnimateAirportTile()

void AnimateAirportTile ( TileIndex  tile)

Definition at line 291 of file newgrf_airporttiles.cpp.

◆ DrawNewAirportTile()

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

Definition at line 258 of file newgrf_airporttiles.cpp.