diff options
author | rubidium <rubidium@openttd.org> | 2011-05-01 10:15:33 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-01 10:15:33 +0000 |
commit | 485c7cd99e4367b271279a7588c47ddabd6a3a47 (patch) | |
tree | 8e8bef53236b50c09032146a8d2da95fcdde5c6f /src/blitter/8bpp_base.hpp | |
parent | 70c7ec30b1c10bc4502a14e45555fff7a310fca4 (diff) | |
download | openttd-485c7cd99e4367b271279a7588c47ddabd6a3a47.tar.xz |
(svn r22397) -Document: some tidbits of the blitter code
Diffstat (limited to 'src/blitter/8bpp_base.hpp')
-rw-r--r-- | src/blitter/8bpp_base.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/blitter/8bpp_base.hpp b/src/blitter/8bpp_base.hpp index c1e484679..03f194763 100644 --- a/src/blitter/8bpp_base.hpp +++ b/src/blitter/8bpp_base.hpp @@ -14,12 +14,11 @@ #include "base.hpp" +/** Base for all 8bpp blitters. */ class Blitter_8bppBase : public Blitter { public: /* virtual */ uint8 GetScreenDepth() { return 8; } -// /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); /* virtual */ void DrawColourMappingRect(void *dst, int width, int height, PaletteID pal); -// /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, AllocatorProc *allocator); /* virtual */ void *MoveTo(const void *video, int x, int y); /* virtual */ void SetPixel(void *video, int x, int y, uint8 colour); /* virtual */ void DrawRect(void *video, int width, int height, uint8 colour); |