summaryrefslogtreecommitdiff
path: root/src/blitter/32bpp_simple.hpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-21 13:56:59 +0000
committertruelight <truelight@openttd.org>2007-06-21 13:56:59 +0000
commit06fded123a346d556ceb2f4585429046ddf8f1b9 (patch)
treec12a3ec2a2a8ac699698a9ce4572fb65c2d367cc /src/blitter/32bpp_simple.hpp
parente8f9332af940685e735bfdd9ae1f945a06a5a00e (diff)
downloadopenttd-06fded123a346d556ceb2f4585429046ddf8f1b9.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.hpp2
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> {