From ebbe51718e6b3ed81ee0932641e0bc4ddb805fcc Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 23 Sep 2007 18:27:04 +0000 Subject: loads of changes. better prediction. line drawing. some nice graphs :) --- src/engine/interface.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/engine/interface.h') diff --git a/src/engine/interface.h b/src/engine/interface.h index e1608cff..4bf25bd2 100644 --- a/src/engine/interface.h +++ b/src/engine/interface.h @@ -250,7 +250,7 @@ void gfx_quads_setrotation(float angle); The color values are from 0.0 to 1.0. The color is reset when is called. */ -void gfx_quads_setcolorvertex(int i, float r, float g, float b, float a); +void gfx_setcolorvertex(int i, float r, float g, float b, float a); /* Function: gfx_quads_setcolor @@ -266,7 +266,7 @@ void gfx_quads_setcolorvertex(int i, float r, float g, float b, float a); The color values are from 0.0 to 1.0. The color is reset when is called. */ -void gfx_quads_setcolor(float r, float g, float b, float a); +void gfx_setcolor(float r, float g, float b, float a); /* Function: gfx_quads_setsubset @@ -793,6 +793,10 @@ void gfx_getscreen(float *tl_x, float *tl_y, float *br_x, float *br_y); int gfx_memory_usage(); void gfx_screenshot(); +void gfx_lines_begin(); +void gfx_lines_draw(float x0, float y0, float x1, float y1); +void gfx_lines_end(); + /* server snap id */ int snap_new_id(); void snap_free_id(int id); -- cgit 1.4.1