]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.h
Added a special key binding menu when compiling for BloodBath
[xonotic/darkplaces.git] / cl_screen.h
index 21e3e951c00e2b3745da238769a7c1939aa8be99..42575f0341028cc75850d516524ff7b78aec73cd 100644 (file)
@@ -1,6 +1,9 @@
 
+#ifndef CL_SCREEN_H
+#define CL_SCREEN_H
+
 // drawqueue stuff for use by client to feed 2D art to renderer
-#define MAX_DRAWQUEUE 1048576
+#define MAX_DRAWQUEUE 262144
 
 #define DRAWQUEUE_PIC 0
 #define DRAWQUEUE_STRING 1
@@ -8,7 +11,7 @@
 typedef struct drawqueue_s
 {
        unsigned short size;
-       byte command, flags;
+       qbyte command, flags;
        unsigned int color;
        float x, y, scalex, scaley;
 }
@@ -21,13 +24,18 @@ void DrawQ_Pic(float x, float y, char *picname, float width, float height, float
 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);
 void DrawQ_Fill (float x, float y, float w, float h, float red, float green, float blue, float alpha, int flags);
 // only used for player config menu
-void DrawQ_PicTranslate (int x, int y, char *picname, byte *translation);
+void DrawQ_PicTranslate (int x, int y, char *picname, qbyte *translation);
 
 void SHOWLMP_decodehide(void);
 void SHOWLMP_decodeshow(void);
 void SHOWLMP_drawall(void);
 void SHOWLMP_clear(void);
 
+extern cvar_t scr_2dresolution;
+
 void CL_Screen_NewMap(void);
 void CL_Screen_Init(void);
 void CL_UpdateScreen(void);
+
+#endif
+