]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
randomized loadingscreen pic (cvar: scr_loadingscreen_count, when 2 or above, randomi...
[xonotic/darkplaces.git] / client.h
index fe6c3b39149cf5801405ada3fa2bfbbcffa4202a..3c4ce0a6843136367bac51f4b8a35c46cff7cda2 100644 (file)
--- a/client.h
+++ b/client.h
@@ -1730,6 +1730,15 @@ typedef struct r_refdef_s
        qboolean fogenabled;
        qboolean oldgl_fogenable;
 
+       // new flexible texture height fog (overrides normal fog)
+       char fog_height_texturename[64]; // note: must be 64 for the sscanf code
+       unsigned char *fog_height_table1d;
+       unsigned char *fog_height_table2d;
+       int fog_height_tablesize; // enable
+       float fog_height_tablescale;
+       float fog_height_texcoordscale;
+       char fogheighttexturename[64]; // detects changes to active fog height texture
+
        qboolean draw2dstage;
 
        // true during envmap command capture