|
OpenTTD Source 20251117-master-g7398d2e290
|
Information about a single action 5 type. More...
#include <newgrf_act5.h>
Data Fields | |
| Action5BlockType | block_type |
| How is this Action5 type processed? | |
| SpriteID | sprite_base |
| Load the sprites starting from this sprite. | |
| uint16_t | min_sprites |
| If the Action5 contains less sprites, the whole block will be ignored. | |
| uint16_t | max_sprites |
| If the Action5 contains more sprites, only the first max_sprites sprites will be used. | |
| const std::string_view | name |
| Name for error messages. | |
Information about a single action 5 type.
Definition at line 23 of file newgrf_act5.h.
| Action5BlockType Action5Type::block_type |
How is this Action5 type processed?
Definition at line 24 of file newgrf_act5.h.
| uint16_t Action5Type::max_sprites |
If the Action5 contains more sprites, only the first max_sprites sprites will be used.
Definition at line 27 of file newgrf_act5.h.
| uint16_t Action5Type::min_sprites |
If the Action5 contains less sprites, the whole block will be ignored.
Definition at line 26 of file newgrf_act5.h.
| const std::string_view Action5Type::name |
Name for error messages.
Definition at line 28 of file newgrf_act5.h.
| SpriteID Action5Type::sprite_base |
Load the sprites starting from this sprite.
Definition at line 25 of file newgrf_act5.h.
Referenced by SpriteAlignerWindow::GetWidgetString().