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/32bpp_simple.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/32bpp_simple.hpp')
-rw-r--r-- | src/blitter/32bpp_simple.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blitter/32bpp_simple.hpp b/src/blitter/32bpp_simple.hpp index a8d6d1d58..448b819bf 100644 --- a/src/blitter/32bpp_simple.hpp +++ b/src/blitter/32bpp_simple.hpp @@ -13,6 +13,8 @@ public: /* virtual */ void Draw(Blitter::BlitterParams *bp, BlitterMode mode, ZoomLevel zoom); /* virtual */ void DrawColorMappingRect(void *dst, int width, int height, int pal); /* virtual */ Sprite *Encode(SpriteLoader::Sprite *sprite, Blitter::AllocatorProc *allocator); + + /* virtual */ const char *GetName() { return "32bpp-simple"; } }; class FBlitter_32bppSimple: public BlitterFactory<FBlitter_32bppSimple> { |