OpenTTD Source
1.11.0-beta2
|
Go to the source code of this file.
Data Structures | |
class | SpriteLoader |
Interface for the loader of our sprites. More... | |
struct | SpriteLoader::CommonPixel |
Definition of a common pixel in OpenTTD's realm. More... | |
struct | SpriteLoader::Sprite |
Structure for passing information from the sprite loader to the blitter. More... | |
class | SpriteEncoder |
Interface for something that can encode a sprite. More... | |
Typedefs | |
typedef void * | AllocatorProc(size_t size) |
Enumerations | |
enum | SpriteColourComponent { SCC_RGB = 1 << 0, SCC_ALPHA = 1 << 1, SCC_PAL = 1 << 2, SCC_MASK = SCC_RGB | SCC_ALPHA | SCC_PAL } |
The different colour components a sprite can have. More... | |
Base for loading sprites.
Definition in file spriteloader.hpp.
The different colour components a sprite can have.
Enumerator | |
---|---|
SCC_RGB | Sprite has RGB. |
SCC_ALPHA | Sprite has alpha. |
SCC_PAL | Sprite has palette data. |
SCC_MASK | Mask of valid colour bits. |
Definition at line 21 of file spriteloader.hpp.