]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
colormod values above 1 1 1 should work properly with r_glsl now
[xonotic/darkplaces.git] / client.h
index 0d9069751b09fc4c7d7f9377e00847fb1d146eb3..28c047d626cf1f56587b5bb76b51cec245bde1e4 100644 (file)
--- a/client.h
+++ b/client.h
@@ -512,12 +512,9 @@ typedef struct client_static_s
        // -1 = use normal cd track
        int forcetrack;
        qfile_t *demofile;
-       // to meter out one message a frame
-       int td_lastframe;
-       // host_framecount at start
-       int td_startframe;
        // realtime at second frame of timedemo (LordHavoc: changed to double)
        double td_starttime;
+       int td_frames; // total frames parsed
        double td_onesecondnexttime;
        double td_onesecondframes;
        double td_onesecondminframes;
@@ -1402,11 +1399,14 @@ typedef struct r_refdef_s
        vec_t fogmasktabledistmultiplier;
 #define FOGMASKTABLEWIDTH 1024
        float fogmasktable[FOGMASKTABLEWIDTH];
+       float fogmasktable_start, fogmasktable_alpha, fogmasktable_range, fogmasktable_density;
        float fog_density;
        float fog_red;
        float fog_green;
        float fog_blue;
-       float fog_start, fog_end;
+       float fog_alpha;
+       float fog_start;
+       float fog_end;
        qboolean fogenabled;
        qboolean oldgl_fogenable;