]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
cl_parse: Implement 7th mode for cl_nettimesyncboundmode; jitter compensated dynamic...
[xonotic/darkplaces.git] / client.h
index 67262d7c2990c2f3073497525b28b351e41dcf17..5335bb0a4cd958eb4fab19bdfd75fb85fcebb987 100644 (file)
--- a/client.h
+++ b/client.h
@@ -870,7 +870,12 @@ 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;
-       
+
+       // used by cl_nettimesyncboundmode 7
+#define NUM_TS_ERRORS 32 // max 256
+       unsigned char ts_error_num;
+       float ts_error_stor[NUM_TS_ERRORS];
+
        // fade var for fading while dead
        float deathfade;