diff options
author | truelight <truelight@openttd.org> | 2007-06-19 15:04:08 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-19 15:04:08 +0000 |
commit | 1c4760ee06fb632d27648175f7bab433b32c1892 (patch) | |
tree | aacf68dc44607bc64afffcb18f3bcbf65d05d654 /src/blitter/8bpp_base.hpp | |
parent | 9ad02c11c62bec4027f36fadbab9d81180dc2721 (diff) | |
download | openttd-1c4760ee06fb632d27648175f7bab433b32c1892.tar.xz |
(svn r10216) -Fix: palette animation always redid all palette entries, where in fact only a few indexes were needed
-Codechange: allow blitters to handle palette animation internally or even disable it; 8bpp uses video-backend for palette animation
Diffstat (limited to 'src/blitter/8bpp_base.hpp')
-rw-r--r-- | src/blitter/8bpp_base.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blitter/8bpp_base.hpp b/src/blitter/8bpp_base.hpp index 3b313bb30..f189ffdcf 100644 --- a/src/blitter/8bpp_base.hpp +++ b/src/blitter/8bpp_base.hpp @@ -23,6 +23,8 @@ public: /* virtual */ void MoveBuffer(void *video_dst, const void *video_src, int width, int height); /* virtual */ void ScrollBuffer(void *video, int &left, int &top, int &width, int &height, int scroll_x, int scroll_y); /* virtual */ int BufferSize(int width, int height); + /* virtual */ void PaletteAnimate(uint start, uint count); + /* virtual */ Blitter::PaletteAnimation UsePaletteAnimation(); }; #endif /* BLITTER_8BPP_BASE_HPP */ |