OpenTTD Source 20241224-master-gf74b0cf984
|
Information about animation. More...
#include <newgrf_animation_type.h>
Data Fields | |
uint8_t | frames |
The number of frames. | |
uint8_t | status |
Status; 0: no looping, 1: looping, 0xFF: no animation. | |
uint8_t | speed |
The speed, i.e. the amount of time between frames. | |
uint16_t | triggers |
The triggers that trigger animation. | |
Information about animation.
Definition at line 18 of file newgrf_animation_type.h.
uint8_t AnimationInfo::frames |
The number of frames.
Definition at line 19 of file newgrf_animation_type.h.
Referenced by StationChangeInfo().
uint8_t AnimationInfo::speed |
The speed, i.e. the amount of time between frames.
Definition at line 21 of file newgrf_animation_type.h.
uint8_t AnimationInfo::status |
Status; 0: no looping, 1: looping, 0xFF: no animation.
Definition at line 20 of file newgrf_animation_type.h.
Referenced by CmdBuildAirport(), and DoCreateNewIndustry().
uint16_t AnimationInfo::triggers |
The triggers that trigger animation.
Definition at line 22 of file newgrf_animation_type.h.
Referenced by CmdBuildRailStation(), CmdBuildRoadStop(), CmdBuildRoadWaypoint(), TriggerObjectAnimation(), and TriggerObjectTileAnimation().