OpenTTD Source  20241108-master-g80f628063a
Sprite Struct Reference

Data structure describing a sprite. More...

#include <spritecache.h>

Data Fields

uint16_t height
 Height of the sprite.
 
uint16_t width
 Width of the sprite.
 
int16_t x_offs
 Number of pixels to shift the sprite to the right.
 
int16_t y_offs
 Number of pixels to shift the sprite downwards.
 
uint8_t data []
 Sprite data.
 

Detailed Description

Data structure describing a sprite.

Definition at line 17 of file spritecache.h.


The documentation for this struct was generated from the following file: