X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cl_screen.h;h=faf906b2fb1af62855eb3ece8a78afde992bba39;hp=42575f0341028cc75850d516524ff7b78aec73cd;hb=008c637a3976f0514406779744051b31f41dc768;hpb=0256e57e16a302ad45090618b8d6eb5930788809 diff --git a/cl_screen.h b/cl_screen.h index 42575f03..faf906b2 100644 --- a/cl_screen.h +++ b/cl_screen.h @@ -2,40 +2,26 @@ #ifndef CL_SCREEN_H #define CL_SCREEN_H -// drawqueue stuff for use by client to feed 2D art to renderer -#define MAX_DRAWQUEUE 262144 - -#define DRAWQUEUE_PIC 0 -#define DRAWQUEUE_STRING 1 - -typedef struct drawqueue_s -{ - unsigned short size; - qbyte command, flags; - unsigned int color; - float x, y, scalex, scaley; -} -drawqueue_t; - -#define DRAWFLAG_ADDITIVE 1 - -void DrawQ_Clear(void); -void DrawQ_Pic(float x, float y, char *picname, float width, float height, float red, float green, float blue, float alpha, int flags); -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, qbyte *translation); - void SHOWLMP_decodehide(void); void SHOWLMP_decodeshow(void); void SHOWLMP_drawall(void); -void SHOWLMP_clear(void); -extern cvar_t scr_2dresolution; +extern cvar_t vid_conwidth; +extern cvar_t vid_conheight; +extern cvar_t vid_pixelheight; +extern cvar_t scr_screenshot_jpeg; +extern cvar_t scr_screenshot_jpeg_quality; +extern cvar_t scr_screenshot_png; +extern cvar_t scr_screenshot_gammaboost; +extern cvar_t scr_screenshot_name; void CL_Screen_NewMap(void); void CL_Screen_Init(void); +void CL_Screen_Shutdown(void); void CL_UpdateScreen(void); +qboolean R_Stereo_Active(void); +qboolean R_Stereo_ColorMasking(void); + #endif