]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - server.h
movement packet loss tracking
[xonotic/darkplaces.git] / server.h
index 1c370d43b90c269a1971956ac110442c2de886fc..72ea9deec89b3e2c9851c80b60f4ded327ab63b5 100644 (file)
--- a/server.h
+++ b/server.h
@@ -199,6 +199,8 @@ typedef struct client_s
        netconn_t *netconnection;
 
        int movesequence;
+       signed char movement_count[NETGRAPH_PACKETS];
+       int movement_highestsequence_seen; // not the same as movesequence if prediction is off
        /// movement
        usercmd_t cmd;
        /// intended motion calced from cmd