Lines Matching defs:client_s
117 typedef struct client_s struct
119 client_state_t state; argument
121 int spectator; // non-interactive
123 qboolean sendinfo; // at end of frame, send info to all
125 float lastnametime; // time of last name change
126 int lastnamecount; // time of last name change
127 unsigned checksum; // checksum for calcs
128 qboolean drop; // lose this guy next opportunity
129 int lossage; // loss percentage
131 int userid; // identifying number
132 char userinfo[MAX_INFO_STRING]; // infostring
134 usercmd_t lastcmd; // for filling in big drops and partial predictions
135 double localtime; // of last message
136 int oldbuttons;
138 float maxspeed; // localized maxspeed
139 float entgravity; // localized ent gravity
141 edict_t *edict; // EDICT_NUM(clientnum+1)
142 char name[32]; // for printing to other people
144 int messagelevel; // for filtering printed messages
148 sizebuf_t datagram;
149 byte datagram_buf[MAX_DATAGRAM];
152 sizebuf_t backbuf;
153 int num_backbuf;
154 int backbuf_size[MAX_BACK_BUFFERS];
155 byte backbuf_data[MAX_BACK_BUFFERS][MAX_MSGLEN];
157 double connection_started; // or time of disconnect for zombies
158 qboolean send_message; // set on frames a datagram arived on
161 float spawn_parms[NUM_SPAWN_PARMS];
164 int old_frags;
166 int stats[MAX_CL_STATS];
169 client_frame_t frames[UPDATE_BACKUP]; // updates can be deltad from here
171 FILE *download; // file being downloaded
172 int downloadsize; // total bytes
173 int downloadcount; // bytes sent
175 int spec_track; // entnum of player tracking
177 double whensaid[10]; // JACK: For floodprots
178 int whensaidhead; // Head value for floodprots
179 double lockedtill;
181 qboolean upgradewarn; // did we warn him?
183 FILE *upload;
184 char uploadfn[MAX_QPATH];
185 netadr_t snap_from;
186 qboolean remote_snap;
189 int chokecount;
190 int delta_sequence; // -1 = no compression
191 netchan_t netchan;