OpenTTD Source 20241224-master-gf74b0cf984
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.

Field Documentation

◆ data

◆ height

◆ width

◆ x_offs

◆ y_offs


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