]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
redesigned transparent HL texture checking again, now treats color 255 as transparent...
[xonotic/darkplaces.git] / server.h
index 3ab515d5a5d6cd38a879523ae42e7553f5d13a2a..c377acdc0dcc5b5225911e7a7be953e515726f84 100644 (file)
--- a/server.h
+++ b/server.h
@@ -96,6 +96,8 @@ typedef struct client_s
                
        float                   ping_times[NUM_PING_TIMES];
        int                             num_pings;                      // ping_times[num_pings%NUM_PING_TIMES]
+       float                   ping;                           // LordHavoc: can be used for prediction or whatever...
+       float                   latency;                        // LordHavoc: specifically used for prediction, accounts for sys_ticrate too
 
 // spawn parms are carried from level to level
        float                   spawn_parms[NUM_SPAWN_PARMS];
@@ -103,6 +105,9 @@ typedef struct client_s
 // client known data for deltas        
        int                             old_frags;
        int                             pmodel;
+
+       // delta compression state
+       float                   nextfullupdate[MAX_EDICTS];
 } client_t;