![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include <server.h>
qbool client_t::active |
false = empty client slot
Definition at line 185 of file server.h.
Referenced by NetConn_BuildStatusResponse(), NetConn_ServerParsePacket(), SV_BroadcastPrint(), SV_ConnectClient(), SV_Kick_f(), SV_Ping_f(), SV_ReadClientMessage(), SV_SaveSpawnparms(), SV_Say(), SV_SendClientMessages(), SV_Shutdown(), SV_Spawn_f(), SV_SpawnServer(), SV_Status_f(), Sys_Error(), and VM_SV_lightstyle().
qbool client_t::begun |
false = don't send datagrams
Definition at line 193 of file server.h.
Referenced by NetConn_ServerParsePacket(), SV_Begin_f(), SV_ConnectClient(), SV_ExecuteClientMoves(), SV_FlushBroadcastMessages(), SV_Name(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientEntity_PreThink(), SV_ReadClientMessage(), SV_ReadClientMove(), SV_SendClientDatagram(), SV_SendServerinfo(), SV_SpawnServer(), SV_ThreadFunc(), and SV_UpdateToReliableMessages().
int client_t::clientcamera |
clientcamera (entity to use as camera)
Definition at line 270 of file server.h.
Referenced by SV_SendServerinfo(), SV_UpdateToReliableMessages(), and SV_WriteEntitiesToClient().
qbool client_t::clientconnectcalled |
false = don't do ClientDisconnect on drop
Definition at line 187 of file server.h.
Referenced by SV_DropClient(), SV_Spawn_f(), SV_SpawnServer(), and SV_UpdateToReliableMessages().
double client_t::clmovement_disabletimeout |
this is used by sv_clmovement_minping code
Definition at line 227 of file server.h.
Referenced by SV_ExecuteClientMoves().
float client_t::clmovement_inputtimeout |
this is used by sv_clmovement_inputtimeout code
Definition at line 229 of file server.h.
Referenced by SV_ExecuteClientMoves(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_PostThink(), and SV_Physics_ClientEntity_PreThink().
usercmd_t client_t::cmd |
movement
Definition at line 216 of file server.h.
Referenced by SV_ApplyClientMove(), SV_ExecuteClientMoves(), SV_Physics_ClientEntity(), SV_PlayerPhysics(), SV_ReadClientMove(), and SV_SendServerinfo().
int client_t::colors |
Definition at line 236 of file server.h.
Referenced by NetConn_BuildStatusResponse(), NetConn_ServerParsePacket(), SV_Color_f(), SV_DropClient(), SV_Spawn_f(), SV_UpdateToReliableMessages(), and VM_SV_setcolor().
double client_t::connecttime |
realtime this client connected
Definition at line 204 of file server.h.
Referenced by NetConn_ServerParsePacket(), SV_ConnectClient(), and SV_Status_f().
int client_t::csqcentityframe_lastreset |
Definition at line 257 of file server.h.
Referenced by EntityFrameCSQC_LostFrame(), and EntityFrameCSQC_WriteFrame().
csqcentityframedb_t client_t::csqcentityframehistory[NUM_CSQCENTITYDB_FRAMES] |
Definition at line 255 of file server.h.
Referenced by EntityFrameCSQC_AllocFrame(), EntityFrameCSQC_DeallocFrame(), EntityFrameCSQC_LostFrame(), EntityFrameCSQC_WriteFrame(), and SV_SendServerinfo().
int client_t::csqcentityframehistory_next |
Definition at line 256 of file server.h.
Referenced by EntityFrameCSQC_AllocFrame(), EntityFrameCSQC_DeallocFrame(), EntityFrameCSQC_LostFrame(), and SV_SendServerinfo().
unsigned char client_t::csqcentityscope[MAX_EDICTS] |
Definition at line 251 of file server.h.
Referenced by EntityFrameCSQC_LostAllFrames(), EntityFrameCSQC_LostFrame(), EntityFrameCSQC_WriteFrame(), and SV_SendServerinfo().
unsigned int client_t::csqcentitysendflags[MAX_EDICTS] |
Definition at line 252 of file server.h.
Referenced by EntityFrameCSQC_LostAllFrames(), EntityFrameCSQC_LostFrame(), EntityFrameCSQC_WriteFrame(), and SV_SendServerinfo().
int client_t::csqcnumedicts |
Definition at line 250 of file server.h.
Referenced by EntityFrameCSQC_LostAllFrames(), EntityFrameCSQC_LostFrame(), EntityFrameCSQC_WriteFrame(), and SV_SendServerinfo().
qbool client_t::download_deflate |
Definition at line 290 of file server.h.
Referenced by Download_CheckExtensions(), and SV_Download_f().
int client_t::download_expectedposition |
next position the client should ack
Definition at line 287 of file server.h.
Referenced by SV_Download_f(), SV_DropClient(), and SV_ReadClientMessage().
qfile_t* client_t::download_file |
Definition at line 286 of file server.h.
Referenced by SV_Download_f(), SV_DropClient(), SV_ReadClientMessage(), SV_SendClientDatagram(), and SV_StartDownload_f().
char client_t::download_name[MAX_QPATH] |
Definition at line 289 of file server.h.
Referenced by SV_Download_f(), SV_DropClient(), and SV_ReadClientMessage().
qbool client_t::download_started |
Definition at line 288 of file server.h.
Referenced by SV_Download_f(), SV_DropClient(), SV_ReadClientMessage(), SV_SendClientDatagram(), and SV_StartDownload_f().
prvm_edict_t* client_t::edict |
PRVM_EDICT_NUM(clientnum+1)
Definition at line 221 of file server.h.
Referenced by DropPunchAngle(), SV_Accelerate(), SV_AirAccelerate(), SV_AirMove(), SV_ApplyClientMove(), SV_Color_f(), SV_ConnectClient(), SV_DropClient(), SV_Ent_Create_f(), SV_Ent_Remove_f(), SV_ExecuteClientMoves(), SV_Fly_f(), SV_Give_f(), SV_God_f(), SV_Kill_f(), SV_Name(), SV_Noclip_f(), SV_Notarget_f(), SV_Physics_ClientMove(), SV_Playermodel_f(), SV_PlayerPhysics(), SV_Playerskin_f(), SV_PModel_f(), SV_ReadClientMessage(), SV_SaveSpawnparms(), SV_Say(), SV_SendClientDatagram(), SV_SendServerinfo(), SV_SetIdealPitch(), SV_Spawn_f(), SV_SpawnServer(), SV_StartDemoRecording(), SV_StopDemoRecording(), SV_UpdateToReliableMessages(), SV_UserFriction(), SV_WaterJump(), SV_WaterMove(), SV_WriteDemoMessage(), and VM_SV_setcolor().
entityframe_database_t* client_t::entitydatabase |
Definition at line 272 of file server.h.
Referenced by SV_DropClient(), SV_FrameAck(), SV_SendServerinfo(), and SV_WriteEntitiesToClient().
entityframe4_database_t* client_t::entitydatabase4 |
Definition at line 273 of file server.h.
Referenced by SV_DropClient(), SV_FrameAck(), SV_SendServerinfo(), and SV_WriteEntitiesToClient().
entityframe5_database_t* client_t::entitydatabase5 |
Definition at line 274 of file server.h.
Referenced by SV_DropClient(), SV_FrameAck(), SV_FrameLost(), SV_SendServerinfo(), and SV_WriteEntitiesToClient().
vec3_t client_t::fixangle_angles |
Definition at line 294 of file server.h.
Referenced by SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientMove(), and SV_WriteClientdataToMessage().
qbool client_t::fixangle_angles_set |
Definition at line 293 of file server.h.
Referenced by SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientMove(), and SV_WriteClientdataToMessage().
int client_t::frags |
Definition at line 237 of file server.h.
Referenced by NetConn_BuildStatusResponse(), NetConn_ServerParsePacket(), SV_DropClient(), SV_MarkWriteEntityStateToClient(), SV_Spawn_f(), SV_Status_f(), and SV_UpdateToReliableMessages().
double client_t::keepalivetime |
keepalive messages must be sent periodically during signon
Definition at line 207 of file server.h.
Referenced by SV_SendClientDatagram().
unsigned int client_t::lastmovesequence |
Definition at line 305 of file server.h.
Referenced by SV_WriteEntitiesToClient().
int client_t::latestframenum |
latest received clc_ackframe (used to detect packet loss)
Definition at line 263 of file server.h.
Referenced by SV_ReadClientMessage(), and SV_SendServerinfo().
signed char client_t::movement_count[NETGRAPH_PACKETS] |
Definition at line 213 of file server.h.
Referenced by SV_ApplyClientMove(), SV_ExecuteClientMoves(), SV_ReadClientMove(), and SV_SendServerinfo().
unsigned int client_t::movement_highestsequence_seen |
Definition at line 214 of file server.h.
Referenced by SV_ReadClientMove(), and SV_SendServerinfo().
unsigned int client_t::movesequence |
Definition at line 212 of file server.h.
Referenced by SV_ExecuteClientMoves(), SV_SendServerinfo(), and SV_WriteEntitiesToClient().
char client_t::name[MAX_SCOREBOARDNAME] |
Definition at line 235 of file server.h.
Referenced by Cmd_ExecuteString(), NetConn_BuildStatusResponse(), NetConn_ServerParsePacket(), RCon_Execute(), SV_ConnectClient(), SV_Download_f(), SV_DropClient(), SV_Ent_Create_f(), SV_Kick_f(), SV_Name(), SV_Name_f(), SV_Pause_f(), SV_Ping_f(), SV_ReadClientMessage(), SV_Say(), SV_Spawn_f(), SV_Status_f(), SV_Tell_f(), SV_UpdateToReliableMessages(), SV_WriteEntitiesToClient(), and SV_WriteNetnameIntoDemo().
float client_t::nametime |
prevent animated names
Definition at line 260 of file server.h.
Referenced by SV_Name_f(), SV_PreSpawn_f(), and SV_Spawn_f().
char client_t::netaddress[MAX_QPATH] |
netaddress support
Definition at line 242 of file server.h.
Referenced by SV_StartDemoRecording(), and SV_StopDemoRecording().
netconn_t* client_t::netconnection |
communications handle
Definition at line 210 of file server.h.
Referenced by NetConn_BuildStatusResponse(), NetConn_ServerParsePacket(), Protocol_WriteStatsReliable(), RCon_Execute(), SV_ApplyClientMove(), SV_BroadcastPrint(), SV_CheckTimeouts(), SV_ClientCommands(), SV_ClientPrint(), SV_ConnectClient(), SV_DropClient(), SV_FlushBroadcastMessages(), SV_Name(), SV_Pause_f(), SV_Pings_f(), SV_PreSpawn_f(), SV_ReadClientMessage(), SV_SendClientDatagram(), SV_SendClientMessages(), SV_SendServerinfo(), SV_Spawn_f(), SV_SpawnServer(), SV_Status_f(), SV_ThreadFunc(), SV_UpdateToReliableMessages(), VM_sprint(), VM_SV_centerprint(), VM_SV_lightstyle(), and VM_SV_sprint().
int client_t::num_skippedentityframes |
Definition at line 301 of file server.h.
Referenced by SV_WriteEntitiesToClient().
int client_t::old_colors |
Definition at line 236 of file server.h.
Referenced by SV_Color_f(), SV_UpdateToReliableMessages(), and VM_SV_setcolor().
int client_t::old_frags |
Definition at line 237 of file server.h.
Referenced by SV_UpdateToReliableMessages().
char client_t::old_model[MAX_QPATH] |
Definition at line 238 of file server.h.
Referenced by SV_Playermodel_f().
char client_t::old_name[MAX_SCOREBOARDNAME] |
Definition at line 235 of file server.h.
Referenced by SV_ConnectClient(), and SV_Name().
char client_t::old_skin[MAX_QPATH] |
Definition at line 239 of file server.h.
Referenced by SV_Playerskin_f().
float client_t::ping |
LadyHavoc: can be used for prediction or whatever...
Definition at line 224 of file server.h.
Referenced by NetConn_BuildStatusResponse(), SV_ApplyClientMove(), SV_ExecuteClientMoves(), SV_Ping_f(), SV_SendServerinfo(), SV_Status_f(), and SV_WriteEntitiesToClient().
char client_t::playermodel[MAX_QPATH] |
Definition at line 238 of file server.h.
Referenced by SV_Playermodel_f(), and SV_UpdateToReliableMessages().
char client_t::playerskin[MAX_QPATH] |
Definition at line 239 of file server.h.
Referenced by SV_Playerskin_f(), and SV_UpdateToReliableMessages().
qbool client_t::prespawned |
false = don't allow spawn
Definition at line 189 of file server.h.
Referenced by SV_ConnectClient(), SV_PreSpawn_f(), SV_SendServerinfo(), and SV_Spawn_f().
int client_t::rate |
requested rate in bytes per second
Definition at line 198 of file server.h.
Referenced by SV_ConnectClient(), SV_Rate_f(), and SV_SendClientDatagram().
int client_t::rate_burstsize |
temporarily exceed rate by this amount of bytes
Definition at line 201 of file server.h.
Referenced by SV_Rate_BurstSize_f(), and SV_SendClientDatagram().
int client_t::sendsignon |
1 = send svc_serverinfo and advance to 2, 2 doesn't send, then advances to 0 (allowing unlimited sending) when prespawn is received
Definition at line 195 of file server.h.
Referenced by SV_Download_f(), SV_PreSpawn_f(), SV_ReadClientMessage(), SV_SendClientDatagram(), and SV_SendServerinfo().
prvm_vec_t client_t::spawn_parms[NUM_SPAWN_PARMS] |
spawn parms are carried from level to level
Definition at line 232 of file server.h.
Referenced by SV_ConnectClient(), SV_SaveSpawnparms(), SV_Spawn_f(), SV_SpawnServer(), and VM_SV_setspawnparms().
qbool client_t::spawned |
false = don't allow begin
Definition at line 191 of file server.h.
Referenced by SV_Begin_f(), SV_ConnectClient(), SV_SendServerinfo(), and SV_Spawn_f().
int client_t::stats[MAX_CL_STATS] |
Definition at line 278 of file server.h.
Referenced by EntityFrame5_WriteFrame(), Protocol_UpdateClientStats(), Protocol_WriteStatsReliable(), and SV_SendServerinfo().
unsigned char client_t::statsdeltabits[(MAX_CL_STATS+7)/8] |
Definition at line 277 of file server.h.
Referenced by EntityFrame5_LostFrame(), EntityFrame5_WriteFrame(), Protocol_UpdateClientStats(), Protocol_WriteStatsReliable(), and SV_SendServerinfo().
qfile_t* client_t::sv_demo_file |
demo recording
Definition at line 297 of file server.h.
Referenced by SV_SendServerinfo(), SV_StartDemoRecording(), SV_StopDemoRecording(), SV_WriteDemoMessage(), and SV_WriteNetnameIntoDemo().
sizebuf_t client_t::unreliablemsg |
Definition at line 281 of file server.h.
Referenced by SV_ConnectClient(), SV_FlushBroadcastMessages(), SV_SendClientDatagram(), and SV_WriteUnreliableMessages().
unsigned char client_t::unreliablemsg_data[NET_MAXMESSAGE] |
Definition at line 280 of file server.h.
Referenced by SV_ConnectClient().
int client_t::unreliablemsg_splitpoint[NET_MAXMESSAGE/16] |
Definition at line 283 of file server.h.
Referenced by SV_FlushBroadcastMessages(), and SV_WriteUnreliableMessages().
int client_t::unreliablemsg_splitpoints |
Definition at line 282 of file server.h.
Referenced by SV_FlushBroadcastMessages(), and SV_WriteUnreliableMessages().
float client_t::visibletime[MAX_EDICTS] |
char client_t::weaponmodel[MAX_QPATH] |
cache weaponmodel name lookups
Definition at line 266 of file server.h.
Referenced by SV_SendServerinfo(), and SV_WriteClientdataToMessage().
int client_t::weaponmodelindex |
Definition at line 267 of file server.h.
Referenced by SV_SendServerinfo(), and SV_WriteClientdataToMessage().