]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.h
patched up some compiler warnings in incomplete code
[xonotic/darkplaces.git] / cl_screen.h
index 4e08a3ab2d7898d65bbf893aa8ff70562c8fa2c0..c1edc105f64d34fa7a2bcd9d609b55f88e062584 100644 (file)
@@ -5,6 +5,8 @@
 // drawqueue stuff for use by client to feed 2D art to renderer
 #define DRAWQUEUE_STRING 0
 #define DRAWQUEUE_MESH 1
+#define DRAWQUEUE_SETCLIP 2
+#define DRAWQUEUE_RESETCLIP 3
 
 typedef struct drawqueue_s
 {
@@ -51,6 +53,10 @@ void DrawQ_Fill(float x, float y, float w, float h, float red, float green, floa
 void DrawQ_SuperPic(float x, float y, char *picname, float width, float height, float s1, float t1, float r1, float g1, float b1, float a1, float s2, float t2, float r2, float g2, float b2, float a2, float s3, float t3, float r3, float g3, float b3, float a3, float s4, float t4, float r4, float g4, float b4, float a4, int flags);
 // draw a triangle mesh
 void DrawQ_Mesh(drawqueuemesh_t *mesh, int flags);
+// set the clipping area
+void DrawQ_SetClipArea(float x, float y, float width, float height);
+// reset the clipping area
+void DrawQ_ResetClipArea(void);
 
 void SHOWLMP_decodehide(void);
 void SHOWLMP_decodeshow(void);
@@ -60,6 +66,7 @@ void SHOWLMP_clear(void);
 extern cvar_t vid_conwidth;
 extern cvar_t vid_conheight;
 extern cvar_t scr_screenshot_jpeg;
+extern cvar_t scr_screenshot_jpeg_quality;
 
 void CL_Screen_NewMap(void);
 void CL_Screen_Init(void);