5 // drawqueue stuff for use by client to feed 2D art to renderer
6 #define DRAWQUEUE_PIC 0
7 #define DRAWQUEUE_STRING 1
8 #define DRAWQUEUE_MESH 2
10 typedef struct drawqueue_s
15 float x, y, scalex, scaley;
19 // a triangle mesh... embedded in the drawqueue
20 typedef struct drawqueuemesh_s
32 #define DRAWFLAG_ADDITIVE 1
34 // clear the draw queue
35 void DrawQ_Clear(void);
37 void DrawQ_Pic(float x, float y, char *picname, float width, float height, float red, float green, float blue, float alpha, int flags);
39 void DrawQ_String(float x, float y, char *string, int maxlen, float scalex, float scaley, float red, float green, float blue, float alpha, int flags);
40 // draw a filled rectangle
41 void DrawQ_Fill (float x, float y, float w, float h, float red, float green, float blue, float alpha, int flags);
42 // draw a triangle mesh
43 void DrawQ_Mesh (drawqueuemesh_t *mesh, int flags);
45 void SHOWLMP_decodehide(void);
46 void SHOWLMP_decodeshow(void);
47 void SHOWLMP_drawall(void);
48 void SHOWLMP_clear(void);
50 extern cvar_t scr_2dresolution;
52 void CL_Screen_NewMap(void);
53 void CL_Screen_Init(void);
54 void CL_UpdateScreen(void);