]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.h
added DrawQ_Line/DrawQ_Lines/DrawQ_LineWidth patch from [515], note: buggy, needs...
[xonotic/darkplaces.git] / cl_screen.h
index a6bcb3524c450921fe590d1260b8b6ce50308d3f..d58d7642319c0a90a5ee85f3ca56d22a0f3c5aae 100644 (file)
@@ -7,6 +7,8 @@
 #define DRAWQUEUE_MESH 1
 #define DRAWQUEUE_SETCLIP 2
 #define DRAWQUEUE_RESETCLIP 3
+#define DRAWQUEUE_LINEWIDTH 4
+#define DRAWQUEUE_LINES 5
 
 typedef struct drawqueue_s
 {
@@ -64,6 +66,8 @@ void DrawQ_Mesh(drawqueuemesh_t *mesh, int flags);
 void DrawQ_SetClipArea(float x, float y, float width, float height);
 // reset the clipping area
 void DrawQ_ResetClipArea(void);
+// draw a line
+void DrawQ_Line(float width, float x1, float y1, float x2, float y2, float r, float g, float b, float alpha, int flags);
 
 void SHOWLMP_decodehide(void);
 void SHOWLMP_decodeshow(void);