]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - draw.h
make it possible to unset effects for CSQC entities
[xonotic/darkplaces.git] / draw.h
diff --git a/draw.h b/draw.h
index 2a5681a987bad7ea5c7fb495273a34b5641161b8..5cb62afa8f84919e53099963aa68b25ac6170be5 100644 (file)
--- a/draw.h
+++ b/draw.h
@@ -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
 {