]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
cl_deathfade: new effect which makes the screen fade to dark red when you die......
[xonotic/darkplaces.git] / client.h
index 60e76f43c2f52c3e31b22d16d809ebc3c368ad08..a8ed83445c08dd29603e9bc582a08e42b02841bb 100644 (file)
--- a/client.h
+++ b/client.h
@@ -889,6 +889,9 @@ typedef struct client_state_s
        // how long it has been since the previous client frame in real time
        // (not game time, for that use cl.time - cl.oldtime)
        double realframetime;
+       
+       // fade var for fading while dead
+       float deathfade;
 
        // copy of realtime from last recieved message, for net trouble icon
        float last_received_message;