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 | 06fded123a346d556ceb2f4585429046ddf8f1b9 (patch) | |
tree | c12a3ec2a2a8ac699698a9ce4572fb65c2d367cc /src/blitter/base.hpp | |
parent | e8f9332af940685e735bfdd9ae1f945a06a5a00e (diff) | |
download | openttd-06fded123a346d556ceb2f4585429046ddf8f1b9.tar.xz |
(svn r10245) -Codechange: added GetName also to all Blitters, instead of only the Factory
Diffstat (limited to 'src/blitter/base.hpp')
-rw-r--r-- | src/blitter/base.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp index f3ac308e4..d9f2a32e1 100644 --- a/src/blitter/base.hpp +++ b/src/blitter/base.hpp @@ -179,6 +179,11 @@ public: */ virtual Blitter::PaletteAnimation UsePaletteAnimation() = 0; + /** + * Get the naem of the blitter, the same as the Factory-instance returns. + */ + virtual const char *GetName() = 0; + virtual ~Blitter() { } }; |