diff options
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); |