author | glx |
Tue, 26 Jun 2007 23:40:58 +0000 | |
branch | noai |
changeset 9629 | 66dde6412125 |
parent 9628 | b5c2449616b5 |
child 10455 | 22c441f5adf9 |
permissions | -rw-r--r-- |
9626 | 1 |
/* $Id$ */ |
2 |
||
9627 | 3 |
/** @file 8bpp_debug.hpp */ |
9626 | 4 |
|
5 |
#ifndef BLITTER_8BPP_DEBUG_HPP |
|
6 |
#define BLITTER_8BPP_DEBUG_HPP |
|
7 |
||
9628
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
8 |
#include "8bpp_base.hpp" |
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
9 |
#include "factory.hpp" |
9626 | 10 |
|
9628
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
11 |
class Blitter_8bppDebug : public Blitter_8bppBase { |
9626 | 12 |
public: |
9628
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
13 |
/* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); |
b5c2449616b5
(svn r10195) [NoAI] -Sync: with trunk r10119:10194.
rubidium
parents:
9627
diff
changeset
|
14 |
/* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator); |
9629 | 15 |
|
16 |
/* virtual */ const char *GetName() { return "8bpp-debug"; } |
|
9626 | 17 |
}; |
18 |
||
19 |
class FBlitter_8bppDebug: public BlitterFactory<FBlitter_8bppDebug> { |
|
20 |
public: |
|
21 |
/* virtual */ const char *GetName() { return "8bpp-debug"; } |
|
22 |
/* virtual */ const char *GetDescription() { return "8bpp Debug Blitter (testing only)"; } |
|
23 |
/* virtual */ Blitter *CreateInstance() { return new Blitter_8bppDebug(); } |
|
24 |
}; |
|
25 |
||
26 |
#endif /* BLITTER_8BPP_DEBUG_HPP */ |