X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=draw.h;h=259ed9b05f6f856b672824e8f15c44ac5683c1be;hp=c9c8b745b949d7369b3933a70cff34c0a6e17cd8;hb=624b2a6616c0e07574000dba59e0f46c8f12d8f9;hpb=fbebdb71917b3854c3327f790bc3f7f286a7240b diff --git a/draw.h b/draw.h index c9c8b745..259ed9b0 100644 --- a/draw.h +++ b/draw.h @@ -76,6 +76,7 @@ DRAWFLAG_NORMAL, DRAWFLAG_ADDITIVE, DRAWFLAG_MODULATE, DRAWFLAG_2XMODULATE, +DRAWFLAG_SCREEN, DRAWFLAG_NUMFLAGS, DRAWFLAG_MASK = 0xFF, // ONLY R_BeginPolygon() DRAWFLAG_MIPMAP = 0x100 // ONLY R_BeginPolygon() @@ -109,6 +110,10 @@ extern dp_font_t dp_fonts[MAX_FONTS]; #define STRING_COLOR_TAG '^' #define STRING_COLOR_DEFAULT 7 #define STRING_COLOR_DEFAULT_STR "^7" +#define STRING_COLOR_RGB_DEFAULT 'x' +#define STRING_COLOR_RGB_DEFAULT_STR "^xfff" +//#define STRING_COLOR_ALPHA_DEFAULT 'a' +//#define STRING_COLOR_ALPHA_DEFAULT_STR "^af" // all of these functions will set r_defdef.draw2dstage if not in 2D rendering mode (and of course prepare for 2D rendering in that case)