(svn r22397) -Document: some tidbits of the blitter code
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user