]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.h
Blub's nick completion
[xonotic/darkplaces.git] / netconn.h
index e04bdb5dbd93da4469d2f6f32a0dfb075fd42fff..b359c949c3d877a917e8e354cb1d2d029fe07798 100755 (executable)
--- a/netconn.h
+++ b/netconn.h
@@ -284,7 +284,8 @@ typedef enum
        SQS_NONE = 0,
        SQS_QUERYING,
        SQS_QUERIED,
-       SQS_TIMEDOUT
+       SQS_TIMEDOUT,
+       SQS_REFRESHING
 } serverlist_query_state;
 
 typedef struct serverlist_entry_s
@@ -295,7 +296,7 @@ typedef struct serverlist_entry_s
        unsigned querycounter;
        // used to calculate ping when update comes in
        double querytime;
-       // query protocol to use on this server
+   // query protocol to use on this server
        int protocol; // may be PROTOCOL_QUAKEWORLD or PROTOCOL_DARKPLACES7
 
        serverlist_info_t info;
@@ -381,12 +382,13 @@ void NetConn_QueryQueueFrame(void);
 void Net_Stats_f(void);
 void Net_Slist_f(void);
 void Net_SlistQW_f(void);
+void Net_Refresh_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(qboolean querydp, qboolean queryqw);
+void ServerList_QueryList(qboolean resetcache, qboolean querydp, qboolean queryqw, qboolean consoleoutput);
 
 #endif