OpenTTD Source: RoadStopAnimationBase Struct Reference

OpenTTD Source 15.0-beta1

Static Public Attributes
RoadStopAnimationBase Struct Reference

Helper class for animation control. More...

Inheritance diagram for RoadStopAnimationBase:

## Static Public Attributes
static const CallbackID | cb_animation_speed = CBID_STATION_ANIMATION_SPEED
static const CallbackID | cb_animation_next_frame = CBID_STATION_ANIM_NEXT_FRAME
static const RoadStopCallbackMask | cbm_animation_speed = CBM_ROAD_STOP_ANIMATION_SPEED
static const RoadStopCallbackMask | cbm_animation_next_frame = CBM_ROAD_STOP_ANIMATION_NEXT_FRAME

## Additional Inherited Members
Static Public Member Functions inherited from AnimationBase< RoadStopAnimationBase, RoadStopSpec, BaseStation, int, GetAnimRoadStopCallback, RoadStopAnimationFrameAnimationHelper >
static void | AnimateTile (const RoadStopSpec *spec, BaseStation *obj, TileIndex tile, bool random_animation, int extra_data=0)
| Animate a single tile.
static void | ChangeAnimationFrame (CallbackID cb, const RoadStopSpec *spec, BaseStation *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 352 of file newgrf_roadstop.cpp.

## Field Documentation

## ◆ cb_animation_next_frame

const CallbackID RoadStopAnimationBase::cb_animation_next_frame = CBID_STATION_ANIM_NEXT_FRAME
| static

Definition at line 354 of file newgrf_roadstop.cpp.

## ◆ cb_animation_speed

const CallbackID RoadStopAnimationBase::cb_animation_speed = CBID_STATION_ANIMATION_SPEED
| static

Definition at line 353 of file newgrf_roadstop.cpp.

## ◆ cbm_animation_next_frame

const RoadStopCallbackMask RoadStopAnimationBase::cbm_animation_next_frame = CBM_ROAD_STOP_ANIMATION_NEXT_FRAME
| static

Definition at line 357 of file newgrf_roadstop.cpp.

## ◆ cbm_animation_speed

const RoadStopCallbackMask RoadStopAnimationBase::cbm_animation_speed = CBM_ROAD_STOP_ANIMATION_SPEED
| static

Definition at line 356 of file newgrf_roadstop.cpp.

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

- src/newgrf_roadstop.cpp