![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
Go to the source code of this file.
Data Structures | |
struct | client_t |
struct | csqcentityframedb_t |
struct | server_floodaddress_t |
struct | server_static_t |
struct | server_t |
Macros | |
#define | DAMAGE_AIM 2 |
#define | DAMAGE_NO 0 |
#define | DAMAGE_YES 1 |
#define | DEAD_DEAD 2 |
#define | DEAD_DYING 1 |
#define | DEAD_NO 0 |
#define | FL_CLIENT 8 |
#define | FL_CONVEYOR 4 |
#define | FL_FLY 1 |
#define | FL_GODMODE 64 |
#define | FL_INWATER 16 |
#define | FL_ITEM 256 |
#define | FL_JUMPRELEASED 4096 |
for jump debouncing | |
#define | FL_MONSTER 32 |
movement is smoothed on the client side by step based interpolation | |
#define | FL_NOTARGET 128 |
#define | FL_ONGROUND 512 |
#define | FL_PARTIALGROUND 1024 |
not all corners are valid | |
#define | FL_SWIM 2 |
#define | FL_WATERJUMP 2048 |
player jumping out of water | |
#define | MAX_CONNECTFLOODADDRESSES 16 |
#define | MAX_GETSTATUSFLOODADDRESSES 128 |
#define | MOVETYPE_ANGLECLIP 2 |
#define | MOVETYPE_ANGLENOCLIP 1 |
#define | MOVETYPE_BOUNCE 10 |
#define | MOVETYPE_BOUNCEMISSILE 11 |
bounce w/o gravity | |
#define | MOVETYPE_FAKEPUSH 13 |
tenebrae's push that doesn't push | |
#define | MOVETYPE_FLY 5 |
#define | MOVETYPE_FLY_WORLDONLY 33 |
like MOVETYPE_FLY, but uses MOVE_WORLDONLY for all its traces; objects of this movetype better be SOLID_NOT or SOLID_TRIGGER please, or else... | |
#define | MOVETYPE_FLYMISSILE 9 |
extra size to monsters | |
#define | MOVETYPE_FOLLOW 12 |
track movement of aiment | |
#define | MOVETYPE_NOCLIP 8 |
#define | MOVETYPE_NONE 0 |
never moves | |
#define | MOVETYPE_PHYSICS 32 |
indicates this object is physics controlled | |
#define | MOVETYPE_PUSH 7 |
no clip to world, push and crush | |
#define | MOVETYPE_STEP 4 |
gravity, special edge handling, special step based client side interpolation | |
#define | MOVETYPE_TOSS 6 |
gravity | |
#define | MOVETYPE_USER_FIRST 128 |
user defined movetypes | |
#define | MOVETYPE_USER_LAST 191 |
#define | MOVETYPE_WALK 3 |
gravity | |
#define | NUM_CSQCENTITIES_PER_FRAME 256 |
#define | NUM_CSQCENTITYDB_FRAMES 256 |
#define | NUM_SPAWN_PARMS 16 |
#define | SOLID_BBOX 2 |
touch on edge, block | |
#define | SOLID_BSP 4 |
bsp clip, touch on edge, block | |
#define | SOLID_CORPSE 5 |
same as SOLID_BBOX, except it behaves as SOLID_NOT against SOLID_SLIDEBOX objects (players/monsters) | |
#define | SOLID_NOT 0 |
no interaction with other objects | |
#define | SOLID_PHYSICS_BOX 32 |
physics object (mins, maxs, mass, origin, axis_forward, axis_left, axis_up, velocity, spinvelocity) | |
#define | SOLID_PHYSICS_CAPSULE 34 |
physics object (mins, maxs, mass, origin, axis_forward, axis_left, axis_up, velocity, spinvelocity) | |
#define | SOLID_PHYSICS_CYLINDER 36 |
physics object (mins, maxs, mass, origin, axis_forward, axis_left, axis_up, velocity, spinvelocity) | |
#define | SOLID_PHYSICS_SPHERE 33 |
physics object (mins, maxs, mass, origin, axis_forward, axis_left, axis_up, velocity, spinvelocity) | |
#define | SOLID_PHYSICS_TRIMESH 35 |
physics object (mins, maxs, mass, origin, axis_forward, axis_left, axis_up, velocity, spinvelocity) | |
#define | SOLID_SLIDEBOX 3 |
touch on edge, but not an onground | |
#define | SOLID_TRIGGER 1 |
touch on edge, but not blocking | |
#define | SPAWNFLAG_NOT_DEATHMATCH 2048 |
#define | SPAWNFLAG_NOT_EASY 256 |
#define | SPAWNFLAG_NOT_HARD 1024 |
#define | SPAWNFLAG_NOT_MEDIUM 512 |
#define | SV_LockThreadMutex() |
#define | SV_UnlockThreadMutex() |
Enumerations | |
enum | server_state_t { ss_loading , ss_active } |
#define DAMAGE_AIM 2 |
Definition at line 354 of file server.h.
Referenced by VM_SV_aim().
#define FL_FLY 1 |
Definition at line 357 of file server.h.
Referenced by CL_movestep(), SV_movestep(), SV_Physics_Step(), VM_CL_walkmove(), VM_SV_MoveToGoal(), and VM_SV_walkmove().
#define FL_GODMODE 64 |
Definition at line 363 of file server.h.
Referenced by SV_DisableCheats_c(), and SV_God_f().
#define FL_ITEM 256 |
Definition at line 365 of file server.h.
Referenced by SV_LinkEdict().
#define FL_MONSTER 32 |
movement is smoothed on the client side by step based interpolation
Definition at line 362 of file server.h.
Referenced by CL_GenericHitSuperContentsMask(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), SV_GenericHitSuperContentsMask(), SV_PrepareEntityForSending(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
#define FL_NOTARGET 128 |
Definition at line 364 of file server.h.
Referenced by SV_DisableCheats_c(), SV_Notarget_f(), and VM_SV_newcheckclient().
#define FL_ONGROUND 512 |
Definition at line 366 of file server.h.
Referenced by SV_FlyMove(), SV_Physics_Step(), SV_Physics_Toss(), SV_PlayerPhysics(), SV_PushEntity(), SV_PushMove(), SV_SetIdealPitch(), SV_WalkMove(), SV_WriteClientdataToMessage(), VM_CL_droptofloor(), VM_CL_walkmove(), VM_SV_droptofloor(), VM_SV_MoveToGoal(), and VM_SV_walkmove().
#define FL_PARTIALGROUND 1024 |
not all corners are valid
Definition at line 367 of file server.h.
Referenced by CL_movestep(), SV_FixCheckBottom(), and SV_movestep().
#define FL_SWIM 2 |
Definition at line 358 of file server.h.
Referenced by CL_movestep(), SV_movestep(), SV_Physics_Step(), VM_CL_walkmove(), VM_SV_MoveToGoal(), and VM_SV_walkmove().
#define FL_WATERJUMP 2048 |
player jumping out of water
Definition at line 368 of file server.h.
Referenced by SV_FlyMove(), SV_PlayerPhysics(), and SV_WalkMove().
#define MOVETYPE_BOUNCE 10 |
Definition at line 322 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), and SV_Physics_Toss().
#define MOVETYPE_BOUNCEMISSILE 11 |
bounce w/o gravity
Definition at line 323 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), and SV_Physics_Toss().
#define MOVETYPE_FAKEPUSH 13 |
tenebrae's push that doesn't push
Definition at line 325 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), and SV_PushMove().
#define MOVETYPE_FLY 5 |
Definition at line 317 of file server.h.
Referenced by SV_DisableCheats_c(), SV_Fly_f(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_Physics_Toss(), and SV_WalkMove().
#define MOVETYPE_FLY_WORLDONLY 33 |
like MOVETYPE_FLY, but uses MOVE_WORLDONLY for all its traces; objects of this movetype better be SOLID_NOT or SOLID_TRIGGER please, or else...
Definition at line 327 of file server.h.
Referenced by PHYS_TestEntityPosition(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PushEntity(), SV_PushMove(), and SV_WalkMove().
#define MOVETYPE_FLYMISSILE 9 |
extra size to monsters
Definition at line 321 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PushEntity(), and SV_WalkMove().
#define MOVETYPE_FOLLOW 12 |
track movement of aiment
Definition at line 324 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), and SV_PushMove().
#define MOVETYPE_NOCLIP 8 |
Definition at line 320 of file server.h.
Referenced by SV_AirMove(), SV_DisableCheats_c(), SV_Noclip_f(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PlayerPhysics(), and SV_PushMove().
#define MOVETYPE_NONE 0 |
never moves
Definition at line 312 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PlayerPhysics(), and SV_PushMove().
#define MOVETYPE_PHYSICS 32 |
indicates this object is physics controlled
Definition at line 326 of file server.h.
Referenced by SV_LinkEdict(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PushMove(), VM_physics_addforce(), VM_physics_addtorque(), and VM_physics_enable().
#define MOVETYPE_PUSH 7 |
no clip to world, push and crush
Definition at line 319 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PushMove(), and SV_SpawnServer().
#define MOVETYPE_STEP 4 |
gravity, special edge handling, special step based client side interpolation
Definition at line 316 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PrepareEntityForSending(), and SVVM_count_edicts().
#define MOVETYPE_TOSS 6 |
gravity
Definition at line 318 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), and SV_Physics_Toss().
#define MOVETYPE_USER_FIRST 128 |
user defined movetypes
Definition at line 328 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), and SV_Physics_Entity().
#define MOVETYPE_USER_LAST 191 |
Definition at line 329 of file server.h.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), and SV_Physics_Entity().
#define MOVETYPE_WALK 3 |
gravity
Definition at line 315 of file server.h.
Referenced by SV_AirMove(), SV_DisableCheats_c(), SV_ExecuteClientMoves(), SV_Fly_f(), SV_Noclip_f(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_Entity(), SV_PushMove(), and SV_WalkMove().
#define NUM_CSQCENTITIES_PER_FRAME 256 |
Definition at line 171 of file server.h.
Referenced by EntityFrameCSQC_WriteFrame().
#define NUM_CSQCENTITYDB_FRAMES 256 |
Definition at line 254 of file server.h.
Referenced by EntityFrameCSQC_AllocFrame(), EntityFrameCSQC_DeallocFrame(), EntityFrameCSQC_LostFrame(), and SV_SendServerinfo().
#define NUM_SPAWN_PARMS 16 |
Definition at line 180 of file server.h.
Referenced by SV_ConnectClient(), SV_Loadgame_f(), SV_Savegame_to(), SV_SaveSpawnparms(), SV_Spawn_f(), SV_SpawnServer(), and VM_SV_setspawnparms().
#define SOLID_BBOX 2 |
touch on edge, block
Definition at line 334 of file server.h.
Referenced by CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), R_DrawEntityBBoxes_Callback(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
#define SOLID_BSP 4 |
bsp clip, touch on edge, block
Definition at line 336 of file server.h.
Referenced by CL_Cache_TraceLineSurfaces(), CL_LinkEdict(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), CL_VM_Init(), R_DrawEntityBBoxes_Callback(), SV_CanSeeBox(), SV_LinkEdict(), SV_Physics_Toss(), SV_PointSuperContents(), SV_PushMove(), SV_SpawnServer(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
#define SOLID_CORPSE 5 |
same as SOLID_BBOX, except it behaves as SOLID_NOT against SOLID_SLIDEBOX objects (players/monsters)
Definition at line 338 of file server.h.
Referenced by CL_GenericHitSuperContentsMask(), CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), R_DrawEntityBBoxes_Callback(), SV_GenericHitSuperContentsMask(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
#define SOLID_NOT 0 |
no interaction with other objects
Definition at line 332 of file server.h.
Referenced by R_DrawEntityBBoxes_Callback(), SV_Impact(), SV_LinkEdict_TouchAreaGrid(), SV_PushEntity(), SV_PushMove(), SV_WalkMove(), VM_CL_findradius(), VM_SV_findradius(), and World_LinkEdict().
#define SOLID_PHYSICS_BOX 32 |
#define SOLID_PHYSICS_CAPSULE 34 |
#define SOLID_PHYSICS_CYLINDER 36 |
#define SOLID_PHYSICS_SPHERE 33 |
#define SOLID_PHYSICS_TRIMESH 35 |
#define SOLID_SLIDEBOX 3 |
touch on edge, but not an onground
Definition at line 335 of file server.h.
Referenced by CL_GenericHitSuperContentsMask(), R_DrawEntityBBoxes_Callback(), SV_GenericHitSuperContentsMask(), and SV_PushMove().
#define SOLID_TRIGGER 1 |
touch on edge, but not blocking
Definition at line 333 of file server.h.
Referenced by CL_GenericHitSuperContentsMask(), R_DrawEntityBBoxes_Callback(), SV_FlyMove(), SV_GenericHitSuperContentsMask(), SV_LinkEdict_TouchAreaGrid(), SV_PushEntity(), SV_PushMove(), and SV_WalkMove().
#define SPAWNFLAG_NOT_DEATHMATCH 2048 |
Definition at line 374 of file server.h.
Referenced by SVVM_load_edict().
#define SPAWNFLAG_NOT_EASY 256 |
Definition at line 371 of file server.h.
Referenced by SVVM_load_edict().
#define SPAWNFLAG_NOT_HARD 1024 |
Definition at line 373 of file server.h.
Referenced by SVVM_load_edict().
#define SPAWNFLAG_NOT_MEDIUM 512 |
Definition at line 372 of file server.h.
Referenced by SVVM_load_edict().
#define SV_LockThreadMutex | ( | ) |
Definition at line 606 of file server.h.
Referenced by Cbuf_Frame(), Crypto_KeyGen_f(), Crypto_KeyGen_Finished(), NetConn_OpenClientPorts(), NetConn_OpenServerPorts(), SV_Shutdown(), and SV_ThreadFunc().
#define SV_UnlockThreadMutex | ( | ) |
Definition at line 607 of file server.h.
Referenced by Cbuf_Frame(), Crypto_KeyGen_f(), Crypto_KeyGen_Finished(), NetConn_OpenClientPorts(), NetConn_OpenServerPorts(), SV_Shutdown(), and SV_ThreadFunc().
enum server_state_t |
Definition at line 893 of file sv_user.c.
References usercmd_t::applied, button0, button10, button11, button12, button13, button14, button15, button16, button2, button3, button4, button5, button6, button7, button8, button9, buttonchat, usercmd_t::buttons, buttonuse, client_t::cmd, cursor_active, usercmd_t::cursor_entitynumber, usercmd_t::cursor_impact, cursor_screen, usercmd_t::cursor_screen, usercmd_t::cursor_start, cursor_trace_endpos, cursor_trace_ent, cursor_trace_start, client_t::edict, float, usercmd_t::forwardmove, host_client, impulse, usercmd_t::impulse, netconn_t::incoming_netgraph, movement, client_t::movement_count, client_t::netconnection, NETGRAPH_LOSTPACKET, NETGRAPH_PACKETS, client_t::ping, ping, ping_movementloss, ping_packetloss, PRVM_EDICT_NUM, PRVM_EDICT_TO_PROG, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictvector, usercmd_t::receivetime, usercmd_t::sidemove, SVVM_prog, netgraphitem_t::unreliablebytes, usercmd_t::upmove, v_angle, VectorCopy, VectorSet, and usercmd_t::viewangles.
Referenced by SV_PlayerPhysics().
void SV_Begin_f | ( | cmd_state_t * | cmd | ) |
Definition at line 204 of file sv_user.c.
References client_t::begun, server_static_t::clients, Con_Print(), Con_Printf(), host_client, i, server_t::loadgame, server_static_t::maxclients, server_t::paused, client_t::spawned, sv, and svs.
Referenced by SV_InitOperatorCommands().
void SV_BroadcastPrint | ( | const char * | msg | ) |
Definition at line 91 of file sv_send.c.
References client_t::active, server_static_t::clients, Con_Print(), host_isclient, i, cvar_t::integer, server_static_t::maxclients, netconn_t::message, MSG_WriteByte(), MSG_WriteString(), client_t::netconnection, sv_echobprint, svc_print, and svs.
Referenced by SV_BroadcastPrintf(), and VM_bprint().
void SV_BroadcastPrintf | ( | const char * | fmt, |
... ) |
Definition at line 116 of file sv_send.c.
References dpvsnprintf(), MAX_INPUTLINE, and SV_BroadcastPrint().
Referenced by Cvar_SetQuick_Internal(), SV_DropClient(), SV_Frame(), SV_Name(), and SV_Pause_f().
qbool SV_CanSeeBox | ( | int | numsamples, |
vec_t | eyejitter, | ||
vec_t | enlarge, | ||
vec_t | entboxexpand, | ||
vec3_t | eye, | ||
vec3_t | entboxmins, | ||
vec3_t | entboxmaxs ) |
Definition at line 723 of file sv_send.c.
References alpha, angles, Con_Printf(), EF_ADDITIVE, effects, fabs(), cvar_t::integer, lhrandom, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_Invert_Simple(), Matrix4x4_Transform(), max, MAX_EDICTS, MAX_LINEOFSIGHTTRACES, min, model, origin, PRVM_serveredictfloat, PRVM_serveredictvector, solid, SOLID_BSP, sv, sv_cullentities_trace_entityocclusion, SV_EntitiesInBox(), SV_GetModelFromEdict(), SV_GetPitchSign(), SVVM_prog, VectorCopy, VectorMAM, VectorSet, and server_t::worldmodel.
Referenced by SV_MarkWriteEntityStateToClient(), and SV_WriteEntitiesToClient().
qbool SV_CheckBottom | ( | prvm_edict_t * | ent | ) |
Definition at line 36 of file sv_move.c.
References c_no, c_yes, collision_extendmovelength, trace_t::endpos, trace_t::fraction, maxs, mins, MOVE_NOMONSTERS, origin, PRVM_serveredictvector, SUPERCONTENTS_BODY, SUPERCONTENTS_SOLID, SV_GenericHitSuperContentsMask(), SV_PointSuperContents(), sv_stepheight, SV_TraceLine(), SVVM_prog, cvar_t::value, VectorAdd, x, and y.
Referenced by SV_movestep(), SV_NewChaseDir(), and VM_SV_checkbottom().
void SV_CheckVelocity | ( | prvm_edict_t * | ent | ) |
Definition at line 965 of file sv_phys.c.
References classname, Con_Printf(), DotProduct, i, origin, PRVM_GetString(), PRVM_NUM_FOR_EDICT, PRVM_serveredictstring, PRVM_serveredictvector, sqrt(), sv_maxvelocity, SVVM_prog, cvar_t::value, VectorClear, VectorLength2, velocity, and wishspeed.
Referenced by SV_Physics_ClientEntity(), SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientEntity_PreThink(), SV_Physics_ClientMove(), SV_Physics_Step(), SV_Physics_Toss(), SV_PlayerPhysics(), SV_Trace_Toss(), and SV_WalkMove().
void SV_ClientCommands | ( | const char * | fmt, |
... ) |
Definition at line 135 of file sv_send.c.
References dpvsnprintf(), host_client, MAX_INPUTLINE, netconn_t::message, MSG_WriteByte(), MSG_WriteString(), client_t::netconnection, and svc_stufftext.
Referenced by Curl_SendRequirements(), SV_Download_f(), SV_ReadClientMessage(), SV_SendCvar_f(), and VM_SV_stuffcmd().
void SV_ClientPrint | ( | const char * | msg | ) |
Definition at line 55 of file sv_send.c.
References host_client, netconn_t::message, MSG_WriteByte(), MSG_WriteString(), client_t::netconnection, and svc_print.
Referenced by SV_ClientPrintf(), SV_Fly_f(), SV_God_f(), SV_Kill_f(), SV_Noclip_f(), SV_Notarget_f(), SV_Say(), and SV_Tell_f().
void SV_ClientPrintf | ( | const char * | fmt, |
... ) |
Definition at line 72 of file sv_send.c.
References dpvsnprintf(), MAX_INPUTLINE, and SV_ClientPrint().
Referenced by Cmd_SV_Callback(), SV_Download_f(), SV_DropClient(), SV_Ent_Create_f(), SV_Ent_Remove_All_f(), SV_Ent_Remove_f(), SV_Name_f(), SV_Pause_f(), SV_Ping_f(), and SV_Status_f().
Definition at line 936 of file sv_main.c.
References client_t::active, netconn_t::address, sizebuf_t::allowoverflow, crypto_t::authenticated, client_t::begun, crypto_t::client_idfp, crypto_t::client_issigned, crypto_t::client_keyfp, server_static_t::clients, Con_DPrintf(), Con_Printf(), client_t::connecttime, netconn_t::crypto, crypto_keyfp_recommended_length, sizebuf_t::data, dp_strlcpy, client_t::edict, prvm_prog_t::ExecuteProgram, host, i, server_t::loadgame, sizebuf_t::maxsize, netconn_t::message, client_t::name, client_t::netconnection, NUM_SPAWN_PARMS, client_t::old_name, parm1, client_t::prespawned, PRVM_ED_ClearEdict(), PRVM_EDICT_NUM, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, client_t::rate, host_static_t::realtime, self, crypto_t::server_idfp, crypto_t::server_issigned, crypto_t::server_keyfp, client_t::spawn_parms, client_t::spawned, sv, SV_SendServerinfo(), svs, SVVM_prog, server_t::time, time, client_t::unreliablemsg, client_t::unreliablemsg_data, and crypto_t::use_aes.
Referenced by NetConn_ServerParsePacket(), and VM_SV_spawnclient().
Definition at line 1018 of file sv_main.c.
References server_t::active, buf, client_t::clientconnectcalled, server_static_t::clients, client_t::colors, Con_DPrintf(), Con_Printf(), client_t::download_expectedposition, client_t::download_file, client_t::download_name, client_t::download_started, dpvsnprintf(), client_t::edict, client_t::entitydatabase, client_t::entitydatabase4, client_t::entitydatabase5, EntityFrame4_FreeDatabase(), EntityFrame5_FreeDatabase(), EntityFrame_FreeDatabase(), prvm_prog_t::ExecuteProgram, client_t::frags, FS_Close(), host_client, i, server_t::loadgame, server_static_t::maxclients, MSG_WriteByte(), MSG_WriteShort(), MSG_WriteString(), client_t::name, NetConn_Close(), NetConn_Heartbeat(), NetConn_SendUnreliableMessage(), client_t::netconnection, NULL, server_t::paused, server_t::protocol, PROTOCOL_DARKPLACES8, PRVM_ED_ClearEdict(), PRVM_EDICT_NUM, PRVM_EDICT_TO_PROG, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, server_t::reliable_datagram, self, sv, SV_BroadcastPrintf(), SV_ClientPrintf(), SV_StopDemoRecording(), svc_disconnect, svc_updatecolors, svc_updatefrags, svc_updatename, svs, SVVM_prog, server_t::time, and time.
Referenced by SV_CheckTimeouts(), SV_Kick_f(), SV_ReadClientMessage(), SV_SendClientMessages(), SV_Shutdown(), Sys_Error(), and VM_SV_dropclient().
int SV_EntitiesInBox | ( | const vec3_t | mins, |
const vec3_t | maxs, | ||
int | maxedicts, | ||
prvm_edict_t ** | resultedicts ) |
Definition at line 673 of file sv_phys.c.
References absmax, absmin, BoxesOverlap, prvm_edict_t::free, cvar_t::integer, maxs, mins, NULL, prvm_prog_t::num_edicts, PRVM_EDICT_NUM, PRVM_serveredictvector, sv, sv_areadebug, SVVM_prog, VectorCopy, server_t::world, and World_EntitiesInBox().
Referenced by SV_CanSeeBox(), SV_LinkEdict_TouchAreaGrid(), SV_PointSuperContents(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), VM_SV_findbox(), and VM_SV_findradius().
Definition at line 1371 of file sv_send.c.
References client_t::begun, server_static_t::clients, sizebuf_t::cursize, sizebuf_t::data, server_t::datagram, i, server_static_t::maxclients, sizebuf_t::maxsize, client_t::netconnection, sv, svs, SZ_Clear(), SZ_Write(), client_t::unreliablemsg, client_t::unreliablemsg_splitpoint, and client_t::unreliablemsg_splitpoints.
Referenced by CLVM_ExecuteProgram(), SV_SendClientMessages(), SV_StartEffect(), SV_StartParticle(), SV_StartPointSound(), SV_StartSound(), SVVM_ExecuteProgram(), VM_SV_pointparticles(), VM_SV_te_beam(), VM_SV_te_blood(), VM_SV_te_bloodshower(), VM_SV_te_customflash(), VM_SV_te_explosion(), VM_SV_te_explosion2(), VM_SV_te_explosionquad(), VM_SV_te_explosionrgb(), VM_SV_te_flamejet(), VM_SV_te_gunshot(), VM_SV_te_gunshotquad(), VM_SV_te_knightspike(), VM_SV_te_lavasplash(), VM_SV_te_lightning1(), VM_SV_te_lightning2(), VM_SV_te_lightning3(), VM_SV_te_particlecube(), VM_SV_te_particlerain(), VM_SV_te_particlesnow(), VM_SV_te_plasmaburn(), VM_SV_te_smallflash(), VM_SV_te_spark(), VM_SV_te_spike(), VM_SV_te_spikequad(), VM_SV_te_superspike(), VM_SV_te_superspikequad(), VM_SV_te_tarexplosion(), VM_SV_te_teleport(), VM_SV_te_wizspike(), and VM_SV_trailparticles().
double SV_Frame | ( | double | time | ) |
Definition at line 2527 of file sv_main.c.
References server_t::active, ca_dedicated, server_static_t::clients, cls, CON_WARN, host_static_t::dirtytime, prvm_prog_t::ExecuteProgram, prvm_prog_t::fp, host_static_t::framecount, server_t::frametime, prvm_prog_t::globals, host, host_framerate, host_timescale, i, cvar_t::integer, server_static_t::maxclients, min, NetConn_Heartbeat(), NetConn_ServerFrame(), offset, OFS_PARM0, host_static_t::paused, server_t::paused, server_t::pausedstart, server_t::perf_acc_lost, server_t::perf_acc_offset, server_t::perf_acc_offset_max, server_t::perf_acc_offset_samples, server_t::perf_acc_offset_squared, server_t::perf_acc_realtime, server_t::perf_acc_sleeptime, server_t::perf_cpuload, server_t::perf_lost, server_t::perf_offset_avg, server_t::perf_offset_max, server_t::perf_offset_sdev, PRVM_serverfunction, PRVM_serverglobalfloat, R_TimeReport(), host_static_t::realtime, host_static_t::sleeptime, server_t::spawnframe, sqrt(), client_static_t::state, sv, SV_BroadcastPrintf(), SV_CheckTimeouts(), sv_lagreporting_always, sv_lagreporting_strict, sv_maxphysicsframesperserverframe, SV_Physics(), SV_SendClientMessages(), SV_TimingReport(), svs, SVVM_prog, Sys_DirtyTime(), sys_ticrate, server_static_t::threaded, server_t::time, time, and cvar_t::value.
Referenced by Host_Frame().
int SV_GenericHitSuperContentsMask | ( | const prvm_edict_t * | edict | ) |
calculates hitsupercontentsmask for a generic qc entity
Definition at line 73 of file sv_phys.c.
References dphitcontentsmask, FL_MONSTER, flags, int(), PRVM_serveredictfloat, solid, SOLID_CORPSE, SOLID_SLIDEBOX, SOLID_TRIGGER, SUPERCONTENTS_BODY, SUPERCONTENTS_CORPSE, SUPERCONTENTS_MONSTERCLIP, SUPERCONTENTS_PLAYERCLIP, SUPERCONTENTS_SOLID, and SVVM_prog.
Referenced by PHYS_NudgeOutOfSolid(), PHYS_TestEntityPosition(), SV_CheckBottom(), SV_movestep(), SV_NudgeOutOfSolid_PivotIsKnownGood(), SV_Physics_Step(), SV_PushEntity(), SV_PushMove(), SV_Trace_Toss(), SV_UserFriction(), SV_WalkMove(), VM_SV_tracebox(), and VM_SV_traceline().
void SV_GetEntityMatrix | ( | prvm_prog_t * | prog, |
prvm_edict_t * | ent, | ||
matrix4x4_t * | out, | ||
qbool | viewmatrix ) |
Definition at line 2518 of file svvm_cmds.c.
References angles, cl_viewmodel_scale, Matrix4x4_CreateFromQuakeEntity(), origin, PRVM_serveredictfloat, PRVM_serveredictvector, scale, SV_GetPitchSign(), v_angle, cvar_t::value, and view_ofs.
Referenced by getmatrix(), SV_Ent_Create_f(), SV_Ent_Remove_f(), and SV_GetTagMatrix().
Definition at line 1607 of file sv_main.c.
References MAX_MODELS, modelindex, server_t::models, NULL, and sv.
Referenced by EntityState5_WriteUpdate(), SV_GetTagIndex(), SV_GetTagMatrix(), SV_LinkEdict(), SV_MarkWriteEntityStateToClient(), SV_PrepareEntityForSending(), SV_PushMove(), VM_SV_frameduration(), VM_SV_frameforname(), VM_SV_setmodel(), VM_SV_setmodelindex(), VM_SV_skel_build(), and VM_SV_skel_create().
model_t * SV_GetModelFromEdict | ( | prvm_edict_t * | ed | ) |
Definition at line 1612 of file sv_main.c.
References prvm_edict_t::free, int(), MAX_MODELS, modelindex, server_t::models, NULL, PRVM_serveredictfloat, sv, and SVVM_prog.
Referenced by getmodel(), SV_CanSeeBox(), SV_GetEntityLocalTagMatrix(), SV_GetExtendedTagInfo(), SV_GetPitchSign(), SV_PointSuperContents(), SV_PushMove(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), VM_SV_gettagindex(), VM_SV_gettaginfo(), and VM_SV_setattachment().
int SV_GetPitchSign | ( | prvm_prog_t * | prog, |
prvm_edict_t * | ent ) |
Definition at line 47 of file sv_phys.c.
References effects, GAME_TENEBRAE, gamemode, mod_alias, model, pflags, PFLAGS_FULLDYNAMIC, PRVM_serveredictfloat, and SV_GetModelFromEdict().
Referenced by SV_CanSeeBox(), SV_GetEntityMatrix(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
Definition at line 504 of file sv_main.c.
References CF_CLIENT, CF_SERVER_FROM_CLIENT, CF_SHARED, Cmd_AddCommand(), coop, csqc_progcrc, csqc_progname, csqc_progsize, csqc_usedemoprogs, cutscene, Cvar_Callback(), Cvar_RegisterCallback(), Cvar_RegisterVariable(), Cvar_RegisterVirtual(), deathmatch, fraglimit, gamecfg, halflifebsp, host_static_t::hook, host, host_limitlocal, host_timescale, Host_Timescale_c(), Mem_AllocPool, nehx00, nehx01, nehx02, nehx03, nehx04, nehx05, nehx06, nehx07, nehx08, nehx09, nehx10, nehx11, nehx12, nehx13, nehx14, nehx15, nehx16, nehx17, nehx18, nehx19, noexit, nomonsters, NULL, pausable, pr_checkextension, samelevel, saved1, saved2, saved3, saved4, savedgamecfg, scratch1, scratch2, scratch3, scratch4, skill, sv_accelerate, sv_aim, sv_airaccel_qw, sv_airaccel_qw_stretchfactor, sv_airaccel_sideways_friction, sv_airaccelerate, sv_aircontrol, sv_aircontrol_penalty, sv_aircontrol_power, sv_airspeedlimit_nonqw, sv_airstopaccelerate, sv_airstrafeaccel_qw, sv_airstrafeaccelerate, sv_allowdownloads, sv_allowdownloads_archive, sv_allowdownloads_config, sv_allowdownloads_dlcache, sv_allowdownloads_inarchive, sv_areadebug, sv_areagrid_link_SOLID_NOT, sv_areagrid_mingridsize, SV_AreaStats_f(), sv_autodemo_perclient, sv_autodemo_perclient_discardable, sv_autodemo_perclient_nameformat, sv_checkforpacketsduringsleep, sv_clmovement_enable, sv_clmovement_inputtimeout, sv_clmovement_minping, sv_clmovement_minping_disabletime, sv_cullentities_nevercullbmodels, sv_cullentities_pvs, sv_cullentities_stats, sv_cullentities_trace, sv_cullentities_trace_delay, sv_cullentities_trace_delay_players, sv_cullentities_trace_enlarge, sv_cullentities_trace_entityocclusion, sv_cullentities_trace_expand, sv_cullentities_trace_eyejitter, sv_cullentities_trace_prediction, sv_cullentities_trace_prediction_time, sv_cullentities_trace_samples, sv_cullentities_trace_samples_extra, sv_cullentities_trace_samples_players, sv_cullentities_trace_spectators, sv_debugmove, sv_dedicated, sv_disablenotify, SV_Download_f(), sv_echobprint, sv_edgefriction, sv_entpatch, sv_freezenonclients, sv_friction, sv_gameplayfix_blowupfallenzombies, sv_gameplayfix_consistentplayerprethink, sv_gameplayfix_delayprojectiles, sv_gameplayfix_downtracesupportsongroundflag, sv_gameplayfix_droptofloorstartsolid, sv_gameplayfix_droptofloorstartsolid_nudgetocorrect, sv_gameplayfix_easierwaterjump, sv_gameplayfix_findradiusdistancetobox, sv_gameplayfix_fixedcheckwatertransition, sv_gameplayfix_gravityunaffectedbyticrate, sv_gameplayfix_grenadebouncedownslopes, sv_gameplayfix_impactbeforeonground, sv_gameplayfix_multiplethinksperframe, sv_gameplayfix_noairborncorpse, sv_gameplayfix_noairborncorpse_allowsuspendeditems, sv_gameplayfix_nogravityonground, sv_gameplayfix_nosquashentities, sv_gameplayfix_nostepmoveonsteepslopes, sv_gameplayfix_nudgeoutofsolid, sv_gameplayfix_nudgeoutofsolid_separation, sv_gameplayfix_q1bsptracelinereportstexture, sv_gameplayfix_q2airaccelerate, sv_gameplayfix_setmodelrealbox, sv_gameplayfix_slidemoveprojectiles, sv_gameplayfix_stepdown, sv_gameplayfix_stepmultipletimes, sv_gameplayfix_swiminbmodels, sv_gameplayfix_unstickentities, sv_gameplayfix_unstickplayers, sv_gameplayfix_upwardvelocityclearsongroundflag, sv_gravity, sv_idealpitchscale, sv_init_frame_count, SV_InitOperatorCommands(), sv_jumpstep, sv_jumpvelocity, sv_lagreporting_always, sv_lagreporting_strict, sv_legacy_bbox_expand, sv_mapformat_is_quake2, sv_mapformat_is_quake3, sv_maxairspeed, sv_maxairstrafespeed, sv_maxphysicsframesperserverframe, sv_maxrate, sv_maxspeed, sv_maxvelocity, sv_mempool, sv_netport, sv_nostep, sv_onlycsqcnetworking, sv_playerphysicsqc, sv_progs, sv_protocolname, sv_qcstats, sv_random_seed, sv_rollangle, sv_rollspeed, SV_SaveEntFile_f(), sv_sendentities_csqc_randomize_order, SV_ServerOptions(), host_static_t::SV_Shutdown, SV_Shutdown(), sv_sound_land, sv_sound_watersplash, SV_StartDownload_f(), sv_stepheight, sv_stopspeed, sv_threaded, sv_wallfriction, sv_warsowbunny_accel, sv_warsowbunny_airforwardaccel, sv_warsowbunny_backtosideratio, sv_warsowbunny_topspeed, sv_warsowbunny_turnaccel, sv_wateraccelerate, sv_waterfriction, sv_worldbasename, sv_worldmessage, sv_worldname, sv_worldnamenoextension, sv_writepicture_quality, sys_ticrate, teamplay, temp1, and timelimit.
Referenced by Host_Init().
Definition at line 1640 of file sv_ccmds.c.
References CF_CHEAT, CF_SERVER, CF_SERVER_FROM_CLIENT, CF_SHARED, CF_USERINFO, Cmd_AddCommand(), Cvar_RegisterCallback(), Cvar_RegisterVariable(), host_static_t::hook, host, sv_adminnick, SV_Begin_f(), SV_Changelevel_f(), sv_cheats, SV_Color_f(), SV_DisableCheats_c(), SV_Ent_Create_f(), SV_Ent_Remove_All_f(), SV_Ent_Remove_f(), SV_Fly_f(), SV_Give_f(), SV_God_f(), SV_Kick_f(), SV_Kill_f(), SV_Loadgame_f(), SV_Map_f(), SV_MaxPlayers_f(), SV_Name_f(), sv_namechangetimer, SV_Noclip_f(), SV_Notarget_f(), SV_Pause_f(), SV_Ping_f(), SV_Pings_f(), SV_Playermodel_f(), SV_Playerskin_f(), SV_PModel_f(), SV_PreSpawn_f(), SV_Rate_BurstSize_f(), SV_Rate_f(), SV_Restart_f(), SV_Savegame_f(), SV_Say_f(), SV_Say_Team_f(), host_static_t::SV_SendCvar, SV_SendCvar_f(), SV_Spawn_f(), SV_Status_f(), sv_status_privacy, sv_status_show_qcstatus, SV_Tell_f(), SV_Viewframe_f(), SV_Viewmodel_f(), SV_Viewnext_f(), and SV_Viewprev_f().
Referenced by SV_Init().
Definition at line 1783 of file sv_main.c.
References server_t::active, host_isclient, cvar_t::integer, server_static_t::maxclients, sv, and svs.
Referenced by SV_Savegame_f().
void SV_LinkEdict | ( | prvm_edict_t * | ent | ) |
Needs to be called any time an entity changes origin, mins, maxs, or solid sets ent->v.absmin and ent->v.absmax call TouchAreaGrid as well to fire triggers that overlap the box
Definition at line 804 of file sv_phys.c.
References absmax, absmin, angles, avelocity, Con_DPrintf(), Con_Printf(), prvm_prog_t::edicts, FL_ITEM, flags, prvm_edict_t::free, int(), cvar_t::integer, MAX_MODELS, maxs, mins, model, modelindex, movetype, MOVETYPE_PHYSICS, NULL, origin, prvm_edict_t::priv, PRVM_NUM_FOR_EDICT, PRVM_serveredictfloat, PRVM_serveredictvector, RotateBBox(), prvm_edict_t::server, solid, SOLID_BSP, sv, sv_areagrid_link_SOLID_NOT, SV_GetModelByIndex(), sv_legacy_bbox_expand, SVVM_prog, server_t::time, VectorAdd, VectorCopy, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), VM_UpdateEdictSkeleton(), server_t::world, and World_LinkEdict().
Referenced by PRVM_ED_LoadFromFile(), SetMinMaxSize(), SV_Ent_Create_f(), SV_Loadgame_f(), SV_movestep(), SV_Physics_ClientEntity(), SV_Physics_Entity(), SV_Physics_Follow(), SV_Physics_Step(), SV_PushEntity(), SV_PushMove(), SV_StepDirection(), SV_WalkMove(), SVVM_end_increase_edicts(), VM_nudgeoutofsolid(), VM_SV_copyentity(), VM_SV_droptofloor(), and VM_SV_setorigin().
void SV_LinkEdict_TouchAreaGrid | ( | prvm_edict_t * | ent | ) |
Definition at line 727 of file sv_phys.c.
References Con_Printf(), prvm_prog_t::edicts, prvm_edict_t::free, i, MAX_EDICTS, other, prvm_edict_t::priv, PRVM_serveredictfloat, PRVM_serveredictfunction, PRVM_serverglobaledict, self, prvm_edict_t::server, solid, SOLID_NOT, SOLID_TRIGGER, SV_EntitiesInBox(), SV_LinkEdict_TouchAreaGrid_Call(), and SVVM_prog.
Referenced by SV_movestep(), SV_Physics(), SV_Physics_ClientEntity(), SV_Physics_Entity(), SV_Physics_Step(), SV_PushEntity(), SV_PushMove(), SV_StepDirection(), and SV_WalkMove().
void SV_LinkEdict_TouchAreaGrid_Call | ( | prvm_edict_t * | touch, |
prvm_edict_t * | ent ) |
Definition at line 705 of file sv_phys.c.
References prvm_prog_t::ExecuteProgram, origin, other, PRVM_EDICT_TO_PROG, PRVM_serveredictfunction, PRVM_serveredictvector, PRVM_serverglobaledict, PRVM_serverglobalfloat, PRVM_serverglobalstring, PRVM_serverglobalvector, self, sv, SVVM_prog, server_t::time, time, trace_allsolid, trace_dphitcontents, trace_dphitq3surfaceflags, trace_dphittexturename, trace_dpstartcontents, trace_endpos, trace_ent, trace_fraction, trace_inopen, trace_inwater, trace_plane_dist, trace_plane_normal, trace_startsolid, VectorCopy, and VectorSet.
Referenced by SV_LinkEdict_TouchAreaGrid().
void SV_Loadgame_f | ( | cmd_state_t * | cmd | ) |
Definition at line 240 of file sv_save.c.
References server_t::active, BufStr_Del(), BufStr_FindCreateReplace(), BufStr_Flush(), BufStr_Set(), server_static_t::clients, cls, cmd(), Cmd_Argc(), Cmd_Argv(), COM_ParseToken_Simple(), com_token, CON_ERROR, Con_Print(), Con_Printf(), CON_WARN, host_static_t::ConnectLocal, prvm_prog_t::console_cmd, current_skill, Cvar_SetValueQuick(), Cvar_UpdateAllAutoCvars(), client_static_t::demonum, developer_entityparsing, host_static_t::Disconnect, dp_strlcpy, prvm_prog_t::entityfields, entnum, prvm_edict_t::fields, prvm_stringbuffer_t::flags, prvm_edict_t::fp, prvm_edict_t::free, FS_DefaultExtension(), FS_LoadFile(), host_static_t::hook, host, Host_Error(), i, int(), cvar_t::integer, server_t::lightstyles, server_t::loadgame, mapname, MAX_EDICTS, prvm_prog_t::max_edicts, MAX_LIGHTSTYLES, MAX_MODELS, MAX_QPATH, MAX_SOUNDS, Mem_ExpandableArray_IndexRange(), Mem_ExpandableArray_RecordAtIndex(), Mem_Free, Mod_ForName(), server_t::model_precache, server_t::models, NULL, prvm_prog_t::num_edicts, NUM_SPAWN_PARMS, server_t::paused, PRVM_ED_ParseEdict(), PRVM_ED_ParseGlobals(), PRVM_EDICT_NUM, PRVM_MEM_IncreaseEdicts(), SAVEGAME_VERSION, skill, server_t::sound_precache, STRINGBUFFER_SAVED, STRINGBUFFER_TEMP, prvm_prog_t::stringbuffersarray, sv, SV_LinkEdict(), SV_SpawnServer(), svs, SVVM_prog, tempmempool, server_t::time, time, host_static_t::ToggleMenu, version, server_t::world, World_UnlinkAll(), and server_t::worldname.
Referenced by SV_InitOperatorCommands().
void SV_MarkWriteEntityStateToClient | ( | entity_state_t * | s, |
client_t * | client ) |
Definition at line 863 of file sv_send.c.
References CHECKPVSBIT, server_static_t::clients, entity_state_t::customizeentityforclient, entity_state_t::drawonlytoclient, EF_NODEPTHTEST, EF_NODRAW, entity_state_t::effects, prvm_prog_t::ExecuteProgram, client_t::frags, host, i, cvar_t::integer, server_static_t::maxclients, model, entity_state_t::modelindex, entity_state_t::nodrawtoclient, NULL, entity_state_t::number, OFS_RETURN, other, prvm_edict_t::priv, server_t::protocol, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PRVM_EDICT_NUM, PRVM_G_FLOAT, PRVM_serverglobaledict, PRVM_serverglobalfloat, r_novis, r_trippy, host_static_t::realtime, samples, self, server_t::sendentitiesindex, server_t::sententities, server_t::sententitiesconsideration, server_t::sententitiesmark, prvm_edict_t::server, entity_state_t::specialvisibilityradius, sv, SV_CanSeeBox(), sv_cullentities_nevercullbmodels, sv_cullentities_pvs, sv_cullentities_trace, sv_cullentities_trace_delay, sv_cullentities_trace_delay_players, sv_cullentities_trace_enlarge, sv_cullentities_trace_expand, sv_cullentities_trace_eyejitter, sv_cullentities_trace_samples, sv_cullentities_trace_samples_extra, sv_cullentities_trace_samples_players, sv_cullentities_trace_spectators, SV_GetModelByIndex(), SV_MarkWriteEntityStateToClient(), SV_PrepareEntityForSending(), svs, SVVM_prog, entity_state_t::tagentity, server_t::time, time, cvar_t::value, entity_state_t::viewmodelforclient, server_t::worldmodel, server_t::writeentitiestoclient_cliententitynumber, server_t::writeentitiestoclient_clientnumber, server_t::writeentitiestoclient_eyes, server_t::writeentitiestoclient_numeyes, server_t::writeentitiestoclient_pvs, server_t::writeentitiestoclient_stats_culled_pvs, server_t::writeentitiestoclient_stats_culled_trace, server_t::writeentitiestoclient_stats_totalentities, and server_t::writeentitiestoclient_stats_visibleentities.
Referenced by SV_MarkWriteEntityStateToClient(), and SV_WriteEntitiesToClient().
Definition at line 1411 of file sv_main.c.
References Con_Printf(), dp_strlcpy, i, MAX_MODELS, MAX_QPATH, Mod_FindName(), Mod_ForName(), server_t::model_precache, server_t::models, MSG_WriteByte(), MSG_WriteShort(), MSG_WriteString(), NULL, server_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES5, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, server_t::reliable_datagram, ss_loading, server_t::state, sv, svc_precache, svs, server_static_t::threaded, and server_t::worldname.
Referenced by SV_CreateBaseline(), SV_WriteClientdataToMessage(), VM_SV_effect(), VM_SV_precache_model(), and VM_SV_setmodel().
Definition at line 109 of file sv_move.c.
References collision_extendmovelength, prvm_prog_t::edicts, trace_t::endpos, enemy, trace_t::ent, FL_FLY, FL_PARTIALGROUND, FL_SWIM, flags, trace_t::fraction, groundentity, i, int(), cvar_t::integer, maxs, mins, MOVE_NORMAL, plane_t::normal, origin, trace_t::plane, PRVM_EDICT_TO_PROG, PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictvector, trace_t::startsolid, SUPERCONTENTS_LIQUIDSMASK, SV_CheckBottom(), sv_gameplayfix_nostepmoveonsteepslopes, SV_GenericHitSuperContentsMask(), SV_LinkEdict(), SV_LinkEdict_TouchAreaGrid(), SV_PointSuperContents(), sv_stepheight, SV_TraceBox(), SVVM_prog, cvar_t::value, VectorAdd, and VectorCopy.
Referenced by SV_StepDirection(), and VM_SV_walkmove().
Definition at line 868 of file sv_ccmds.c.
References client_t::begun, dp_strlcpy, client_t::edict, host_client, MSG_WriteByte(), MSG_WriteString(), client_t::name, client_t::netconnection, netname, client_t::old_name, PRVM_serveredictstring, PRVM_SetEngineString(), server_t::reliable_datagram, sv, SV_BroadcastPrintf(), SV_WriteNetnameIntoDemo(), svc_updatename, and SVVM_prog.
Referenced by SV_Name_f(), and SV_UpdateToReliableMessages().
int SV_ParticleEffectIndex | ( | const char * | name | ) |
Definition at line 1522 of file sv_main.c.
References argv(), COM_ParseToken_Simple(), com_token, Con_Printf(), dp_strlcpy, dpsnprintf(), EFFECT_TOTAL, FS_LoadFile(), i, MAX_PARTICLEEFFECTNAME, MAX_QPATH, Mem_Free, name, server_t::particleeffectname, server_t::particleeffectnamesloaded, standardeffectnames, sv, tempmempool, and server_t::worldnamenoextension.
Referenced by VM_SV_particleeffectnum().
Definition at line 3013 of file sv_phys.c.
References server_static_t::clients, prvm_prog_t::edicts, prvm_prog_t::ExecuteProgram, force_retouch, frametime, server_t::frametime, prvm_edict_t::free, host_client, i, cvar_t::integer, max, server_static_t::maxclients, prvm_prog_t::num_edicts, other, PRVM_ED_CanAlloc(), PRVM_EDICT_NUM, PRVM_EDICT_TO_PROG, PRVM_GarbageCollection(), PRVM_NEXT_EDICT, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, self, sv, sv_freezenonclients, sv_gameplayfix_consistentplayerprethink, sv_gameplayfix_delayprojectiles, sv_gravity, SV_LinkEdict_TouchAreaGrid(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientEntity_PreThink(), SV_Physics_Entity(), svs, SVVM_prog, server_t::time, time, cvar_t::value, server_t::world, and World_Physics_Frame().
Referenced by SV_Frame(), SV_SpawnServer(), and SV_ThreadFunc().
Definition at line 2810 of file sv_phys.c.
References angles, client_t::edict, prvm_prog_t::ExecuteProgram, fixangle, client_t::fixangle_angles, client_t::fixangle_angles_set, frametime, server_t::frametime, host_client, PRVM_EDICT_TO_PROG, PRVM_serveredictfloat, PRVM_serveredictvector, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, self, sv, SV_CheckVelocity(), SV_Physics_ClientEntity_NoThink(), SV_PlayerPhysics(), SVVM_prog, server_t::time, time, and VectorCopy.
Referenced by SV_ExecuteClientMoves().
qbool SV_PlayerCheckGround | ( | prvm_edict_t * | ent | ) |
Definition at line 571 of file sv_user.c.
References angles, client_t::cmd, Com_CalcRoll(), DropPunchAngle(), client_t::edict, prvm_prog_t::ExecuteProgram, fixangle, FL_ONGROUND, FL_WATERJUMP, flags, health, host_client, int(), cvar_t::integer, movetype, MOVETYPE_NOCLIP, MOVETYPE_NONE, onground, PITCH, PRVM_EDICT_TO_PROG, PRVM_serveredictfloat, PRVM_serveredictvector, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, punchangle, ROLL, self, sv, SV_AirMove(), SV_ApplyClientMove(), SV_CheckVelocity(), SV_PlayerPhysics(), sv_playerphysicsqc, sv_rollangle, sv_rollspeed, SV_WaterJump(), SV_WaterMove(), SVVM_prog, server_t::time, time, usercmd, v_angle, cvar_t::value, VectorAdd, VectorCopy, velocity, waterlevel, and YAW.
Referenced by SV_Physics_ClientEntity_PreThink(), SV_Physics_ClientMove(), and SV_PlayerPhysics().
Definition at line 611 of file sv_phys.c.
References angles, bound, Con_Printf(), frame, i, int(), cvar_t::integer, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_Invert_Simple(), Matrix4x4_Transform(), MAX_EDICTS, model, origin, PRVM_serveredictfloat, PRVM_serveredictvector, solid, SOLID_BSP, sv, SV_EntitiesInBox(), sv_gameplayfix_swiminbmodels, SV_GetModelFromEdict(), SVVM_prog, and server_t::worldmodel.
Referenced by PHYS_TestEntityPosition(), SV_CheckBottom(), SV_CheckWater(), SV_CheckWaterTransition(), SV_movestep(), and VM_SV_pointcontents().
void SV_PreSpawn_f | ( | cmd_state_t * | cmd | ) |
Definition at line 36 of file sv_user.c.
References Con_Print(), sizebuf_t::cursize, sizebuf_t::data, host_client, netconn_t::message, MSG_WriteByte(), client_t::nametime, client_t::netconnection, client_t::prespawned, client_t::sendsignon, server_t::signon, sv, svc_signonnum, and SZ_Write().
Referenced by SV_InitOperatorCommands().
Definition at line 985 of file sv_user.c.
References client_t::active, sizebuf_t::badread, client_t::begun, clc_ackdownloaddata, clc_ackframe, clc_disconnect, clc_move, clc_nop, clc_stringcmd, Cmd_ExecuteString(), cmd_serverfromclient, Com_HexDumpToConsole(), Con_DPrintf(), Con_Print(), Con_Printf(), CRC_Block(), sizebuf_t::cursize, sizebuf_t::data, developer, developer_networkentities, developer_networking, client_t::download_expectedposition, client_t::download_file, client_t::download_name, client_t::download_started, client_t::edict, prvm_prog_t::ExecuteProgram, FS_Close(), FS_FileSize(), FS_Read(), FS_Seek(), host_client, i, int(), cvar_t::integer, client_t::latestframenum, Mem_Alloc, Mem_Free, netconn_t::message, MSG_ReadByte, MSG_ReadLong, MSG_ReadShort, MSG_ReadString(), MSG_ReadString_len(), client_t::name, client_t::netconnection, NULL, OFS_PARM0, server_t::protocol, PROTOCOL_DARKPLACES8, PRVM_EDICT_TO_PROG, PRVM_G_INT, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, PRVM_SetTempString(), sizebuf_t::readcount, self, client_t::sendsignon, size, src_client, strlen(), sv, sv_autodemo_perclient, SV_ClientCommands(), SV_DropClient(), SV_ExecuteClientMoves(), SV_FrameAck(), SV_FrameLost(), sv_message, sv_numreadmoves, SV_ReadClientMove(), sv_readstring, SV_WriteDemoMessage(), SVVM_prog, tempmempool, prvm_prog_t::tempstringsbuf, server_t::time, and time.
Referenced by NetConn_ServerParsePacket().
void SV_Savegame_f | ( | cmd_state_t * | cmd | ) |
Definition at line 188 of file sv_save.c.
References server_t::active, server_static_t::clients, cmd(), Cmd_Argc(), Cmd_Argv(), CON_ERROR, Con_Print(), CON_WARN, deadflag, dp_strlcpy, FS_DefaultExtension(), i, MAX_QPATH, server_static_t::maxclients, name, PRVM_serveredictfloat, PRVM_serverglobalfloat, sv, SV_IsLocalServer(), SV_Savegame_to(), svs, and SVVM_prog.
Referenced by SV_InitOperatorCommands().
void SV_Savegame_to | ( | prvm_prog_t * | prog, |
const char * | name ) |
Definition at line 35 of file sv_save.c.
References server_static_t::clients, CON_ERROR, Con_Print(), Con_Printf(), current_skill, dpsnprintf(), prvm_prog_t::edicts, f, prvm_stringbuffer_t::flags, FS_Close(), FS_OpenRealFile(), FS_Print(), FS_Printf(), host, i, int(), isserver(), ISWHITESPACEORCONTROL, killed_monsters, server_t::lightstyles, MAX_INPUTLINE, MAX_LIGHTSTYLES, MAX_MODELS, MAX_SOUNDS, Mem_ExpandableArray_IndexRange(), Mem_ExpandableArray_RecordAtIndex(), message, server_t::model_precache, name, prvm_prog_t::name, prvm_prog_t::num_edicts, NUM_SPAWN_PARMS, prvm_stringbuffer_t::num_strings, PRVM_ED_Write(), PRVM_ED_WriteGlobals(), PRVM_EDICT_NUM, PRVM_GetString(), PRVM_serveredictstring, PRVM_serverglobalfloat, host_static_t::realtime, SAVEGAME_COMMENT_LENGTH, SAVEGAME_VERSION, server_t::sound_precache, STRINGBUFFER_QCFLAGS, STRINGBUFFER_SAVED, prvm_prog_t::stringbuffersarray, prvm_stringbuffer_t::strings, sv, svs, SVVM_prog, server_t::time, total_monsters, and server_t::worldbasename.
Referenced by PRVM_Breakpoint(), PRVM_Crash(), and SV_Savegame_f().
Definition at line 1761 of file sv_main.c.
References client_t::active, server_static_t::clients, client_t::edict, prvm_prog_t::ExecuteProgram, host_client, i, int(), server_static_t::maxclients, NUM_SPAWN_PARMS, parm1, PRVM_EDICT_TO_PROG, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, self, server_static_t::serverflags, serverflags, client_t::spawn_parms, sv, svs, SVVM_prog, server_t::time, and time.
Referenced by SV_Changelevel_f().
Definition at line 1697 of file sv_send.c.
References client_t::active, server_static_t::clients, host_client, i, server_static_t::maxclients, netconn_t::message, client_t::netconnection, sizebuf_t::overflowed, server_t::protocol, PROTOCOL_QUAKEWORLD, sv, SV_CleanupEnts(), SV_DropClient(), SV_FlushBroadcastMessages(), SV_PrepareEntitiesForSending(), SV_SendClientDatagram(), SV_UpdateToReliableMessages(), svs, and Sys_Error().
Referenced by SV_Frame(), and SV_ThreadFunc().
Definition at line 749 of file sv_main.c.
References client_t::begun, buf, client_t::clientcamera, server_static_t::clients, client_t::cmd, Con_DPrintf(), coop, server_t::csqc_progcrc, server_static_t::csqc_progdata, server_t::csqc_progname, server_t::csqc_progsize, client_t::csqcentityframehistory, client_t::csqcentityframehistory_next, client_t::csqcentityscope, client_t::csqcentitysendflags, client_t::csqcnumedicts, Curl_SendRequirements(), sizebuf_t::data, deathmatch, dpsnprintf(), client_t::edict, prvm_prog_t::edicts, engineversion, client_t::entitydatabase, client_t::entitydatabase4, client_t::entitydatabase5, EntityFrame4_AllocDatabase(), EntityFrame4_FreeDatabase(), EntityFrame5_AllocDatabase(), EntityFrame5_FreeDatabase(), EntityFrame_AllocDatabase(), EntityFrame_FreeDatabase(), prvm_prog_t::filecrc, csqcentityframedb_t::framenum, GAME_COOP, GAME_DEATHMATCH, host, host_client, i, cvar_t::integer, client_t::latestframenum, LHNETADDRESS_ToString(), MakeDownloadPacket(), prvm_prog_t::max_edicts, MAX_MODELS, MAX_OSPATH, MAX_QPATH, MAX_SOUNDS, server_static_t::maxclients, sizebuf_t::maxsize, message, netconn_t::message, server_t::model_precache, client_t::movement_count, client_t::movement_highestsequence_seen, client_t::movesequence, MSG_WriteByte(), MSG_WriteLong(), MSG_WriteShort(), MSG_WriteString(), net_connecttimeout, NET_MAXMESSAGE, client_t::netconnection, NULL, csqcentityframedb_t::num, NUM_CSQCENTITYDB_FRAMES, netconn_t::peeraddress, client_t::ping, client_t::prespawned, server_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, Protocol_NumberForEnum(), PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PRVM_EDICT_NUM, PRVM_GetString(), PRVM_NUM_FOR_EDICT, PRVM_serveredictfloat, PRVM_serveredictstring, PRVM_serverglobalstring, host_static_t::realtime, client_t::sendsignon, server_t::sound_precache, sounds, client_t::spawned, client_t::stats, client_t::statsdeltabits, cvar_t::string, sv, sv_autodemo_perclient, sv_autodemo_perclient_nameformat, client_t::sv_demo_file, sv_mempool, SV_StartDemoRecording(), SV_StopDemoRecording(), SV_WriteDemoMessage(), svc_cdtrack, svc_print, svc_serverinfo, svc_setview, svc_signonnum, svc_stufftext, svs, SVVM_prog, Sys_TimeString(), SZ_Clear(), server_t::time, usercmd_t::time, netconn_t::timeout, va(), cvar_t::value, client_t::weaponmodel, client_t::weaponmodelindex, and server_t::worldbasename.
Referenced by NetConn_ServerParsePacket(), SV_ConnectClient(), and SV_SpawnServer().
Definition at line 239 of file sv_user.c.
References angles, collision_extendmovelength, cos(), dir, client_t::edict, FL_ONGROUND, flags, trace_t::fraction, host_client, i, idealpitch, M_PI, MAX_FORWARD, MOVE_NOMONSTERS, ON_EPSILON, origin, PRVM_serveredictfloat, PRVM_serveredictvector, sin(), trace_t::startsolid, SUPERCONTENTS_SOLID, sv_idealpitchscale, SV_TraceLine(), SVVM_prog, cvar_t::value, view_ofs, YAW, and z.
Referenced by SV_WriteClientdataToMessage().
Definition at line 2128 of file sv_main.c.
References client_t::active, server_t::active, server_static_t::clients, Con_DPrintf(), host_client, i, server_static_t::maxclients, NetConn_CloseServerPorts(), NetConn_Heartbeat(), sv, SV_DropClient(), SV_LockThreadMutex, SV_UnlockThreadMutex, SV_VM_Shutdown(), and svs.
Referenced by PRVM_Crash(), SV_Init(), SV_Map_f(), and SV_VM_Shutdown().
Definition at line 1474 of file sv_main.c.
References Con_Printf(), dp_strlcpy, i, MAX_QPATH, MAX_SOUNDS, MSG_WriteByte(), MSG_WriteShort(), MSG_WriteString(), server_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES5, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, server_t::reliable_datagram, server_t::sound_precache, ss_loading, server_t::state, sv, and svc_precache.
Referenced by SV_StartPointSound(), SV_StartSound(), VM_SV_ambientsound(), and VM_SV_precache_sound().
void SV_Spawn_f | ( | cmd_state_t * | cmd | ) |
Definition at line 62 of file sv_user.c.
References client_t::active, angles, client_t::clientconnectcalled, server_static_t::clients, client_t::colors, Con_DPrint(), Con_Print(), Con_Printf(), client_t::edict, prvm_prog_t::ExecuteProgram, found_secrets, client_t::frags, host_client, i, killed_monsters, server_t::lightstyles, server_t::loadgame, MAX_CL_STATS, MAX_LIGHTSTYLES, server_static_t::maxclients, netconn_t::message, MSG_WriteAngle(), MSG_WriteByte(), MSG_WriteFloat(), MSG_WriteLong(), MSG_WriteShort(), MSG_WriteString(), client_t::name, client_t::nametime, client_t::netconnection, NUM_SPAWN_PARMS, parm1, client_t::prespawned, server_t::protocol, PRVM_EDICT_TO_PROG, PRVM_serveredictvector, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, self, client_t::spawn_parms, client_t::spawned, STAT_MONSTERS, STAT_SECRETS, STAT_TOTALMONSTERS, STAT_TOTALSECRETS, sv, SV_WriteClientdataToMessage(), svc_lightstyle, svc_setangle, svc_signonnum, svc_time, svc_updatecolors, svc_updatefrags, svc_updatename, svc_updatestat, svs, SVVM_prog, server_t::time, time, total_monsters, total_secrets, and v_angle.
Referenced by SV_InitOperatorCommands().
void SV_SpawnServer | ( | const char * | map | ) |
Definition at line 1811 of file sv_main.c.
References absmax, absmin, client_t::active, server_t::active, prvm_prog_t::allowworldwrites, angles, client_t::begun, model_t::brush, buffer, server_static_t::changelevel_issued, client_t::clientconnectcalled, server_static_t::clients, cls, Collision_Cache_Reset(), CON_ERROR, Con_Printf(), CON_WARN, coop, Curl_ClearRequirements(), Curl_RequireFile(), current_skill, sizebuf_t::cursize, Cvar_SetQuick(), Cvar_SetValueQuick(), sizebuf_t::data, server_t::datagram, server_t::datagram_buf, deathmatch, developer, dp_strlcpy, dpsnprintf(), client_t::edict, prvm_prog_t::edicts, prvm_prog_t::entityfields, prvm_prog_t::ExecuteProgram, prvm_edict_t::fields, prvm_edict_t::fp, host_static_t::framecount, server_t::frametime, prvm_edict_t::free, FS_FileExists(), FS_LoadFile(), FS_StripExtension(), halflifebsp, host, host_client, host_isclient, hostname, i, prvm_prog_t::inittime, int(), cvar_t::integer, model_brush_t::ishlbsp, model_brush_t::isq2bsp, model_brush_t::isq3bsp, mapname, MAX_MODELS, server_static_t::maxclients, maxs, world_t::maxs, sizebuf_t::maxsize, Mem_Free, message, netconn_t::message, mins, world_t::mins, Mod_ClearUsed(), Mod_ForName(), Mod_FreeQ3Shaders(), Mod_PurgeUnused(), model, server_t::model_precache, modelindex, server_t::models, movetype, MOVETYPE_PUSH, MSG_WriteByte(), MSG_WriteString(), NetConn_Heartbeat(), NetConn_OpenServerPorts(), client_t::netconnection, NULL, NUM_SPAWN_PARMS, parm1, server_t::paused, server_t::protocol, Protocol_EnumForName(), Protocol_Names(), PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PROTOCOL_UNKNOWN, PRVM_ED_ClearEdict(), PRVM_ED_LoadFromFile(), PRVM_EDICT_NUM, PRVM_EDICT_TO_PROG, PRVM_GetString(), PRVM_serveredictfloat, PRVM_serveredictstring, PRVM_serveredictvector, PRVM_serverfunction, PRVM_serverglobaledict, PRVM_serverglobalfloat, PRVM_serverglobalstring, PRVM_SetEngineString(), host_static_t::realtime, server_t::reliable_datagram, server_t::reliable_datagram_buf, S_StopAllSounds(), SCR_BeginLoadingPlaque(), scr_centertime_off, self, server_static_t::serverflags, serverflags, client_static_t::signon, server_t::signon, server_t::signon_buf, skill, solid, SOLID_BSP, server_t::sound_precache, client_t::spawn_parms, server_t::spawnframe, ss_active, ss_loading, server_t::state, cvar_t::string, sv, SV_CreateBaseline(), sv_entpatch, sv_init_frame_count, sv_mapformat_is_quake2, sv_mapformat_is_quake3, SV_Physics(), sv_protocolname, sv_random_seed, SV_SendServerinfo(), SV_VM_Setup(), SV_VM_Shutdown(), sv_worldbasename, sv_worldmessage, sv_worldname, sv_worldnamenoextension, svc_stufftext, svs, SVVM_prog, Sys_MakeProcessMean(), Sys_MakeProcessNice(), tempmempool, server_t::time, time, model_t::TraceBox, model_t::used, va(), cvar_t::value, VectorClear, VectorCopy, server_t::world, World_SetSize(), World_Start(), server_t::worldbasename, server_t::worldmodel, server_t::worldname, and server_t::worldnamenoextension.
Referenced by SV_Changelevel_f(), SV_Loadgame_f(), SV_Map_f(), and SV_Restart_f().
Definition at line 182 of file sv_send.c.
References sizebuf_t::cursize, server_t::datagram, MAX_PACKETFRAGMENT, modelindex, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), server_t::protocol, sv, SV_FlushBroadcastMessages(), svc_effect, and svc_effect2.
Referenced by VM_SV_effect().
Definition at line 158 of file sv_send.c.
References bound, color, count, sizebuf_t::cursize, server_t::datagram, dir, i, MAX_PACKETFRAGMENT, MSG_WriteByte(), MSG_WriteChar(), MSG_WriteCoord(), server_t::protocol, sv, SV_FlushBroadcastMessages(), and svc_particle.
Referenced by VM_SV_particle().
void SV_StartPointSound | ( | vec3_t | origin, |
const char * | sample, | ||
int | volume, | ||
float | attenuation, | ||
float | speed ) |
Definition at line 320 of file sv_send.c.
References Con_Printf(), sizebuf_t::cursize, server_t::datagram, DEFAULT_SOUND_PACKET_ATTENUATION, DEFAULT_SOUND_PACKET_VOLUME, i, int(), MAX_PACKETFRAGMENT, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), origin, server_t::protocol, SND_ATTENUATION, SND_LARGESOUND, SND_SPEEDUSHORT4000, SND_VOLUME, sv, SV_FlushBroadcastMessages(), SV_SoundIndex(), and svc_sound.
Referenced by VM_SV_pointsound().
void SV_StartSound | ( | prvm_edict_t * | entity, |
int | channel, | ||
const char * | sample, | ||
int | volume, | ||
float | attenuation, | ||
qbool | reliable, | ||
float | speed ) |
Definition at line 228 of file sv_send.c.
References CHAN_ENGINE2NET, Con_Printf(), sizebuf_t::cursize, server_t::datagram, DEFAULT_SOUND_PACKET_ATTENUATION, DEFAULT_SOUND_PACKET_VOLUME, entity(), floor(), i, int(), IS_CHAN, MAX_PACKETFRAGMENT, maxs, mins, MSG_WriteByte(), MSG_WriteChar(), MSG_WriteCoord(), MSG_WriteShort(), origin, server_t::protocol, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PRVM_NUM_FOR_EDICT, PRVM_serveredictvector, server_t::reliable_datagram, SND_ATTENUATION, SND_LARGEENTITY, SND_LARGESOUND, SND_SPEEDUSHORT4000, SND_VOLUME, sv, SV_FlushBroadcastMessages(), SV_SoundIndex(), svc_sound, and SVVM_prog.
Referenced by SV_CheckWaterTransition(), SV_Physics_Step(), and VM_SV_sound().
Definition at line 2850 of file sv_main.c.
References cvar_t::integer, NULL, sv_threaded, SV_ThreadFunc(), svs, server_static_t::thread, Thread_CreateMutex, Thread_CreateThread, Thread_HasThreads(), server_static_t::threaded, server_static_t::threadmutex, and server_static_t::threadstop.
Referenced by Host_Init().
Definition at line 2860 of file sv_main.c.
References svs, server_static_t::thread, Thread_DestroyMutex, Thread_WaitThread, server_static_t::threaded, server_static_t::threadmutex, and server_static_t::threadstop.
Referenced by Host_Shutdown().
const char * SV_TimingReport | ( | char * | buf, |
size_t | buflen ) |
for output in SV_Status_f
Definition at line 2521 of file sv_main.c.
References buf, server_t::perf_cpuload, server_t::perf_lost, server_t::perf_offset_avg, server_t::perf_offset_max, server_t::perf_offset_sdev, sv, and va().
Referenced by SV_Frame(), SV_Status_f(), and SV_ThreadFunc().
trace_t SV_TraceBox | ( | const vec3_t | start, |
const vec3_t | mins, | ||
const vec3_t | maxs, | ||
const vec3_t | end, | ||
int | type, | ||
prvm_edict_t * | passedict, | ||
int | hitsupercontentsmask, | ||
int | skipsupercontentsmask, | ||
int | skipmaterialflagsmask, | ||
float | extend ) |
traces a box move against worldmodel and all entities in the specified area
Definition at line 414 of file sv_phys.c.
References angles, trace_t::bmodelstartsolid, clipgroup, Collision_ClipToGenericEntity(), Collision_ClipToWorld(), Collision_CombineTraces(), Con_Printf(), prvm_prog_t::edicts, trace_t::endpos, trace_t::ent, FL_MONSTER, flags, trace_t::fraction, i, int(), cvar_t::integer, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_CreateTranslate(), Matrix4x4_Invert_Simple(), max, MAX_EDICTS, maxs, min, mins, model, MOVE_HITMODEL, MOVE_MISSILE, MOVE_NOMONSTERS, MOVE_WORLDONLY, NULL, origin, owner, prvm_edict_t::priv, PRVM_EDICT_TO_PROG, PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictvector, prvm_edict_t::server, solid, SOLID_BBOX, SOLID_BSP, SOLID_CORPSE, trace_t::startsolid, SUPERCONTENTS_BODY, SUPERCONTENTS_CORPSE, sv, sv_debugmove, SV_EntitiesInBox(), SV_GetModelFromEdict(), SV_GetPitchSign(), SV_TraceLine(), SV_TracePoint(), SVVM_prog, server_t::time, type, VectorAdd, VectorCompare, VectorCopy, VectorSubtract, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), VM_UpdateEdictSkeleton(), server_t::worldmodel, and trace_t::worldstartsolid.
Referenced by PHYS_TraceBox(), SV_movestep(), SV_NudgeOutOfSolid_PivotIsKnownGood(), SV_PushEntity(), SV_Trace_Toss(), SV_WalkMove(), VM_SV_droptofloor(), and VM_SV_tracebox().
trace_t SV_TraceLine | ( | const vec3_t | start, |
const vec3_t | end, | ||
int | type, | ||
prvm_edict_t * | passedict, | ||
int | hitsupercontentsmask, | ||
int | skipsupercontentsmask, | ||
int | skipmaterialflagsmask, | ||
float | extend ) |
Definition at line 256 of file sv_phys.c.
References angles, trace_t::bmodelstartsolid, clipgroup, Collision_ClipLineToGenericEntity(), Collision_ClipLineToWorld(), Collision_ClipToGenericEntity(), Collision_CombineTraces(), Con_Printf(), prvm_prog_t::edicts, trace_t::endpos, trace_t::ent, FL_MONSTER, flags, trace_t::fraction, i, int(), cvar_t::integer, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_CreateTranslate(), Matrix4x4_Invert_Simple(), max, MAX_EDICTS, maxs, min, mins, model, MOVE_HITMODEL, MOVE_MISSILE, MOVE_NOMONSTERS, MOVE_WORLDONLY, NULL, origin, owner, prvm_edict_t::priv, PRVM_EDICT_TO_PROG, PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictvector, prvm_edict_t::server, solid, SOLID_BBOX, SOLID_BSP, SOLID_CORPSE, trace_t::startsolid, SUPERCONTENTS_BODY, SUPERCONTENTS_CORPSE, sv, sv_debugmove, SV_EntitiesInBox(), SV_GetModelFromEdict(), SV_GetPitchSign(), SV_TracePoint(), SVVM_prog, server_t::time, type, VectorClear, VectorCompare, VectorCopy, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), VM_UpdateEdictSkeleton(), server_t::worldmodel, and trace_t::worldstartsolid.
Referenced by Sbar_ShowFPS(), SV_CheckBottom(), SV_Ent_Create_f(), SV_Ent_Remove_f(), SV_SetIdealPitch(), SV_TraceBox(), SV_UserFriction(), VM_SV_aim(), VM_SV_droptofloor(), and VM_SV_traceline().
trace_t SV_TracePoint | ( | const vec3_t | start, |
int | type, | ||
prvm_edict_t * | passedict, | ||
int | hitsupercontentsmask, | ||
int | skipsupercontentsmask, | ||
int | skipmaterialflagsmask ) |
Definition at line 104 of file sv_phys.c.
References angles, trace_t::bmodelstartsolid, clipgroup, Collision_ClipPointToGenericEntity(), Collision_ClipPointToWorld(), Collision_ClipToGenericEntity(), Collision_CombineTraces(), Con_Printf(), prvm_prog_t::edicts, trace_t::endpos, trace_t::ent, FL_MONSTER, flags, trace_t::fraction, i, int(), cvar_t::integer, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_CreateTranslate(), Matrix4x4_Invert_Simple(), max, MAX_EDICTS, maxs, min, mins, model, MOVE_HITMODEL, MOVE_MISSILE, MOVE_NOMONSTERS, MOVE_WORLDONLY, NULL, origin, owner, prvm_edict_t::priv, PRVM_EDICT_TO_PROG, PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictvector, prvm_edict_t::server, solid, SOLID_BBOX, SOLID_BSP, SOLID_CORPSE, trace_t::startsolid, SUPERCONTENTS_BODY, SUPERCONTENTS_CORPSE, sv, sv_debugmove, SV_EntitiesInBox(), SV_GetModelFromEdict(), SV_GetPitchSign(), SVVM_prog, server_t::time, type, VectorClear, VectorCompare, VectorCopy, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), VM_UpdateEdictSkeleton(), server_t::worldmodel, and trace_t::worldstartsolid.
Referenced by SV_TraceBox(), and SV_TraceLine().
qbool SV_VM_ConsoleCommand | ( | const char * | text, |
size_t | textlen ) |
Definition at line 2927 of file svvm_cmds.c.
References prvm_prog_t::funcoffsets, world_t::prog, PRVM_ConsoleCommand(), PRVM_EDICT_TO_PROG, sv, SVVM_prog, server_t::time, and server_t::world.
Referenced by Cmd_CL_Callback(), and Cmd_SV_Callback().
void SV_WriteClientdataToMessage | ( | client_t * | client, |
prvm_edict_t * | ent, | ||
sizebuf_t * | msg, | ||
int * | stats ) |
Definition at line 1091 of file sv_send.c.
References ammo_cells, ammo_nails, ammo_rockets, ammo_shells, angles, armorvalue, bound, currentammo, DEFAULT_VIEWHEIGHT, dmg_inflictor, dmg_save, dmg_take, dp_strlcpy, fixangle, client_t::fixangle_angles, client_t::fixangle_angles_set, FL_ONGROUND, flags, fraglimit, GAME_HIPNOTIC, GAME_QUOTH, GAME_ROGUE, gamemode, health, host_client, host_timescale, i, idealpitch, int(), cvar_t::integer, IS_OLDNEXUIZ_DERIVED, items, MAX_CL_STATS, maxs, mins, MOVEFLAG_GRAVITYUNAFFECTEDBYTICRATE, MOVEFLAG_NOGRAVITYONGROUND, MOVEFLAG_Q2AIRACCELERATE, MOVEFLAG_VALID, MSG_WriteAngle(), MSG_WriteAngle16i(), MSG_WriteByte(), MSG_WriteChar(), MSG_WriteCoord(), MSG_WriteCoord16i(), MSG_WriteCoord32f(), MSG_WriteLong(), MSG_WriteShort(), origin, other, server_t::protocol, PROTOCOL_DARKPLACES1, PROTOCOL_DARKPLACES2, PROTOCOL_DARKPLACES3, PROTOCOL_DARKPLACES4, PROTOCOL_DARKPLACES5, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PROTOCOL_NEHAHRAMOVIE, PROTOCOL_QUAKE, PROTOCOL_QUAKEDP, PRVM_GetString(), PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictstring, PRVM_serveredictvector, PRVM_serverglobalfloat, punchangle, punchvector, serverflags, STAT_ACTIVEWEAPON, STAT_AMMO, STAT_ARMOR, STAT_CELLS, STAT_FRAGLIMIT, STAT_HEALTH, STAT_ITEMS, STAT_MOVEFLAGS, STAT_MOVEVARS_ACCELERATE, STAT_MOVEVARS_AIRACCEL_QW, STAT_MOVEVARS_AIRACCEL_QW_STRETCHFACTOR, STAT_MOVEVARS_AIRACCEL_SIDEWAYS_FRICTION, STAT_MOVEVARS_AIRACCELERATE, STAT_MOVEVARS_AIRCONTROL, STAT_MOVEVARS_AIRCONTROL_PENALTY, STAT_MOVEVARS_AIRCONTROL_POWER, STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW, STAT_MOVEVARS_AIRSTOPACCELERATE, STAT_MOVEVARS_AIRSTRAFEACCEL_QW, STAT_MOVEVARS_AIRSTRAFEACCELERATE, STAT_MOVEVARS_EDGEFRICTION, STAT_MOVEVARS_ENTGRAVITY, STAT_MOVEVARS_FRICTION, STAT_MOVEVARS_GRAVITY, STAT_MOVEVARS_JUMPVELOCITY, STAT_MOVEVARS_MAXAIRSPEED, STAT_MOVEVARS_MAXAIRSTRAFESPEED, STAT_MOVEVARS_MAXSPEED, STAT_MOVEVARS_SPECTATORMAXSPEED, STAT_MOVEVARS_STEPHEIGHT, STAT_MOVEVARS_STOPSPEED, STAT_MOVEVARS_TICRATE, STAT_MOVEVARS_TIMESCALE, STAT_MOVEVARS_WARSOWBUNNY_ACCEL, STAT_MOVEVARS_WARSOWBUNNY_AIRFORWARDACCEL, STAT_MOVEVARS_WARSOWBUNNY_BACKTOSIDERATIO, STAT_MOVEVARS_WARSOWBUNNY_TOPSPEED, STAT_MOVEVARS_WARSOWBUNNY_TURNACCEL, STAT_MOVEVARS_WATERACCELERATE, STAT_MOVEVARS_WATERFRICTION, STAT_NAILS, STAT_ROCKETS, STAT_SHELLS, STAT_TIMELIMIT, STAT_TOTALMONSTERS, STAT_TOTALSECRETS, STAT_VIEWHEIGHT, STAT_VIEWZOOM, STAT_WEAPON, STAT_WEAPONFRAME, SU_ARMOR, SU_EXTEND1, SU_EXTEND2, SU_IDEALPITCH, SU_INWATER, SU_ITEMS, SU_ONGROUND, SU_PUNCH1, SU_PUNCHVEC1, SU_VELOCITY1, SU_VIEWHEIGHT, SU_VIEWZOOM, SU_WEAPON, SU_WEAPONFRAME, sv, sv_accelerate, sv_airaccel_qw, sv_airaccel_qw_stretchfactor, sv_airaccel_sideways_friction, sv_airaccelerate, sv_aircontrol, sv_aircontrol_penalty, sv_aircontrol_power, sv_airspeedlimit_nonqw, sv_airstopaccelerate, sv_airstrafeaccel_qw, sv_airstrafeaccelerate, sv_edgefriction, sv_friction, sv_gameplayfix_gravityunaffectedbyticrate, sv_gameplayfix_nogravityonground, sv_gameplayfix_q2airaccelerate, sv_gravity, sv_jumpvelocity, sv_maxairspeed, sv_maxairstrafespeed, sv_maxspeed, SV_ModelIndex(), sv_qcstats, SV_SetIdealPitch(), sv_stepheight, sv_stopspeed, sv_warsowbunny_accel, sv_warsowbunny_airforwardaccel, sv_warsowbunny_backtosideratio, sv_warsowbunny_topspeed, sv_warsowbunny_turnaccel, sv_wateraccelerate, sv_waterfriction, svc_clientdata, svc_damage, svc_setangle, SVVM_prog, sys_ticrate, timelimit, total_monsters, total_secrets, cvar_t::value, VectorCopy, velocity, view_ofs, viewzoom, waterlevel, weapon, weaponframe, client_t::weaponmodel, weaponmodel, and client_t::weaponmodelindex.
Referenced by SV_SendClientDatagram(), and SV_Spawn_f().
void SV_WriteEntitiesToClient | ( | client_t * | client, |
prvm_edict_t * | clent, | ||
sizebuf_t * | msg, | ||
int | maxsize ) |
Definition at line 337 of file sv_ents.c.
References entity_state_t::active, ACTIVE_NETWORK, ACTIVE_SHARED, bound, client_t::clientcamera, server_static_t::clients, Con_Printf(), sizebuf_t::cursize, client_t::entitydatabase, client_t::entitydatabase4, client_t::entitydatabase5, EntityFrame4_WriteFrame(), EntityFrame5_WriteFrame(), EntityFrame_WriteFrame(), EntityFrameCSQC_WriteFrame(), EntityFrameQuake_WriteFrame(), entity_state_t::exteriormodelforclient, entity_state_t::flags, host_client, i, cvar_t::integer, client_t::lastmovesequence, entityframe5_database_t::latestframenum, client_t::movesequence, client_t::name, NULL, client_t::num_skippedentityframes, entity_state_t::number, server_t::numsendentities, origin, client_t::ping, Protocol_WriteStatsReliable(), PRVM_EDICT_NUM, PRVM_EDICT_TO_PROG, PRVM_serveredictvector, RENDER_EXTERIORMODEL, server_t::sendentities, server_t::sententities, server_t::sententitiesmark, sv, SV_AddCameraEyes(), SV_CanSeeBox(), sv_cullentities_stats, sv_cullentities_trace_prediction, sv_cullentities_trace_prediction_time, SV_MarkWriteEntityStateToClient(), sv_mempool, svs, SVVM_prog, cvar_t::value, VectorAdd, VectorCopy, VectorMA, velocity, view_ofs, server_t::worldmodel, server_t::writeentitiestoclient_cliententitynumber, server_t::writeentitiestoclient_clientnumber, server_t::writeentitiestoclient_csqcsendstates, server_t::writeentitiestoclient_eyes, server_t::writeentitiestoclient_msg, server_t::writeentitiestoclient_numeyes, server_t::writeentitiestoclient_pvs, server_t::writeentitiestoclient_sendstates, server_t::writeentitiestoclient_stats_culled_pvs, server_t::writeentitiestoclient_stats_culled_trace, server_t::writeentitiestoclient_stats_totalentities, and server_t::writeentitiestoclient_stats_visibleentities.
Referenced by SV_SendClientDatagram().
Definition at line 1717 of file svvm_cmds.c.
References vm_customstats, and vm_customstats_last.
Referenced by SV_VM_Setup().
void VM_SV_MoveToGoal | ( | prvm_prog_t * | prog | ) |
Definition at line 420 of file sv_move.c.
References prvm_prog_t::edicts, enemy, FL_FLY, FL_ONGROUND, FL_SWIM, flags, goalentity, ideal_yaw, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serverglobaledict, self, SV_CloseEnough(), SV_NewChaseDir(), SV_StepDirection(), VM_SAFEPARMCOUNT, and VM_SV_MoveToGoal().
Referenced by VM_SV_MoveToGoal().
void VM_SV_UpdateCustomStats | ( | client_t * | client, |
prvm_edict_t * | ent, | ||
sizebuf_t * | msg, | ||
int * | stats ) |
Definition at line 1723 of file svvm_cmds.c.
References dp_strlcpy, f, i, int(), MIN_VM_STAT, PRVM_E_FLOAT, PRVM_E_STRING, SVVM_prog, type, vm_customstats, and vm_customstats_last.
Referenced by SV_SendClientDatagram().
|
extern |
Definition at line 30 of file progsdefs.qc.
Referenced by CL_VM_UpdateCoopDeathmatchGlobals(), M_GameOptions_Draw(), M_NetStart_Change(), SV_Init(), SV_SendServerinfo(), SV_ServerOptions(), SV_SpawnServer(), and SV_VM_Setup().
|
extern |
Definition at line 29 of file progsdefs.qc.
Referenced by CL_VM_UpdateCoopDeathmatchGlobals(), M_GameOptions_Draw(), M_NetStart_Change(), SV_Init(), SV_MaxPlayers_f(), SV_SendServerinfo(), SV_ServerOptions(), SV_SpawnServer(), SV_VM_Setup(), and SVVM_load_edict().
|
extern |
Definition at line 45 of file sv_main.c.
Referenced by M_GameOptions_Draw(), M_NetStart_Change(), SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
|
extern |
Definition at line 29 of file sv_main.c.
Referenced by Cmd_ExecuteString(), Download_CheckExtensions(), DropPunchAngle(), EntityFrame5_LostFrame(), EntityFrame5_WriteFrame(), NetConn_ServerParsePacket(), Protocol_UpdateClientStats(), Protocol_WriteStatsReliable(), RCon_Execute(), SV_Accelerate(), SV_AirAccelerate(), SV_AirMove(), SV_ApplyClientMove(), SV_Begin_f(), SV_CheckTimeouts(), SV_ClientCommands(), SV_ClientPrint(), SV_Color_f(), SV_Download_f(), SV_DropClient(), SV_Ent_Create_f(), SV_Ent_Remove_f(), SV_ExecuteClientMoves(), SV_Fly_f(), SV_FrameAck(), SV_FrameLost(), SV_Give_f(), SV_God_f(), SV_Kick_f(), SV_Kill_f(), SV_Name(), SV_Name_f(), SV_Noclip_f(), SV_Notarget_f(), SV_Pause_f(), SV_Physics(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientEntity_PreThink(), SV_Physics_ClientMove(), SV_Pings_f(), SV_Playermodel_f(), SV_PlayerPhysics(), SV_Playerskin_f(), SV_PModel_f(), SV_PreSpawn_f(), SV_Rate_BurstSize_f(), SV_Rate_f(), SV_ReadClientMessage(), SV_ReadClientMove(), SV_SaveSpawnparms(), SV_Say(), SV_SendClientDatagram(), SV_SendClientMessages(), SV_SendCvar_f(), SV_SendServerinfo(), SV_SetIdealPitch(), SV_Shutdown(), SV_Spawn_f(), SV_SpawnServer(), SV_StartDownload_f(), SV_Status_f(), SV_Tell_f(), SV_ThreadFunc(), SV_UpdateToReliableMessages(), SV_UserFriction(), SV_WaterJump(), SV_WaterMove(), SV_WriteClientdataToMessage(), SV_WriteEntitiesToClient(), Sys_Error(), VM_SV_clientcommand(), VM_SV_dropclient(), and VM_SV_stuffcmd().
|
extern |
Definition at line 150 of file sv_main.c.
Referenced by SV_Init(), and SV_SendClientDatagram().
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 49 of file sv_main.c.
Referenced by SV_Init(), and SV_Pause_f().
|
extern |
Definition at line 50 of file sv_main.c.
Referenced by SV_Init().
|
extern |
|
extern |
Definition at line 178 of file sv_main.c.
Referenced by SV_Init().
|
extern |
Definition at line 179 of file sv_main.c.
Referenced by SV_Init().
|
extern |
Definition at line 180 of file sv_main.c.
Referenced by SV_Init().
|
extern |
Definition at line 181 of file sv_main.c.
Referenced by SV_Init().
|
extern |
Definition at line 182 of file sv_main.c.
Referenced by SV_Init().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 52 of file sv_main.c.
Referenced by M_GameOptions_Draw(), M_NetStart_Change(), SV_Init(), SV_Loadgame_f(), and SV_SpawnServer().
|
extern |
local server
Definition at line 223 of file sv_main.c.
Referenced by CL_BeginDownloads(), CL_KeepaliveMessage(), CL_ParseServerInfo(), CL_Startdemos_f(), Cvar_SetQuick_Internal(), DropPunchAngle(), droptofloor_bsp_failcond(), EntityFrame5_WriteFrame(), EntityFrameCSQC_WriteFrame(), EntityFrameQuake_WriteFrame(), EntityState5_WriteUpdate(), EntityState_WriteFields(), FS_GameDir_f(), Host_Frame(), Host_Init(), M_GameOptions_Key(), M_Main_Key(), M_Menu_Main_f(), M_Menu_Save_f(), M_SinglePlayer_Key(), M_Transfusion_Skill_Key(), ModList_Enable(), Net_Heartbeat_f(), NetConn_BuildStatusResponse(), NetConn_ClientFrame(), NetConn_Close(), NetConn_Heartbeat(), NetConn_IsLocalGame(), NetConn_ServerParsePacket(), NetConn_sv_netport_Callback(), PHYS_NudgeOutOfSolid(), PHYS_TestEntityPosition(), PrintStats(), Protocol_WriteStatsReliable(), PRVM_ED_CallPostspawnFunction(), PRVM_ED_CallPrespawnFunction(), PRVM_ED_CallSpawnFunction(), PRVM_GarbageCollection(), QW_CL_RequestNextDownload(), R_DrawDebugModel(), Sbar_ShowFPS(), SCR_DrawNetGraph(), SCR_SetUpToDrawConsole(), SV_Accelerate(), SV_AirAccelerate(), SV_AirMove(), SV_AreaStats_f(), SV_Begin_f(), SV_CanSeeBox(), SV_Changelevel_f(), SV_CheckContentsTransition(), SV_Color_f(), SV_ConnectClient(), SV_CreateBaseline(), SV_Download_f(), SV_DropClient(), SV_EntitiesInBox(), SV_ExecuteClientMoves(), SV_FlushBroadcastMessages(), SV_Frame(), SV_GetEntityLocalTagMatrix(), SV_GetModelByIndex(), SV_GetModelFromEdict(), SV_GetTagMatrix(), SV_Gravity(), SV_Impact(), SV_IsLocalServer(), SV_Kick_f(), SV_Kill_f(), SV_LinkEdict(), SV_LinkEdict_TouchAreaGrid_Call(), SV_Loadgame_f(), SV_Map_f(), SV_MarkWriteEntityStateToClient(), SV_MaxPlayers_f(), SV_ModelIndex(), SV_Name(), SV_ParticleEffectIndex(), SV_Pause_f(), SV_Physics(), SV_Physics_ClientEntity(), SV_Physics_ClientEntity_NoThink(), SV_Physics_ClientEntity_PostThink(), SV_Physics_ClientEntity_PreThink(), SV_Physics_ClientMove(), SV_Physics_Entity(), SV_Physics_Pusher(), SV_Physics_Step(), SV_Physics_Toss(), SV_Ping_f(), SV_Pings_f(), SV_PlayerPhysics(), SV_PointSuperContents(), SV_Prepare_CSQC(), SV_PrepareEntitiesForSending(), SV_PrepareEntityForSending(), SV_PreSpawn_f(), SV_PushMove(), SV_ReadClientMessage(), SV_ReadClientMove(), SV_Restart_f(), SV_RunThink(), SV_SaveEntFile_f(), SV_Savegame_f(), SV_Savegame_to(), SV_SaveSpawnparms(), SV_SendClientDatagram(), SV_SendClientMessages(), SV_SendCvar_f(), SV_SendServerinfo(), SV_Shutdown(), SV_SoundIndex(), SV_Spawn_f(), SV_SpawnServer(), SV_StartEffect(), SV_StartParticle(), SV_StartPointSound(), SV_StartSound(), SV_Status_f(), SV_ThreadFunc(), SV_TimingReport(), SV_TraceBox(), SV_TraceLine(), SV_TracePoint(), SV_UpdateToReliableMessages(), SV_UserFriction(), SV_Viewframe_f(), SV_Viewmodel_f(), SV_Viewnext_f(), SV_Viewprev_f(), SV_VM_ConsoleCommand(), SV_VM_Setup(), SV_VM_Shutdown(), SV_WalkMove(), SV_WaterJump(), SV_WaterMove(), SV_WriteClientdataToMessage(), SV_WriteEntitiesToClient(), SVVM_begin_increase_edicts(), SVVM_free_edict(), SVVM_reset_cmd(), Sys_Error(), VM_bprint(), VM_changelevel(), VM_isserver(), VM_M_WriteAngle(), VM_M_WriteCoord(), VM_M_WriteDest(), VM_sprint(), VM_SV_ambientsound(), VM_SV_checkclient(), VM_SV_checkpvs(), VM_SV_droptofloor(), VM_SV_getlight(), VM_SV_gettaginfo(), VM_SV_lightstyle(), VM_SV_makestatic(), VM_SV_modelnameforindex(), VM_SV_newcheckclient(), VM_SV_pointparticles(), VM_SV_setcolor(), VM_SV_setmodel(), VM_SV_setmodelindex(), VM_SV_setpause(), VM_SV_skel_build(), VM_SV_te_beam(), VM_SV_te_blood(), VM_SV_te_bloodshower(), VM_SV_te_customflash(), VM_SV_te_explosion(), VM_SV_te_explosion2(), VM_SV_te_explosionquad(), VM_SV_te_explosionrgb(), VM_SV_te_flamejet(), VM_SV_te_gunshot(), VM_SV_te_gunshotquad(), VM_SV_te_knightspike(), VM_SV_te_lavasplash(), VM_SV_te_lightning1(), VM_SV_te_lightning2(), VM_SV_te_lightning3(), VM_SV_te_particlecube(), VM_SV_te_particlerain(), VM_SV_te_particlesnow(), VM_SV_te_plasmaburn(), VM_SV_te_smallflash(), VM_SV_te_spark(), VM_SV_te_spike(), VM_SV_te_spikequad(), VM_SV_te_superspike(), VM_SV_te_superspikequad(), VM_SV_te_tarexplosion(), VM_SV_te_teleport(), VM_SV_te_wizspike(), VM_SV_trailparticles(), VM_SV_WriteAngle(), VM_SV_WriteCoord(), and WriteDest().
|
extern |
Definition at line 55 of file sv_main.c.
Referenced by SV_Accelerate(), SV_AirAccelerate(), SV_Init(), SV_WaterMove(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 56 of file sv_main.c.
Referenced by SV_Init(), and VM_SV_aim().
|
extern |
Definition at line 57 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 59 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 60 of file sv_main.c.
Referenced by SV_AirAccelerate(), SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 66 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 68 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 67 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 62 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 61 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 65 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 63 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 69 of file sv_main.c.
Referenced by SV_Download_f(), and SV_Init().
|
extern |
Definition at line 70 of file sv_main.c.
Referenced by SV_Download_f(), and SV_Init().
|
extern |
|
extern |
Definition at line 72 of file sv_main.c.
Referenced by SV_Download_f(), and SV_Init().
|
extern |
Definition at line 73 of file sv_main.c.
Referenced by SV_Download_f(), and SV_Init().
|
extern |
Definition at line 164 of file sv_main.c.
Referenced by SV_EntitiesInBox(), and SV_Init().
|
extern |
|
extern |
|
extern |
Definition at line 76 of file sv_main.c.
Referenced by SV_Init(), and Sys_Sleep().
|
extern |
Definition at line 77 of file sv_main.c.
Referenced by SV_ExecuteClientMoves(), and SV_Init().
|
extern |
Definition at line 80 of file sv_main.c.
Referenced by SV_ExecuteClientMoves(), and SV_Init().
|
extern |
|
extern |
Definition at line 78 of file sv_main.c.
Referenced by SV_ExecuteClientMoves(), and SV_Init().
|
extern |
Definition at line 79 of file sv_main.c.
Referenced by SV_ExecuteClientMoves(), and SV_Init().
|
extern |
Definition at line 81 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 82 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 83 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteEntitiesToClient().
|
extern |
Definition at line 84 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 85 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 87 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 90 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteEntitiesToClient().
|
extern |
Definition at line 93 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 94 of file sv_main.c.
Referenced by SV_Init(), and SV_MarkWriteEntityStateToClient().
|
extern |
Definition at line 97 of file sv_main.c.
Referenced by CL_TraceBox(), CL_TraceLine(), CL_TracePoint(), SV_Init(), SV_TraceBox(), SV_TraceLine(), and SV_TracePoint().
|
extern |
Definition at line 99 of file sv_main.c.
Referenced by SV_BroadcastPrint(), and SV_Init().
|
extern |
Definition at line 100 of file sv_main.c.
Referenced by SV_Init(), SV_UserFriction(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 101 of file sv_main.c.
Referenced by SV_Init(), and SV_SpawnServer().
|
extern |
|
extern |
Definition at line 103 of file sv_main.c.
Referenced by SV_Init(), SV_UserFriction(), SV_WaterMove(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 104 of file sv_main.c.
Referenced by SV_Init(), VM_CL_findradius(), and VM_SV_findradius().
|
extern |
Definition at line 105 of file sv_main.c.
Referenced by SV_Init(), and SV_Physics().
|
extern |
Definition at line 106 of file sv_main.c.
Referenced by SV_Init(), SV_Physics(), and SV_Physics_Entity().
|
extern |
Definition at line 128 of file sv_main.c.
Referenced by SV_Init(), and SV_WalkMove().
|
extern |
Definition at line 107 of file sv_main.c.
Referenced by SV_Init(), and VM_SV_droptofloor().
|
extern |
Definition at line 108 of file sv_main.c.
Referenced by SV_Init(), and VM_SV_droptofloor().
|
extern |
Definition at line 109 of file sv_main.c.
Referenced by SV_FlyMove(), and SV_Init().
|
extern |
Definition at line 110 of file sv_main.c.
Referenced by SV_Init(), VM_CL_findradius(), and VM_SV_findradius().
|
extern |
Definition at line 132 of file sv_main.c.
Referenced by SV_CheckWaterTransition(), and SV_Init().
|
extern |
Definition at line 111 of file sv_main.c.
Referenced by SV_FlyMove(), SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 112 of file sv_main.c.
Referenced by SV_Init(), and SV_Physics_Toss().
|
extern |
Definition at line 113 of file sv_main.c.
Referenced by SV_FlyMove(), and SV_Init().
|
extern |
Definition at line 114 of file sv_main.c.
Referenced by SV_Init(), and SV_RunThink().
|
extern |
Definition at line 115 of file sv_main.c.
Referenced by SV_Init(), and SV_Physics_Toss().
|
extern |
Definition at line 116 of file sv_main.c.
Referenced by SV_Init(), and SV_Physics_Toss().
|
extern |
Definition at line 120 of file sv_main.c.
Referenced by SV_FlyMove(), SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 133 of file sv_main.c.
Referenced by SV_Init(), and SV_PushMove().
|
extern |
Definition at line 125 of file sv_main.c.
Referenced by SV_Init(), and SV_movestep().
|
extern |
Definition at line 117 of file sv_main.c.
Referenced by SV_Init(), and SV_UnstickEntity().
|
extern |
Definition at line 118 of file sv_main.c.
Referenced by PHYS_NudgeOutOfSolid(), SV_Init(), and SV_UnstickEntity().
|
extern |
Definition at line 129 of file sv_main.c.
Referenced by Mod_Q1BSP_TraceLine(), and SV_Init().
|
extern |
|
extern |
Definition at line 121 of file sv_main.c.
Referenced by SV_Init(), VM_SV_setmodel(), and VM_SV_setmodelindex().
|
extern |
Definition at line 122 of file sv_main.c.
Referenced by SV_Init(), and SV_Physics_Toss().
|
extern |
Definition at line 123 of file sv_main.c.
Referenced by SV_Init(), and SV_WalkMove().
|
extern |
Definition at line 124 of file sv_main.c.
Referenced by SV_Init(), and SV_WalkMove().
|
extern |
Definition at line 126 of file sv_main.c.
Referenced by SV_Init(), and SV_PointSuperContents().
|
extern |
Definition at line 131 of file sv_main.c.
Referenced by SV_Init(), and SV_UnstickEntity().
|
extern |
Definition at line 130 of file sv_main.c.
Referenced by SV_Init(), and SV_UnstickEntity().
|
extern |
Definition at line 127 of file sv_main.c.
Referenced by SV_Init(), SV_Physics_Step(), and SV_Physics_Toss().
|
extern |
Definition at line 134 of file sv_main.c.
Referenced by CL_UpdateMoveVars(), SV_Gravity(), SV_Init(), SV_Physics(), SV_Physics_Step(), SV_Physics_Toss(), SV_Trace_Toss(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 136 of file sv_main.c.
Referenced by SV_Init(), and SV_SetIdealPitch().
|
extern |
|
extern |
Definition at line 138 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 139 of file sv_main.c.
Referenced by SV_Init(), and SV_LinkEdict().
|
extern |
Definition at line 140 of file sv_main.c.
Referenced by SV_AirAccelerate(), SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 64 of file sv_main.c.
Referenced by SV_Init(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 141 of file sv_main.c.
Referenced by M_GameOptions_Draw(), M_NetStart_Change(), SV_Init(), and SV_SendClientDatagram().
|
extern |
Definition at line 142 of file sv_main.c.
Referenced by SV_AirMove(), SV_Init(), SV_WaterMove(), and SV_WriteClientdataToMessage().
|
extern |
|
extern |
Definition at line 226 of file sv_main.c.
Referenced by EntityFrame5_ExpandEdicts(), SV_Init(), SV_Map_f(), SV_Prepare_CSQC(), SV_SendServerinfo(), SV_ServerOptions(), SV_WriteEntitiesToClient(), VM_SV_checkpvs(), and VM_SV_newcheckclient().
|
extern |
|
extern |
|
extern |
|
extern |
Definition at line 147 of file sv_main.c.
Referenced by SV_Init(), and SV_SpawnServer().
|
extern |
Definition at line 149 of file sv_main.c.
Referenced by Host_Frame(), SV_Init(), and SV_SpawnServer().
|
extern |
Definition at line 151 of file sv_main.c.
Referenced by SV_Init(), and SV_Physics_Step().
|
extern |
Definition at line 152 of file sv_main.c.
Referenced by SV_CheckWaterTransition(), and SV_Init().
|
extern |
Definition at line 153 of file sv_main.c.
Referenced by CL_CheckBottom(), CL_movestep(), SV_CheckBottom(), SV_Init(), SV_movestep(), SV_WalkMove(), SV_WriteClientdataToMessage(), and VM_CL_checkbottom().
|
extern |
Definition at line 154 of file sv_main.c.
Referenced by SV_Init(), SV_UserFriction(), and SV_WriteClientdataToMessage().
|
extern |
|
extern |
Definition at line 156 of file sv_main.c.
Referenced by SV_Init(), SV_WaterMove(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 157 of file sv_main.c.
Referenced by SV_Init(), SV_WaterMove(), and SV_WriteClientdataToMessage().
|
extern |
persistant server info
Definition at line 224 of file sv_main.c.
Referenced by Cvar_SetQuick_Internal(), EntityFrameCSQC_WriteFrame(), EntityState5_Priority(), EntityState5_WriteUpdate(), Host_Frame(), Host_Shutdown(), M_Menu_GameOptions_f(), NetConn_BuildStatusResponse(), NetConn_Heartbeat(), NetConn_ServerParsePacket(), SCR_DrawNetGraph(), SV_Begin_f(), SV_BroadcastPrint(), SV_CheckTimeouts(), SV_Color_f(), SV_ConnectClient(), SV_CreateBaseline(), SV_DisableCheats_c(), SV_Download_f(), SV_DropClient(), SV_Ent_Remove_f(), SV_FlushBroadcastMessages(), SV_Frame(), SV_IsLocalServer(), SV_Kick_f(), SV_Loadgame_f(), SV_Map_f(), SV_MarkWriteEntityStateToClient(), SV_MaxPlayers_f(), SV_ModelIndex(), SV_Name_f(), SV_Physics(), SV_Ping_f(), SV_Pings_f(), SV_Prepare_CSQC(), SV_PrepareEntityForSending(), SV_Savegame_f(), SV_Savegame_to(), SV_SaveSpawnparms(), SV_Say(), SV_SendClientMessages(), SV_SendCvar_f(), SV_SendServerinfo(), SV_ServerOptions(), SV_Shutdown(), SV_Spawn_f(), SV_SpawnServer(), SV_StartThread(), SV_Status_f(), SV_StopThread(), SV_Tell_f(), SV_ThreadFunc(), SV_UnstickEntity(), SV_UpdateToReliableMessages(), SV_VM_Setup(), SV_WriteEntitiesToClient(), SVVM_free_edict(), SVVM_init_edict(), Sys_Error(), VM_changelevel(), VM_clientcount(), VM_M_WriteDest(), VM_sprint(), VM_SV_centerprint(), VM_SV_clientcommand(), VM_SV_clienttype(), VM_SV_dropclient(), VM_SV_lightstyle(), VM_SV_newcheckclient(), VM_SV_serverkey(), VM_SV_setcolor(), VM_SV_setspawnparms(), VM_SV_spawnclient(), VM_SV_sprint(), VM_SV_stuffcmd(), and WriteDest().
|
extern |
Definition at line 166 of file sv_main.c.
Referenced by SV_ExecuteClientMoves(), SV_Frame(), SV_Init(), SV_SendClientDatagram(), SV_ThreadFunc(), and SV_WriteClientdataToMessage().
|
extern |
Definition at line 31 of file progsdefs.qc.
Referenced by M_GameOptions_Draw(), M_NetStart_Change(), NetConn_BuildStatusResponse(), Sbar_DrawFace(), Sbar_IsTeammatch(), SV_Init(), SV_Say(), SV_VM_Setup(), and VM_SV_aim().
|
extern |
|
extern |
Definition at line 173 of file sv_main.c.
Referenced by M_GameOptions_Draw(), M_NetStart_Change(), SV_Init(), and SV_WriteClientdataToMessage().