diff options
author | frosch <frosch@openttd.org> | 2011-04-02 11:55:54 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2011-04-02 11:55:54 +0000 |
commit | 004c93f9da1be1f28528979d7ff940da3d089ab9 (patch) | |
tree | 4f955e5d1305e043325f6e64d0d5fc2efeae66ce /src/blitter/base.hpp | |
parent | a980319801448c9c8df2c4e819f5a9ba307f1ca2 (diff) | |
download | openttd-004c93f9da1be1f28528979d7ff940da3d089ab9.tar.xz |
(svn r22288) -Codechange: Deduplicate Blitter_8bppBase::DrawLine() and Blitter_32bppBase::DrawLine() into Blitter::DrawLine().
Diffstat (limited to 'src/blitter/base.hpp')
-rw-r--r-- | src/blitter/base.hpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/blitter/base.hpp b/src/blitter/base.hpp index 03898582c..3af376a15 100644 --- a/src/blitter/base.hpp +++ b/src/blitter/base.hpp @@ -101,18 +101,7 @@ public: */ virtual void DrawRect(void *video, int width, int height, uint8 colour) = 0; - /** - * Draw a line with a given colour. - * @param video The destination pointer (video-buffer). - * @param x The x coordinate from where the line starts. - * @param y The y coordinate from where the line starts. - * @param x2 The x coordinate to where the line goes. - * @param y2 The y coordinate to where the lines goes. - * @param screen_width The width of the screen you are drawing in (to avoid buffer-overflows). - * @param screen_height The height of the screen you are drawing in (to avoid buffer-overflows). - * @param colour A 8bpp mapping colour. - */ - virtual void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour) = 0; + void DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour); /** * Copy from a buffer to the screen. |