--- a/src/blitter/8bpp_simple.hpp Tue Jun 12 18:10:14 2007 +0000
+++ b/src/blitter/8bpp_simple.hpp Tue Jun 12 20:24:12 2007 +0000
@@ -7,15 +7,15 @@
#include "blitter.hpp"
-typedef Pixel Pixel8;
-
class Blitter_8bppSimple : public Blitter {
public:
- uint8 GetScreenDepth() { return 8; }
+ /* virtual */ uint8 GetScreenDepth() { return 8; }
- void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
+ /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom);
- Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
+ /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator);
+
+ /* virtual */ const char *GetRenderer() { return "8bpp"; }
};
class FBlitter_8bppSimple: public BlitterFactory<FBlitter_8bppSimple> {