OpenTTD Source 20250617-master-gdd826ea49c
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)
 
bool TriggerAirportTileAnimation (Station *st, TileIndex tile, AirportAnimationTrigger trigger)
 
bool TriggerAirportAnimation (Station *st, AirportAnimationTrigger 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

◆ AnimateAirportTile()

void AnimateAirportTile ( TileIndex  tile)

Definition at line 300 of file newgrf_airporttiles.cpp.

◆ DrawNewAirportTile()

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

Definition at line 260 of file newgrf_airporttiles.cpp.

◆ TriggerAirportAnimation()

bool TriggerAirportAnimation ( Station st,
AirportAnimationTrigger  trigger,
CargoType  cargo_type = INVALID_CARGO 
)

Definition at line 322 of file newgrf_airporttiles.cpp.

◆ TriggerAirportTileAnimation()

bool TriggerAirportTileAnimation ( Station st,
TileIndex  tile,
AirportAnimationTrigger  trigger 
)

Definition at line 317 of file newgrf_airporttiles.cpp.