mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-31 01:00:53 +00:00
This update changes the server list layout and adds server pinging and querying support. Use 'p' to update pings, 's' to update status information, and 'u' to do both at once. Feel free to abuse this and report any bugs that you find.
This commit is contained in:
parent
e537c27a70
commit
0210465303
4 changed files with 221 additions and 30 deletions
|
@ -36,6 +36,10 @@
|
|||
typedef struct server_entry_s {
|
||||
char *server;
|
||||
char *desc;
|
||||
char *status;
|
||||
int waitstatus;
|
||||
struct timeval pingsent;
|
||||
struct timeval pongback;
|
||||
struct server_entry_s *next;
|
||||
struct server_entry_s *prev;
|
||||
} server_entry_t;
|
||||
|
@ -58,4 +62,5 @@ void SL_Shutdown(server_entry_t *start);
|
|||
char *gettokstart(char *str, int req, char delim);
|
||||
int gettoklen(char *str, int req, char delim);
|
||||
|
||||
void timepassed (struct timeval *time1, struct timeval *time2);
|
||||
#endif // _CL_SLIST_H
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue