diff options
author | truelight <truelight@openttd.org> | 2007-06-18 20:08:21 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2007-06-18 20:08:21 +0000 |
commit | 26e9b5ca5f0eafae421a640ea4e4753d6ac7ec0e (patch) | |
tree | 50524cab6a4a5052a93115c2d41248a6b3bf2528 /src/blitter/32bpp_base.hpp | |
parent | 49220cc6f1e3570dc1b9001c40af2a8a4e35b649 (diff) | |
download | openttd-26e9b5ca5f0eafae421a640ea4e4753d6ac7ec0e.tar.xz |
(svn r10206) -Codechange: more moving things to blitter-layer: ScrollBuffer
Diffstat (limited to 'src/blitter/32bpp_base.hpp')
-rw-r--r-- | src/blitter/32bpp_base.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/blitter/32bpp_base.hpp b/src/blitter/32bpp_base.hpp index df593247c..0149330d8 100644 --- a/src/blitter/32bpp_base.hpp +++ b/src/blitter/32bpp_base.hpp @@ -21,6 +21,7 @@ public: /* virtual */ void CopyFromBuffer(void *video, const void *src, int width, int height, int src_pitch); /* virtual */ void CopyToBuffer(const void *video, void *dst, int width, int height, int dst_pitch); /* 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); static inline uint32 LookupColourInPalette(uint8 index) { |