]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
lighthalf related transpoly cleanup
[xonotic/darkplaces.git] / server.h
index 3ab515d5a5d6cd38a879523ae42e7553f5d13a2a..7cc93b18988c0a09606952a07da22616de943464 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];