From d614cec205a2578144935152a5c5b9e1e3c0f93d Mon Sep 17 00:00:00 2001 From: truelight Date: Thu, 21 Jun 2007 12:36:46 +0000 Subject: (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) --- src/blitter/null.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/blitter/null.hpp') 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) { }; -- cgit v1.2.3-54-g00ecf