src/blitter/32bpp_simple.hpp
branchgamebalance
changeset 9913 e79cd19772dd
child 9629 66dde6412125
equal deleted inserted replaced
9912:1ac8aac92385 9913:e79cd19772dd
       
     1 /* $Id$ */
       
     2 
       
     3 /** @file 32bpp_simple.hpp */
       
     4 
       
     5 #ifndef BLITTER_32BPP_SIMPLE_HPP
       
     6 #define BLITTER_32BPP_SIMPLE_HPP
       
     7 
       
     8 #include "32bpp_base.hpp"
       
     9 #include "factory.hpp"
       
    10 
       
    11 class Blitter_32bppSimple : public Blitter_32bppBase {
       
    12 public:
       
    13 	/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
       
    14 	/* virtual */ void DrawColorMappingRect(void *dst, int width, int height, int pal);
       
    15 	/* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
       
    16 };
       
    17 
       
    18 class FBlitter_32bppSimple: public BlitterFactory<FBlitter_32bppSimple> {
       
    19 public:
       
    20 	/* virtual */ const char *GetName() { return "32bpp-simple"; }
       
    21 	/* virtual */ const char *GetDescription() { return "32bpp Simple Blitter (no palette animation)"; }
       
    22 	/* virtual */ Blitter *CreateInstance() { return new Blitter_32bppSimple(); }
       
    23 };
       
    24 
       
    25 #endif /* BLITTER_32BPP_SIMPLE_HPP */