#define CL_SCREEN_H
// drawqueue stuff for use by client to feed 2D art to renderer
-#define DRAWQUEUE_PIC 0
-#define DRAWQUEUE_STRING 1
-#define DRAWQUEUE_MESH 2
+#define DRAWQUEUE_STRING 0
+#define DRAWQUEUE_MESH 1
typedef struct drawqueue_s
{
rtexture_t *texture;
int numtriangles;
int numvertices;
- int *indices;
- float *vertices;
- float *texcoords;
- float *colors;
+ int *element3i;
+ float *vertex3f;
+ float *texcoord2f;
+ float *color4f;
}
drawqueuemesh_t;
#define DRAWFLAG_ADDITIVE 1
+#define DRAWFLAG_MODULATE 2
// clear the draw queue
void DrawQ_Clear(void);
void SHOWLMP_clear(void);
extern cvar_t scr_2dresolution;
+extern cvar_t scr_screenshot_jpeg;
void CL_Screen_NewMap(void);
void CL_Screen_Init(void);