13#include "../safeguards.h"
23 const auto &root_sprite = sprite.Root();
Sprite * Encode(SpriteType sprite_type, const SpriteLoader::SpriteCollection &sprite, SpriteAllocator &allocator) override
Convert a sprite from the loader to our own format.
Factory for the blitter that does nothing.
Interface for something that can allocate memory for a sprite.
T * Allocate(size_t size)
Allocate memory for a sprite.
SpriteType
Types of sprites that might be loaded.
static FBlitter_Null iFBlitter_Null
Instantiation of the null blitter factory.
The blitter that doesn't blit.
Data structure describing a sprite.
uint16_t width
Width of the sprite.
uint16_t height
Height of the sprite.
int16_t y_offs
Number of pixels to shift the sprite downwards.
int16_t x_offs
Number of pixels to shift the sprite to the right.