diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-09-23 18:27:04 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-09-23 18:27:04 +0000 |
| commit | ebbe51718e6b3ed81ee0932641e0bc4ddb805fcc (patch) | |
| tree | 4eca71f96840157c674558ad3f6a24e6118445ca /src/engine/interface.h | |
| parent | 1004b466c33199b4c6903bbc676b06b8a34a81d9 (diff) | |
| download | zcatch-ebbe51718e6b3ed81ee0932641e0bc4ddb805fcc.tar.gz zcatch-ebbe51718e6b3ed81ee0932641e0bc4ddb805fcc.zip | |
loads of changes. better prediction. line drawing. some nice graphs :)
Diffstat (limited to 'src/engine/interface.h')
| -rw-r--r-- | src/engine/interface.h | 8 |
1 files changed, 6 insertions, 2 deletions
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 <gfx_quads_begin> 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 <gfx_quads_begin> 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); |