]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - misc/source/darkplaces-src/draw.h
Update the engine
[voretournament/voretournament.git] / misc / source / darkplaces-src / draw.h
index 2a5681a987bad7ea5c7fb495273a34b5641161b8..5cb62afa8f84919e53099963aa68b25ac6170be5 100644 (file)
@@ -45,6 +45,8 @@ typedef struct cachepic_s
        qboolean hasalpha;
        // name of pic
        char name[MAX_QPATH];
+       // allow to override/free the texture
+       qboolean allow_free_tex;
 }
 cachepic_t;
 
@@ -94,6 +96,7 @@ DRAWFLAG_NUMFLAGS,
 DRAWFLAG_MASK = 0xFF,   // ONLY R_BeginPolygon()
 DRAWFLAG_MIPMAP = 0x100 // ONLY R_BeginPolygon()
 };
+#define DRAWFLAGS_BLEND (DRAWFLAG_ADDITIVE + DRAWFLAG_MODULATE + DRAWFLAG_2XMODULATE + DRAWFLAG_SCREEN)
 
 typedef struct ft2_settings_s
 {