12 #ifndef BLITTER_8BPP_SIMPLE_HPP 13 #define BLITTER_8BPP_SIMPLE_HPP 24 const char *
GetName() {
return "8bpp-simple"; }
Data structure describing a sprite.
How all blitters should look like.
const char * GetName()
Get the name of the blitter, the same as the Factory-instance returns.
Blitter * CreateInstance()
Create an instance of this Blitter-class.
Parameters related to blitting.
Base for all 8bpp blitters.
Base for all 8 bpp blitters.
Most trivial 8bpp blitter.
Structure for passing information from the sprite loader to the blitter.
Factory for the most trivial 8bpp blitter.
ZoomLevel
All zoom levels we know.
void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom)
Draw an image to the screen, given an amount of params defined above.
BlitterMode
The modes of blitting we can do.
The base factory, keeping track of all blitters.
Sprite * Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
Convert a sprite from the loader to our own format.
Factory to 'query' all available blitters.