truelight@6889: /* $Id$ */ truelight@6889: rubidium@9111: /** @file 32bpp_simple.hpp Simple 32 bpp blitter. */ truelight@6889: truelight@6889: #ifndef BLITTER_32BPP_SIMPLE_HPP truelight@6889: #define BLITTER_32BPP_SIMPLE_HPP truelight@6889: truelight@6937: #include "32bpp_base.hpp" truelight@6937: #include "factory.hpp" truelight@6889: truelight@6937: class Blitter_32bppSimple : public Blitter_32bppBase { truelight@6937: public: truelight@6889: /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); truelight@6889: /* virtual */ void DrawColorMappingRect(void *dst, int width, int height, int pal); truelight@6889: /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator); truelight@6989: truelight@6989: /* virtual */ const char *GetName() { return "32bpp-simple"; } truelight@6889: }; truelight@6889: truelight@6889: class FBlitter_32bppSimple: public BlitterFactory { truelight@6889: public: truelight@6889: /* virtual */ const char *GetName() { return "32bpp-simple"; } truelight@6889: /* virtual */ const char *GetDescription() { return "32bpp Simple Blitter (no palette animation)"; } truelight@6889: /* virtual */ Blitter *CreateInstance() { return new Blitter_32bppSimple(); } truelight@6889: }; truelight@6889: truelight@6889: #endif /* BLITTER_32BPP_SIMPLE_HPP */