extern cvar_t hostname;
extern cvar_t developer_networking;
-extern char playername[];
-extern int playercolor;
#define SERVERLIST_TOTALSIZE 2048
#define SERVERLIST_VIEWLISTSIZE SERVERLIST_TOTALSIZE
int numplayers;
// protocol version
int protocol;
+ // game data version
+ // (an integer that is used for filtering incompatible servers,
+ // not filterable by QC)
+ int gameversion;
} serverlist_info_t;
typedef enum
unsigned querycounter;
// used to calculate ping when update comes in
double querytime;
+ // query protocol to use on this server
+ int protocol; // may be PROTOCOL_QUAKEWORLD or PROTOCOL_DARKPLACES7
serverlist_info_t info;
int NetConn_IsLocalGame(void);
void NetConn_ClientFrame(void);
void NetConn_ServerFrame(void);
-void NetConn_QueryMasters(void);
+void NetConn_QueryMasters(qboolean querydp, qboolean queryqw);
void NetConn_Heartbeat(int priority);
void NetConn_QueryQueueFrame(void);
void Net_Stats_f(void);
void Net_Slist_f(void);
+void Net_SlistQW_f(void);
// ServerList interface (public)
// manually refresh the view set, do this after having changed the mask or any other flag
void ServerList_RebuildViewList(void);
void ServerList_ResetMasks(void);
-void ServerList_QueryList(void);
+void ServerList_QueryList(qboolean querydp, qboolean queryqw);
#endif