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