12 #ifndef NEWGRF_ANIMATION_TYPE_H 13 #define NEWGRF_ANIMATION_TYPE_H Trigger whenever the construction state changes.
Trigger when cargo is distributed.
IndustryAnimationTrigger
Animation triggers of the industries.
uint16 triggers
The triggers that trigger animation.
Trigger in the periodic tile loop.
Trigger platform when train arrives.
uint8 status
Status; 0: no looping, 1: looping, 0xFF: no animation.
Trigger platform when train loads/unloads.
Triggered in the periodic tile loop.
Triggered when a cargo type is completely removed from the station (for all tiles at the same time)...
Triggered when the airport is built (for all tiles at the same time).
static const uint8 ANIM_STATUS_NON_LOOPING
Animation is not looping.
Triggered when the object is built (for all tiles at the same time).
Trigger platform when train leaves.
Trigger station every 250 ticks.
Trigger when cargo is received .
Trigger station on new cargo arrival.
static const uint8 ANIM_STATUS_NO_ANIMATION
There is no animation.
Triggered every 256 ticks (for all tiles at the same time).
StationAnimationTrigger
Animation triggers for station.
ObjectAnimationTrigger
Animation triggers for objects.
Triggered every 250 ticks (for all tiles at the same time).
Information about animation.
Triggered in the periodic tile loop.
uint8 speed
The speed, i.e. the amount of time between frames.
Trigger station when cargo is completely taken.
Triggered when new cargo arrives at the station (for all tiles at the same time). ...
static const uint8 ANIM_STATUS_LOOPING
Animation is looping.
uint8 frames
The number of frames.
AirpAnimationTrigger
Animation triggers for airport tiles.