8bpp_debug.hpp
Go to the documentation of this file.00001
00002
00005 #ifndef BLITTER_8BPP_DEBUG_HPP
00006 #define BLITTER_8BPP_DEBUG_HPP
00007
00008 #include "8bpp_base.hpp"
00009 #include "factory.hpp"
00010
00011 class Blitter_8bppDebug : public Blitter_8bppBase {
00012 public:
00013 void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
00014 Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
00015
00016 const char *GetName() { return "8bpp-debug"; }
00017 };
00018
00019 class FBlitter_8bppDebug: public BlitterFactory<FBlitter_8bppDebug> {
00020 public:
00021 const char *GetName() { return "8bpp-debug"; }
00022 const char *GetDescription() { return "8bpp Debug Blitter (testing only)"; }
00023 Blitter *CreateInstance() { return new Blitter_8bppDebug(); }
00024 };
00025
00026 #endif