OpenTTD Source
20241108-master-g80f628063a
|
A tile child sprite and palette to draw for stations etc, with 3D bounding box. More...
#include <sprite.h>
Public Member Functions | |
void | MakeTerminator () |
Make this struct a sequence terminator. | |
bool | IsTerminator () const |
Check whether this is a sequence terminator. | |
bool | IsParentSprite () const |
Check whether this is a parent sprite with a boundingbox. | |
Data Fields | |
int8_t | delta_x |
0x80 is sequence terminator | |
int8_t | delta_y |
int8_t | delta_z |
0x80 identifies child sprites | |
uint8_t | size_x |
uint8_t | size_y |
uint8_t | size_z |
PalSpriteID | image |
A tile child sprite and palette to draw for stations etc, with 3D bounding box.