|
OpenTTD Source
14.0-beta1
|
Go to the documentation of this file.
10 #include "../stdafx.h"
13 #include "../safeguards.h"
21 dest_sprite = (
Sprite *)allocator(
sizeof(*dest_sprite));
uint16_t height
Height of the sprite.
static FBlitter_Null iFBlitter_Null
Instantiation of the null blitter factory.
int16_t x_offs
Number of pixels to shift the sprite to the right.
std::array< Sprite, ZOOM_LVL_END > SpriteCollection
Type defining a collection of sprites, one for each zoom level.
Factory for the blitter that does nothing.
uint16_t width
Width of the sprite.
int16_t y_offs
Number of pixels to shift the sprite downwards.
@ ZOOM_LVL_NORMAL
The normal zoom level.
Sprite * Encode(const SpriteLoader::SpriteCollection &sprite, AllocatorProc *allocator) override
Convert a sprite from the loader to our own format.
Data structure describing a sprite.