OpenTTD Source
20241108-master-g80f628063a
|
Additional modifiers for items in sprite layouts. More...
#include <newgrf_commons.h>
Data Fields | |
TileLayoutFlags | flags |
Flags defining which members are valid and to be used. | |
uint8_t | dodraw |
Register deciding whether the sprite shall be drawn at all. Non-zero means drawing. | |
uint8_t | sprite |
Register specifying a signed offset for the sprite. | |
uint8_t | palette |
Register specifying a signed offset for the palette. | |
uint16_t | max_sprite_offset |
Maximum offset to add to the sprite. (limited by size of the spriteset) | |
uint16_t | max_palette_offset |
Maximum offset to add to the palette. (limited by size of the spriteset) | |
union { | |
uint8_t parent [3] | |
Registers for signed offsets for the bounding box position of parent sprites. | |
uint8_t child [2] | |
Registers for signed offsets for the position of child sprites. | |
} | delta |
uint8_t | sprite_var10 |
Value for variable 10 when resolving the sprite. | |
uint8_t | palette_var10 |
Value for variable 10 when resolving the palette. | |
Additional modifiers for items in sprite layouts.
Definition at line 90 of file newgrf_commons.h.