10 #ifndef BLITTER_32BPP_SIMPLE_HPP 11 #define BLITTER_32BPP_SIMPLE_HPP 31 const char *
GetName()
override {
return "32bpp-simple"; }
uint32 PaletteID
The number of the palette.
void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom) override
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.
Parameters related to blitting.
const char * GetName() override
Get the name of the blitter, the same as the Factory-instance returns.
Structure for passing information from the sprite loader to the blitter.
The most trivial 32 bpp blitter (without palette animation).
Sprite * Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator) override
Convert a sprite from the loader to our own format.
Blitter * CreateInstance() override
Create an instance of this Blitter-class.
Base for all 32bpp blitters.
Factory for the simple 32 bpp blitter.
BlitterMode
The modes of blitting we can do.
ZoomLevel
All zoom levels we know.
void DrawColourMappingRect(void *dst, int width, int height, PaletteID pal) override
Draw a colourtable to the screen.
The base factory, keeping track of all blitters.
Factory to 'query' all available blitters.