]> icculus.org git repositories - divverent/darkplaces.git/blob - cl_screen.h
removed (unused) quake endscreen text
[divverent/darkplaces.git] / cl_screen.h
1
2 // drawqueue stuff for use by client to feed 2D art to renderer
3 #define MAX_DRAWQUEUE 1048576
4
5 #define DRAWQUEUE_PIC 0
6 #define DRAWQUEUE_STRING 1
7
8 typedef struct drawqueue_s
9 {
10         unsigned short size;
11         byte command, flags;
12         unsigned int color;
13         float x, y, scalex, scaley;
14 }
15 drawqueue_t;
16
17 #define DRAWFLAG_ADDITIVE 1
18
19 void DrawQ_Clear(void);
20 void DrawQ_Pic(float x, float y, char *picname, float width, float height, float red, float green, float blue, float alpha, int flags);
21 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);
22 void DrawQ_Fill (float x, float y, float w, float h, float red, float green, float blue, float alpha, int flags);
23 // only used for player config menu
24 void DrawQ_PicTranslate (int x, int y, char *picname, byte *translation);
25
26 void SHOWLMP_decodehide(void);
27 void SHOWLMP_decodeshow(void);
28 void SHOWLMP_drawall(void);
29 void SHOWLMP_clear(void);
30
31 extern cvar_t scr_2dresolution;
32
33 void CL_Screen_NewMap(void);
34 void CL_Screen_Init(void);
35 void CL_UpdateScreen(void);