# 32bpp_simple.hpp

Go to the documentation of this file.

    00001 /* $Id: 32bpp_simple.hpp 10245 2007-06-21 13:56:59Z truelight $ */
    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   /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
    00014   /* virtual */ void DrawColorMappingRect(void *dst, int width, int height, int pal);
    00015   /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
    00016
    00017   /* virtual */ const char *GetName() { return "32bpp-simple"; }
    00018 };
    00019
    00020 class FBlitter_32bppSimple: public BlitterFactory<FBlitter_32bppSimple> {
    00021 public:
    00022   /* virtual */ const char *GetName() { return "32bpp-simple"; }
    00023   /* virtual */ const char *GetDescription() { return "32bpp Simple Blitter (no palette animation)"; }
    00024   /* virtual */ Blitter *CreateInstance() { return new Blitter_32bppSimple(); }
    00025 };
    00026
    00027 #endif /* BLITTER_32BPP_SIMPLE_HPP */