OpenTTD Source 20250205-master-gfd85ab1e2c
AirportTileAnimationBase Struct Reference

Helper class for animation control. More...

Inheritance diagram for AirportTileAnimationBase:
AnimationBase< AirportTileAnimationBase, AirportTileSpec, Station, int, GetAirportTileCallback, TileAnimationFrameAnimationHelper< Station > >

Static Public Attributes

static constexpr CallbackID cb_animation_speed = CBID_AIRPTILE_ANIMATION_SPEED
 
static constexpr CallbackID cb_animation_next_frame = CBID_AIRPTILE_ANIM_NEXT_FRAME
 
static constexpr AirportTileCallbackMask cbm_animation_speed = AirportTileCallbackMask::AnimationSpeed
 
static constexpr AirportTileCallbackMask cbm_animation_next_frame = AirportTileCallbackMask::AnimationNextFrame
 

Additional Inherited Members

- Static Public Member Functions inherited from AnimationBase< AirportTileAnimationBase, AirportTileSpec, Station, int, GetAirportTileCallback, TileAnimationFrameAnimationHelper< Station > >
static void AnimateTile (const AirportTileSpec *spec, Station *obj, TileIndex tile, bool random_animation, int extra_data=0)
 Animate a single tile.
 
static void ChangeAnimationFrame (CallbackID cb, const AirportTileSpec *spec, Station *obj, TileIndex tile, uint32_t random_bits, uint32_t trigger, int extra_data=0)
 Check a callback to determine what the next animation step is and execute that step.
 

Detailed Description

Helper class for animation control.

Definition at line 283 of file newgrf_airporttiles.cpp.

Field Documentation

◆ cb_animation_next_frame

constexpr CallbackID AirportTileAnimationBase::cb_animation_next_frame = CBID_AIRPTILE_ANIM_NEXT_FRAME
staticconstexpr

Definition at line 285 of file newgrf_airporttiles.cpp.

◆ cb_animation_speed

constexpr CallbackID AirportTileAnimationBase::cb_animation_speed = CBID_AIRPTILE_ANIMATION_SPEED
staticconstexpr

Definition at line 284 of file newgrf_airporttiles.cpp.

◆ cbm_animation_next_frame

constexpr AirportTileCallbackMask AirportTileAnimationBase::cbm_animation_next_frame = AirportTileCallbackMask::AnimationNextFrame
staticconstexpr

Definition at line 288 of file newgrf_airporttiles.cpp.

◆ cbm_animation_speed

constexpr AirportTileCallbackMask AirportTileAnimationBase::cbm_animation_speed = AirportTileCallbackMask::AnimationSpeed
staticconstexpr

Definition at line 287 of file newgrf_airporttiles.cpp.


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