diff options
author | truelight <truelight@openttd.org> | 2007-09-09 23:16:01 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-09-09 23:16:01 +0000 |
commit | 34e48f788684ce4e1d41adc1b05037beb3a78e13 (patch) | |
tree | fe46e704df372bfa17f9bda4128052013ebf40ab /src/blitter/32bpp_anim.hpp | |
parent | 89bdfaacd93f543a72c37adbb277531f5e39482c (diff) | |
download | openttd-34e48f788684ce4e1d41adc1b05037beb3a78e13.tar.xz |
(svn r11078) -Add: added 32bpp-optimized, which is almost twice as fast as 32bpp-simple (based on the work of frosch)
-Add: let 32bpp-anim use 32bpp-optimizeds, so he profits from the speed-up too
Diffstat (limited to 'src/blitter/32bpp_anim.hpp')
-rw-r--r-- | src/blitter/32bpp_anim.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blitter/32bpp_anim.hpp b/src/blitter/32bpp_anim.hpp index 1da06af21..255cca48b 100644 --- a/src/blitter/32bpp_anim.hpp +++ b/src/blitter/32bpp_anim.hpp @@ -5,10 +5,10 @@ #ifndef BLITTER_32BPP_ANIM_HPP #define BLITTER_32BPP_ANIM_HPP -#include "32bpp_simple.hpp" +#include "32bpp_optimized.hpp" #include "factory.hpp" -class Blitter_32bppAnim : public Blitter_32bppSimple { +class Blitter_32bppAnim : public Blitter_32bppOptimized { private: uint8 *anim_buf; ///< In this buffer we keep track of the 8bpp indexes so we can do palette animation int anim_buf_width; |