X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=netconn.h;h=f158e359eff47f0fe04f4878e636bb096000d175;hb=e0101fa69476bb99506cc168f0a58e39608b33df;hp=ddbce4150f39e34bf80bfe67b1f221fd16d65655;hpb=4d4134e9956ccd5bbbf650a464b0060292a41870;p=xonotic%2Fdarkplaces.git diff --git a/netconn.h b/netconn.h index ddbce415..f158e359 100755 --- a/netconn.h +++ b/netconn.h @@ -37,6 +37,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define NET_PROTOCOL_VERSION 3 +#define NET_EXTRESPONSE_MAX 16 // This is the network info/connection protocol. It is used to find Quake // servers, get info about them, and connect to them. Once connected, the @@ -185,6 +186,10 @@ typedef struct netconn_s } qw; + // this tracks which of the last 100 received packet sequence numbers were lost + int packetlostcounter; + unsigned char packetlost[100]; + char address[128]; } netconn_t; @@ -307,6 +312,10 @@ extern qboolean serverlist_consoleoutput; // //============================================================================ +extern char net_extresponse[NET_EXTRESPONSE_MAX][1400]; +extern int net_extresponse_count; +extern int net_extresponse_last; + extern double masterquerytime; extern int masterquerycount; extern int masterreplycount;