diff options
author | rubidium <rubidium@openttd.org> | 2014-01-02 22:41:58 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2014-01-02 22:41:58 +0000 |
commit | 2618d960e30882c097ba8b68249bbae974700ac8 (patch) | |
tree | 3d5a349c6a13f6f843d5f6b56456faf91010af5b /src/blitter/32bpp_simple.hpp | |
parent | 456dba4889108027f8af9c94514978d06012b6e7 (diff) | |
download | openttd-2618d960e30882c097ba8b68249bbae974700ac8.tar.xz |
(svn r26209) -Codechange: remove some template magic and simplify some code
Diffstat (limited to 'src/blitter/32bpp_simple.hpp')
-rw-r--r-- | src/blitter/32bpp_simple.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/blitter/32bpp_simple.hpp b/src/blitter/32bpp_simple.hpp index 49eaab56d..0751f6f75 100644 --- a/src/blitter/32bpp_simple.hpp +++ b/src/blitter/32bpp_simple.hpp @@ -34,10 +34,9 @@ public: }; /** Factory for the simple 32 bpp blitter. */ -class FBlitter_32bppSimple : public BlitterFactory<FBlitter_32bppSimple> { +class FBlitter_32bppSimple : public BlitterFactory { public: - /* virtual */ const char *GetName() { return "32bpp-simple"; } - /* virtual */ const char *GetDescription() { return "32bpp Simple Blitter (no palette animation)"; } + FBlitter_32bppSimple() : BlitterFactory("32bpp-simple", "32bpp Simple Blitter (no palette animation)") {} /* virtual */ Blitter *CreateInstance() { return new Blitter_32bppSimple(); } }; |