diff options
author | truelight <truelight@openttd.org> | 2007-06-21 13:56:59 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-21 13:56:59 +0000 |
commit | c755fa43d08e5adaad87745769369ec8e5e59915 (patch) | |
tree | c12a3ec2a2a8ac699698a9ce4572fb65c2d367cc /src/blitter/8bpp_optimized.hpp | |
parent | 2f0500a43831c1b7d51fc22a08d1994b2ee27154 (diff) | |
download | openttd-c755fa43d08e5adaad87745769369ec8e5e59915.tar.xz |
(svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory
Diffstat (limited to 'src/blitter/8bpp_optimized.hpp')
-rw-r--r-- | src/blitter/8bpp_optimized.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blitter/8bpp_optimized.hpp b/src/blitter/8bpp_optimized.hpp index bbade0080..4dfe91604 100644 --- a/src/blitter/8bpp_optimized.hpp +++ b/src/blitter/8bpp_optimized.hpp @@ -12,6 +12,8 @@ class Blitter_8bppOptimized : public Blitter_8bppBase { public: /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator); + + /* virtual */ const char *GetName() { return "8bpp-optimized"; } }; class FBlitter_8bppOptimized: public BlitterFactory<FBlitter_8bppOptimized> { |