]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
huge (16%) speed gain on surface rendering by eliminating the surfmesh chain in q1bsp...
[xonotic/darkplaces.git] / netconn.h
index c1d1e6708a2afb1b90558d482b62f93bedf0d00d..cc991276ea9c4c612f387266cf8c0cffdb64321c 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -159,7 +159,9 @@ extern int playercolor;
 typedef struct
 {
        // ping time for sorting servers
-       double ping;
+       int ping;
+       // used to calculate ping when update comes in
+       double querytime;
        // address for connecting
        char cname[128];
        // description (seen by user)
@@ -191,6 +193,12 @@ extern unsigned short ntohs (unsigned short netshort);
 //
 //============================================================================
 
+extern double masterquerytime;
+extern int masterquerycount;
+extern int masterreplycount;
+extern int serverquerycount;
+extern int serverreplycount;
+
 extern sizebuf_t net_message;
 
 extern cvar_t cl_fakelocalping_min;