summaryrefslogtreecommitdiff
path: root/src/blitter/null.hpp
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2007-06-21 12:36:46 +0000
committertruelight <truelight@openttd.org>2007-06-21 12:36:46 +0000
commit3fa3d2e3653f351ba071152a4fa8ff19e31aa14f (patch)
tree32794e63c78972c1d43b56d335b38c6f56fad413 /src/blitter/null.hpp
parent3b12e7b6b0a6b71a7b085c60c3b4ac4ffbe1dc44 (diff)
downloadopenttd-3fa3d2e3653f351ba071152a4fa8ff19e31aa14f.tar.xz
(svn r10241) -Codechange: CopyToBuffer now produces a buffer that is unreadable from outside the blitter, so the blitter can store anything he likes
-Codechange: added CopyImageToBuffer, which produces a readable buffer for screenshots -Fix: 32bpp-anim now holds animation on transparent objects to avoid strange graphical effects -Fix: 32bpp-anim now works correct on mouse-movement (it holds the palette animation correctly)
Diffstat (limited to 'src/blitter/null.hpp')
-rw-r--r--src/blitter/null.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blitter/null.hpp b/src/blitter/null.hpp
index 356385726..8910d6583 100644
--- a/src/blitter/null.hpp
+++ b/src/blitter/null.hpp
@@ -19,9 +19,9 @@ public:
/* virtual */ void SetPixelIfEmpty(void *video, int x, int y, uint8 color) {};
/* virtual */ void DrawRect(void *video, int width, int height, uint8 color) {};
/* virtual */ void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 color) {};
- /* 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 CopyFromBuffer(void *video, const void *src, int width, int height) {};
+ /* virtual */ void CopyToBuffer(const void *video, void *dst, int width, int height) {};
+ /* virtual */ void CopyImageToBuffer(const void *video, void *dst, int width, int height, int dst_pitch) {};
/* 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) { return 0; };
/* virtual */ void PaletteAnimate(uint start, uint count) { };