OpenTTD Source 20250312-master-gcdcc6b491d
|
A tile child sprite and palette to draw for stations etc, with 3D bounding box. More...
#include <sprite.h>
Public Member Functions | |
bool | IsParentSprite () const |
Check whether this is a parent sprite with a boundingbox. | |
Data Fields | |
int8_t | delta_x = 0 |
int8_t | delta_y = 0 |
int8_t | delta_z = 0 |
0x80 identifies child sprites | |
uint8_t | size_x = 0 |
uint8_t | size_y = 0 |
uint8_t | size_z = 0 |
PalSpriteID | image {} |
A tile child sprite and palette to draw for stations etc, with 3D bounding box.
|
inline |
Check whether this is a parent sprite with a boundingbox.
Definition at line 35 of file sprite.h.
Referenced by ReadSpriteLayout().
int8_t DrawTileSeqStruct::delta_z = 0 |
0x80
identifies child sprites
Definition at line 28 of file sprite.h.
Referenced by NewGRFSpriteLayout::PrepareLayout(), ReadSpriteLayout(), and StationChangeInfo().
PalSpriteID DrawTileSeqStruct::image {} |