]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
first part of fog changes: no longer use a complex glsl equation; modify the table...
[xonotic/darkplaces.git] / client.h
index 0d9069751b09fc4c7d7f9377e00847fb1d146eb3..8c3522363fd24dd53056037a07abc29924bc5bae 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;
@@ -1406,7 +1403,7 @@ typedef struct r_refdef_s
        float fog_red;
        float fog_green;
        float fog_blue;
-       float fog_start, fog_end;
+       float fog_start, fog_alpha;
        qboolean fogenabled;
        qboolean oldgl_fogenable;