]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
care for the premultiplied-alpha flag when handling DDS files (use DXT2/DXT4 FOURCC...
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index ace96f8cb06425a7d28cdb8e53fad18fc01f9ad3..317a0f76fde0a8c6748ac0cd8cd2538dd809f4f0 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -51,7 +51,7 @@ typedef enum cachepicflags_e
        CACHEPICFLAG_NOTPERSISTENT = 1,
        CACHEPICFLAG_QUIET = 2,
        CACHEPICFLAG_NOCOMPRESSION = 4,
-       CACHEPICFLAG_NOCLAMP = 8,
+       CACHEPICFLAG_NOCLAMP = 8
 }
 cachepicflags_t;
 
@@ -178,6 +178,8 @@ void DrawQ_SetClipArea(float x, float y, float width, float height);
 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);
+// draw a lot of lines
+void DrawQ_Lines (float width, int numlines, const float *vertex3f, const float *color4f, int flags);
 // draw a line loop
 void DrawQ_LineLoop(drawqueuemesh_t *mesh, int flags);
 // resets r_refdef.draw2dstage