32bpp_simple.hpp
Go to the documentation of this file.00001
00002
00005 #ifndef BLITTER_32BPP_SIMPLE_HPP
00006 #define BLITTER_32BPP_SIMPLE_HPP
00007
00008 #include "32bpp_base.hpp"
00009 #include "factory.hpp"
00010
00011 class Blitter_32bppSimple : public Blitter_32bppBase {
00012 public:
00013 void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
00014 void DrawColorMappingRect(void *dst, int width, int height, int pal);
00015 Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
00016
00017 const char *GetName() { return "32bpp-simple"; }
00018 };
00019
00020 class FBlitter_32bppSimple: public BlitterFactory<FBlitter_32bppSimple> {
00021 public:
00022 const char *GetName() { return "32bpp-simple"; }
00023 const char *GetDescription() { return "32bpp Simple Blitter (no palette animation)"; }
00024 Blitter *CreateInstance() { return new Blitter_32bppSimple(); }
00025 };
00026
00027 #endif