summaryrefslogtreecommitdiff
path: root/src/blitter/base.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-05-01 10:15:33 +0000
committerrubidium <rubidium@openttd.org>2011-05-01 10:15:33 +0000
commit485c7cd99e4367b271279a7588c47ddabd6a3a47 (patch)
tree8e8bef53236b50c09032146a8d2da95fcdde5c6f /src/blitter/base.cpp
parent70c7ec30b1c10bc4502a14e45555fff7a310fca4 (diff)
downloadopenttd-485c7cd99e4367b271279a7588c47ddabd6a3a47.tar.xz
(svn r22397) -Document: some tidbits of the blitter code
Diffstat (limited to 'src/blitter/base.cpp')
-rw-r--r--src/blitter/base.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/blitter/base.cpp b/src/blitter/base.cpp
index d8e33cede..1e6afdad5 100644
--- a/src/blitter/base.cpp
+++ b/src/blitter/base.cpp
@@ -13,18 +13,6 @@
#include "base.hpp"
#include "../core/math_func.hpp"
-/**
- * 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.
- * @param width Line width.
- */
void Blitter::DrawLine(void *video, int x, int y, int x2, int y2, int screen_width, int screen_height, uint8 colour, int width)
{
int dy;