mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-22 20:41:20 +00:00
Clean up client_static_t a little more.
This commit is contained in:
parent
b20daaf611
commit
25cb618e4d
2 changed files with 11 additions and 23 deletions
|
@ -96,17 +96,14 @@ typedef enum {
|
|||
the client_static_t structure is persistant through an arbitrary number
|
||||
of server connections
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
typedef struct {
|
||||
// connection information
|
||||
cactive_t state;
|
||||
signon_t signon;
|
||||
|
||||
// file transfer from server
|
||||
QFile *download;
|
||||
char *downloadtempname;
|
||||
char *downloadname;
|
||||
int downloadnumber;
|
||||
dltype_t downloadtype;
|
||||
int downloadpercent;
|
||||
// network stuff
|
||||
struct qsocket_s *netcon;
|
||||
sizebuf_t message; // writing buffer to send to server
|
||||
|
||||
// demo loop control
|
||||
int demonum; // -1 = don't play demos
|
||||
|
@ -123,11 +120,6 @@ typedef struct
|
|||
int td_lastframe; // to meter out one message a frame
|
||||
int td_startframe; // host_framecount at start
|
||||
float td_starttime; // realtime at second frame of timedemo
|
||||
|
||||
// connection information
|
||||
signon_t signon;
|
||||
struct qsocket_s *netcon;
|
||||
sizebuf_t message; // writing buffer to send to server
|
||||
} client_static_t;
|
||||
|
||||
extern client_static_t cls;
|
||||
|
|
|
@ -136,14 +136,14 @@ typedef struct
|
|||
|
||||
// network stuff
|
||||
netchan_t netchan;
|
||||
|
||||
// private userinfo for sending to masterless servers
|
||||
struct info_s *userinfo;
|
||||
|
||||
int qport;
|
||||
int challenge;
|
||||
float latency; // rolling average
|
||||
struct dstring_s *servername; // name of server from original connect
|
||||
netadr_t server_addr; // address of server
|
||||
|
||||
int qport;
|
||||
// private userinfo for sending to masterless servers
|
||||
struct info_s *userinfo;
|
||||
|
||||
// file transfer from server
|
||||
QFile *download;
|
||||
|
@ -174,10 +174,6 @@ typedef struct
|
|||
float td_lastframe; // to meter out one message a frame
|
||||
int td_startframe; // host_framecount at start
|
||||
float td_starttime; // realtime at second frame of timedemo
|
||||
|
||||
int challenge;
|
||||
|
||||
float latency; // rolling average
|
||||
} client_static_t;
|
||||
|
||||
extern client_static_t cls;
|
||||
|
|
Loading…
Reference in a new issue