# 32bpp_simple.hpp

Go to the documentation of this file.

    00001 /* $Id: 32bpp_simple.hpp 15428 2009-02-09 02:57:15Z rubidium $ */
    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 DrawColourMappingRect(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 */