X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=netconn.h;h=8e3cdab3d5914bc49d19fe5d7bc91ff5d8e66750;hb=220bfb551bac9181cd121366a3c858ef1499fcdf;hp=36ae55d17151402450d2682dec8cfccfa75f37e0;hpb=48669036b4be979d997c27227942ed9c430277d5;p=xonotic%2Fdarkplaces.git diff --git a/netconn.h b/netconn.h index 36ae55d1..8e3cdab3 100755 --- a/netconn.h +++ b/netconn.h @@ -282,7 +282,7 @@ typedef struct serverlist_info_s /// qc-defined short status string char qcstatus[128]; /// frags/ping/name list (if they fit in the packet) - char players[1400]; + char players[2800]; /// max client number int maxplayers; /// number of currently connected players (including bots) @@ -421,7 +421,7 @@ extern char sv_readstring[MAX_INPUTLINE]; extern cvar_t sv_public; -extern cvar_t cl_netlocalping; +extern cvar_t net_fakelag; extern cvar_t cl_netport; extern cvar_t sv_netport; @@ -454,14 +454,14 @@ void NetConn_ClientFrame(void); void NetConn_ServerFrame(void); void NetConn_SleepMicroseconds(int microseconds); void NetConn_Heartbeat(int priority); -void Net_Stats_f(void); +void Net_Stats_f(cmd_state_t *cmd); #ifdef CONFIG_MENU void NetConn_QueryMasters(qboolean querydp, qboolean queryqw); void NetConn_QueryQueueFrame(void); -void Net_Slist_f(void); -void Net_SlistQW_f(void); -void Net_Refresh_f(void); +void Net_Slist_f(cmd_state_t *cmd); +void Net_SlistQW_f(cmd_state_t *cmd); +void Net_Refresh_f(cmd_state_t *cmd); /// ServerList interface (public) /// manually refresh the view set, do this after having changed the mask or any other flag @@ -470,7 +470,7 @@ void ServerList_ResetMasks(void); void ServerList_QueryList(qboolean resetcache, qboolean querydp, qboolean queryqw, qboolean consoleoutput); /// called whenever net_slist_favorites changes -void NetConn_UpdateFavorites(void); +void NetConn_UpdateFavorites_c(cvar_t *var); #endif #define MAX_CHALLENGES 128