|
OpenTTD Source 20251117-master-g7398d2e290
|
Information about animation. More...
#include <newgrf_animation_type.h>
Data Fields | |
| uint8_t | frames = 0 |
| The number of frames. | |
| AnimationStatus | status = AnimationStatus::NoAnimation |
| Status. | |
| uint8_t | speed = 2 |
| The speed: time between frames = 2^speed ticks. | |
| AnimationTriggers | triggers |
| The enabled animation triggers. | |
Information about animation.
Definition at line 21 of file newgrf_animation_type.h.
| uint8_t AnimationInfo< AnimationTriggers >::frames = 0 |
The number of frames.
Definition at line 22 of file newgrf_animation_type.h.
| uint8_t AnimationInfo< AnimationTriggers >::speed = 2 |
The speed: time between frames = 2^speed ticks.
Definition at line 24 of file newgrf_animation_type.h.
| AnimationStatus AnimationInfo< AnimationTriggers >::status = AnimationStatus::NoAnimation |
Status.
Definition at line 23 of file newgrf_animation_type.h.
| AnimationTriggers AnimationInfo< AnimationTriggers >::triggers |
The enabled animation triggers.
Definition at line 25 of file newgrf_animation_type.h.