_________ __ __ / _____// |_____________ _/ |______ ____ __ __ ______ \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ /_______ /|__| |__| (____ /__| (____ /\___ /|____//____ > \/ \/ \//_____/ \/ ______________________ ______________________ T H E W A R B E G I N S Stratagus - A free fantasy real time strategy game engine
Functions | |
static void | VideoDoDrawPixel16 (Uint32 color, int x, int y) |
void | VideoDrawPixel16 (Uint32 color, int x, int y) |
static void | VideoDoDrawPixel32 (Uint32 color, int x, int y) |
void | VideoDrawPixel32 (Uint32 color, int x, int y) |
static void | VideoDoDrawTransPixel16 (Uint32 color, int x, int y, unsigned char alpha) |
void | VideoDrawTransPixel16 (Uint32 color, int x, int y, unsigned char alpha) |
static void | VideoDoDrawTransPixel32 (Uint32 color, int x, int y, unsigned char alpha) |
void | VideoDrawTransPixel32 (Uint32 color, int x, int y, unsigned char alpha) |
static void | VideoDoDrawPixelClip (Uint32 color, int x, int y) |
void | DrawPixelClip (Uint32 color, int x, int y) |
static void | VideoDoDrawTransPixelClip (Uint32 color, int x, int y, unsigned char alpha) |
void | DrawTransPixelClip (Uint32 color, int x, int y, unsigned char alpha) |
void | DrawVLine (Uint32 color, int x, int y, int height) |
void | DrawTransVLine (Uint32 color, int x, int y, int height, unsigned char alpha) |
void | DrawVLineClip (Uint32 color, int x, int y, int height) |
void | DrawTransVLineClip (Uint32 color, int x, int y, int height, unsigned char alpha) |
void | DrawHLine (Uint32 color, int x, int y, int width) |
void | DrawHLineClip (Uint32 color, int x, int y, int width) |
void | DrawTransHLine (Uint32 color, int x, int y, int width, unsigned char alpha) |
void | DrawTransHLineClip (Uint32 color, int x, int y, int width, unsigned char alpha) |
void | DrawLine (Uint32 color, int sx, int sy, int dx, int dy) |
void | DrawLineClip (Uint32 color, int sx, int sy, int dx, int dy) |
void | DrawTransLine (Uint32 color, int sx, int sy, int dx, int dy, unsigned char) |
void | DrawTransLineClip (Uint32 color, int sx, int sy, int dx, int dy, unsigned char) |
void | DrawRectangle (Uint32 color, int x, int y, int w, int h) |
void | DrawRectangleClip (Uint32 color, int x, int y, int w, int h) |
void | DrawTransRectangle (Uint32 color, int x, int y, int w, int h, unsigned char alpha) |
void | DrawTransRectangleClip (Uint32 color, int x, int y, int w, int h, unsigned char alpha) |
void | FillRectangle (Uint32 color, int x, int y, int w, int h) |
void | FillRectangleClip (Uint32 color, int x, int y, int w, int h) |
void | FillTransRectangle (Uint32 color, int x, int y, int w, int h, unsigned char alpha) |
void | FillTransRectangleClip (Uint32 color, int x, int y, int w, int h, unsigned char alpha) |
void | DrawCircle (Uint32 color, int x, int y, int r) |
void | DrawTransCircle (Uint32 color, int x, int y, int r, unsigned char alpha) |
void | DrawCircleClip (Uint32 color, int x, int y, int r) |
void | DrawTransCircleClip (Uint32 color, int x, int y, int r, unsigned char alpha) |
void | DrawEllipseClip (Uint32 color, int xc, int yc, int rx, int ry) |
void | FillCircle (Uint32 color, int x, int y, int r) |
void | FillTransCircle (Uint32 color, int x, int y, int r, unsigned char alpha) |
void | FillCircleClip (Uint32 color, int x, int y, int r) |
void | FillTransCircleClip (Uint32 color, int x, int y, int r, unsigned char alpha) |
void | InitLineDraw () |
Init line draw. More... | |
Variables | |
void(* | VideoDrawPixel )(Uint32 color, int x, int y) |
static void(* | VideoDoDrawPixel )(Uint32 color, int x, int y) |
void(* | VideoDrawTransPixel )(Uint32 color, int x, int y, unsigned char alpha) |
static void(* | VideoDoDrawTransPixel )(Uint32 color, int x, int y, unsigned char alpha) |
void linedraw_sdl::DrawCircle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r | ||
) |
Draw a circle
void linedraw_sdl::DrawCircleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r | ||
) |
Draw a circle clipped
void linedraw_sdl::DrawEllipseClip | ( | Uint32 | color, |
int | xc, | ||
int | yc, | ||
int | rx, | ||
int | ry | ||
) |
Draw an ellipse clipped
void linedraw_sdl::DrawHLine | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | width | ||
) |
Draw a horizontal line
void linedraw_sdl::DrawHLineClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | width | ||
) |
Draw a horizontal line clipped
void linedraw_sdl::DrawLine | ( | Uint32 | color, |
int | sx, | ||
int | sy, | ||
int | dx, | ||
int | dy | ||
) |
Draw a line
void linedraw_sdl::DrawLineClip | ( | Uint32 | color, |
int | sx, | ||
int | sy, | ||
int | dx, | ||
int | dy | ||
) |
Draw a line clipped
void linedraw_sdl::DrawPixelClip | ( | Uint32 | color, |
int | x, | ||
int | y | ||
) |
Draw a clipped pixel
void linedraw_sdl::DrawRectangle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Draw a rectangle
void linedraw_sdl::DrawRectangleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Draw a rectangle clipped
void linedraw_sdl::DrawTransCircle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r, | ||
unsigned char | alpha | ||
) |
Draw a transparent circle
void linedraw_sdl::DrawTransCircleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r, | ||
unsigned char | alpha | ||
) |
Draw a transparent circle clipped
void linedraw_sdl::DrawTransHLine | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | width, | ||
unsigned char | alpha | ||
) |
Draw a transparent horizontal line
void linedraw_sdl::DrawTransHLineClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | width, | ||
unsigned char | alpha | ||
) |
Draw a transparent horizontal line clipped
void linedraw_sdl::DrawTransLine | ( | Uint32 | color, |
int | sx, | ||
int | sy, | ||
int | dx, | ||
int | dy, | ||
unsigned char | |||
) |
Draw a transparent line
void linedraw_sdl::DrawTransLineClip | ( | Uint32 | color, |
int | sx, | ||
int | sy, | ||
int | dx, | ||
int | dy, | ||
unsigned char | |||
) |
Draw a transparent line clipped
void linedraw_sdl::DrawTransPixelClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
unsigned char | alpha | ||
) |
Draw a transparent clipped pixel
void linedraw_sdl::DrawTransRectangle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
unsigned char | alpha | ||
) |
Draw a transparent rectangle
void linedraw_sdl::DrawTransRectangleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
unsigned char | alpha | ||
) |
Draw a transparent rectangle clipped.
color | color |
x | x coordinate on the screen |
y | y coordinate on the screen |
h | height of rectangle (0=don't draw). |
w | width of rectangle (0=don't draw). |
alpha | alpha value of pixels. |
void linedraw_sdl::DrawTransVLine | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | height, | ||
unsigned char | alpha | ||
) |
Draw a transparent vertical line
void linedraw_sdl::DrawTransVLineClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | height, | ||
unsigned char | alpha | ||
) |
Draw a transparent vertical line clipped
void linedraw_sdl::DrawVLine | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | height | ||
) |
Draw a vertical line
void linedraw_sdl::DrawVLineClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | height | ||
) |
Draw a vertical line clipped
void linedraw_sdl::FillCircle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r | ||
) |
Draw a filled circle
void linedraw_sdl::FillCircleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r | ||
) |
Draw a filled circle clipped
void linedraw_sdl::FillRectangle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Draw a filled rectangle
void linedraw_sdl::FillRectangleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h | ||
) |
Draw a filled rectangle clipped
void linedraw_sdl::FillTransCircle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r, | ||
unsigned char | alpha | ||
) |
Draw a filled transparent circle
void linedraw_sdl::FillTransCircleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | r, | ||
unsigned char | alpha | ||
) |
Draw a filled transparent circle clipped
void linedraw_sdl::FillTransRectangle | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
unsigned char | alpha | ||
) |
Draw a filled transparent rectangle
void linedraw_sdl::FillTransRectangleClip | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
int | w, | ||
int | h, | ||
unsigned char | alpha | ||
) |
Draw a filled transparent rectangle clipped
void linedraw_sdl::InitLineDraw | ( | ) |
Init line draw.
Initialize line draw
|
static |
Draw a 16-bit pixel
|
static |
Draw a 32-bit pixel
|
static |
Draw a clipped pixel
|
static |
Draw a transparent 16-bit pixel
|
static |
Draw a transparent 32-bit pixel
|
static |
Draw a transparent clipped pixel
void linedraw_sdl::VideoDrawPixel16 | ( | Uint32 | color, |
int | x, | ||
int | y | ||
) |
Draw a 16-bit pixel
void linedraw_sdl::VideoDrawPixel32 | ( | Uint32 | color, |
int | x, | ||
int | y | ||
) |
Draw a 32-bit pixel
void linedraw_sdl::VideoDrawTransPixel16 | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
unsigned char | alpha | ||
) |
Draw a transparent 16-bit pixel
void linedraw_sdl::VideoDrawTransPixel32 | ( | Uint32 | color, |
int | x, | ||
int | y, | ||
unsigned char | alpha | ||
) |
Draw a transparent 32-bit pixel
|
static |
|
static |
void(* linedraw_sdl::VideoDrawPixel) (Uint32 color, int x, int y) |
void(* linedraw_sdl::VideoDrawTransPixel) (Uint32 color, int x, int y, unsigned char alpha) |