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