OpenTTD Source: Sprite Struct Reference

OpenTTD Source 14.0-beta3

Data Fields
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.
byte | 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:

- src/spritecache.h