12 #ifndef BLITTER_32BPP_OPTIMIZED_HPP 13 #define BLITTER_32BPP_OPTIMIZED_HPP 29 const char *
GetName() {
return "32bpp-optimized"; }
byte data[]
Data, all zoomlevels.
Data structure describing a sprite.
uint32 offset[ZOOM_LVL_COUNT][2]
Offsets (from .data) to streams for different zoom levels, and the normal and remap image information...
Blitter * CreateInstance()
Create an instance of this Blitter-class.
How all blitters should look like.
Data stored about a (single) sprite.
Sprite * Encode(const SpriteLoader::Sprite *sprite, AllocatorProc *allocator)
Convert a sprite from the loader to our own format.
Factory for the optimised 32 bpp blitter (without palette animation).
Parameters related to blitting.
Structure for passing information from the sprite loader to the blitter.
The most trivial 32 bpp blitter (without palette animation).
ZoomLevel
All zoom levels we know.
void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom)
Draws a sprite to a (screen) buffer.
const char * GetName()
Get the name of the blitter, the same as the Factory-instance returns.
BlitterMode
The modes of blitting we can do.
The base factory, keeping track of all blitters.
The optimised 32 bpp blitter (without palette animation).