![]() |
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 | customstat_t |
Macros | |
#define | MSG_ALL 2 |
#define | MSG_BROADCAST 0 |
#define | MSG_ENTITY 5 |
#define | MSG_INIT 3 |
#define | MSG_ONE 1 |
Variables | |
int | c_invis |
int | c_notvis |
static unsigned char * | checkpvs |
static vec3_t | quakemaxs = {16, 16, 16} |
static vec3_t | quakemins = {-16, -16, -16} |
cvar_t | sv_qcstats |
static customstat_t | vm_customstats [MAX_CL_STATS] |
static int | vm_customstats_last |
prvm_builtin_t | vm_sv_builtins [] |
const char * | vm_sv_extensions [] |
client also uses this | |
const int | vm_sv_numbuiltins = sizeof(vm_sv_builtins) / sizeof(prvm_builtin_t) |
#define MSG_ALL 2 |
Definition at line 1452 of file svvm_cmds.c.
Referenced by WriteDest().
#define MSG_BROADCAST 0 |
Definition at line 1450 of file svvm_cmds.c.
Referenced by WriteDest().
#define MSG_ENTITY 5 |
Definition at line 1454 of file svvm_cmds.c.
Referenced by WriteDest().
#define MSG_INIT 3 |
Definition at line 1453 of file svvm_cmds.c.
Referenced by WriteDest().
#define MSG_ONE 1 |
Definition at line 1451 of file svvm_cmds.c.
Referenced by WriteDest().
Definition at line 1181 of file svvm_cmds.c.
References trace_t::allsolid, trace_t::fraction, trace_t::startsolid, sv, and server_t::worldmodel.
Referenced by VM_SV_droptofloor().
|
static |
Definition at line 271 of file svvm_cmds.c.
References prvm_prog_t::error_cmd, i, max, maxs, min, mins, PRVM_serveredictvector, size, SV_LinkEdict(), VectorCopy, and VectorSubtract.
Referenced by VM_SV_setmodel(), VM_SV_setmodelindex(), and VM_SV_setsize().
|
static |
Definition at line 2536 of file svvm_cmds.c.
References identitymatrix, Mod_Alias_GetTagMatrix(), model, prvm_edict_t::priv, prvm_edict_t::server, sv, SV_GetModelFromEdict(), server_t::time, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), and VM_UpdateEdictSkeleton().
Referenced by SV_GetTagMatrix().
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().
|
static |
Definition at line 2496 of file svvm_cmds.c.
References Matrix4x4_CreateIdentity(), Mod_Alias_GetExtendedTagInfoForIndex(), model, NULL, prvm_edict_t::priv, PRVM_serveredictfloat, r, prvm_edict_t::server, skin, and SV_GetModelFromEdict().
Referenced by VM_SV_gettaginfo().
|
static |
Definition at line 2485 of file svvm_cmds.c.
References i, int(), MAX_MODELS, Mod_Alias_GetTagIndexForName(), modelindex, PRVM_serveredictfloat, skin, and SV_GetModelByIndex().
Referenced by VM_SV_gettagindex().
|
static |
Definition at line 2557 of file svvm_cmds.c.
References prvm_prog_t::edicts, prvm_edict_t::free, identitymatrix, int(), Matrix4x4_Concat(), Matrix4x4_Copy(), MAX_MODELS, model, modelindex, prvm_edict_t::priv, PRVM_EDICT_NUM, PRVM_serveredictedict, PRVM_serveredictfloat, ret, prvm_edict_t::server, sv, SV_GetEntityLocalTagMatrix(), SV_GetEntityMatrix(), SV_GetModelByIndex(), tag_entity, tag_index, server_t::time, viewmodelforclient, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), and VM_UpdateEdictSkeleton().
Referenced by VM_SV_gettaginfo().
|
static |
Definition at line 712 of file svvm_cmds.c.
References angles, avelocity, collision_extendmovelength, trace_t::endpos, trace_t::fraction, i, maxs, mins, MOVE_NORMAL, origin, PRVM_serveredictfloat, PRVM_serveredictvector, SV_CheckVelocity(), SV_GenericHitSuperContentsMask(), sv_gravity, SV_TraceBox(), cvar_t::value, VectorAdd, VectorCopy, VectorMA, VectorScale, and velocity.
Referenced by VM_SV_tracetoss().
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 SVVM_init_cmd | ( | prvm_prog_t * | prog | ) |
Definition at line 3918 of file svvm_cmds.c.
References VM_Cmd_Init().
Referenced by SV_VM_Setup().
void SVVM_reset_cmd | ( | prvm_prog_t * | prog | ) |
Definition at line 3923 of file svvm_cmds.c.
References sv, VM_Cmd_Reset(), server_t::world, and World_End().
Referenced by SV_VM_Setup().
Definition at line 1717 of file svvm_cmds.c.
References vm_customstats, and vm_customstats_last.
Referenced by SV_VM_Setup().
|
static |
Definition at line 1773 of file svvm_cmds.c.
References customstat_t::fieldoffset, i, int(), cvar_t::integer, MAX_CL_STATS, MAX_VM_STAT, MIN_VM_STAT, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_FLOAT, PRVM_G_INT, sv_qcstats, customstat_t::type, type, vm_customstats, vm_customstats_last, VM_SAFEPARMCOUNT, VM_SV_AddStat(), and VM_Warning().
Referenced by VM_SV_AddStat().
|
static |
Definition at line 1351 of file svvm_cmds.c.
References mfunction_t::builtinsprofile, collision_extendmovelength, DAMAGE_AIM, dir, DotProduct, prvm_prog_t::edicts, trace_t::ent, prvm_edict_t::free, i, maxs, mins, MOVE_NORMAL, NULL, prvm_prog_t::num_edicts, OFS_PARM0, OFS_RETURN, origin, PRVM_G_EDICT, PRVM_G_VECTOR, PRVM_NEXT_EDICT, PRVM_serveredictfloat, PRVM_serveredictvector, PRVM_serverglobalvector, SUPERCONTENTS_BODY, SUPERCONTENTS_SOLID, sv_aim, SV_TraceLine(), takedamage, team, teamplay, v_forward, cvar_t::value, VectorCopy, VectorMA, VectorNormalize, VectorScale, VectorSubtract, VM_SAFEPARMCOUNT, VM_SV_aim(), VM_Warning(), and prvm_prog_t::xfunction.
Referenced by VM_SV_aim().
|
static |
Definition at line 470 of file svvm_cmds.c.
References MSG_WriteByte(), MSG_WriteShort(), MSG_WriteVector(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, server_t::protocol, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, server_t::signon, sv, SV_SoundIndex(), svc_spawnstaticsound, svc_spawnstaticsound2, VectorCopy, VM_SAFEPARMCOUNT, and VM_SV_ambientsound().
Referenced by VM_SV_ambientsound().
|
static |
Definition at line 416 of file svvm_cmds.c.
References server_static_t::clients, entnum, server_static_t::maxclients, netconn_t::message, MSG_WriteChar(), MSG_WriteString(), client_t::netconnection, OFS_PARM0, PRVM_G_EDICTNUM, svc_centerprint, svs, VM_SAFEPARMCOUNTRANGE, VM_SV_centerprint(), VM_TEMPSTRING_MAXSIZE, VM_VarString(), and VM_Warning().
Referenced by VM_SV_centerprint().
|
static |
Definition at line 1324 of file svvm_cmds.c.
References OFS_PARM0, OFS_RETURN, PRVM_G_EDICT, PRVM_G_FLOAT, SV_CheckBottom(), VM_SAFEPARMCOUNT, and VM_SV_checkbottom().
Referenced by VM_SV_checkbottom().
|
static |
Definition at line 842 of file svvm_cmds.c.
References c_invis, c_notvis, checkpvs, prvm_prog_t::edicts, prvm_edict_t::free, health, server_t::lastcheck, server_t::lastchecktime, origin, PRVM_EDICT_NUM, PRVM_PROG_TO_EDICT, PRVM_serveredictfloat, PRVM_serveredictvector, PRVM_serverglobaledict, self, sv, server_t::time, VectorAdd, view_ofs, VM_RETURN_EDICT, VM_SAFEPARMCOUNT, VM_SV_checkclient(), VM_SV_newcheckclient(), and server_t::worldmodel.
Referenced by VM_SV_checkclient().
|
static |
Definition at line 891 of file svvm_cmds.c.
References absmax, absmin, prvm_edict_t::free, NULL, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, PRVM_serveredictvector, sv, sv_mempool, VectorCopy, VM_SAFEPARMCOUNT, VM_SV_checkpvs(), VM_Warning(), and server_t::worldmodel.
Referenced by VM_SV_checkpvs().
|
static |
Definition at line 2419 of file svvm_cmds.c.
References server_static_t::clients, Cmd_ExecuteString(), cmd_serverfromclient, Con_Print(), host_client, i, server_static_t::maxclients, OFS_PARM0, OFS_PARM1, PRVM_G_EDICT, PRVM_G_STRING, PRVM_NUM_FOR_EDICT, src_client, strlen(), svs, VM_SAFEPARMCOUNT, and VM_SV_clientcommand().
Referenced by VM_SV_clientcommand().
|
static |
Definition at line 2762 of file svvm_cmds.c.
References server_static_t::clients, server_static_t::maxclients, OFS_PARM0, OFS_RETURN, PRVM_G_EDICTNUM, PRVM_G_FLOAT, svs, VM_SAFEPARMCOUNT, and VM_SV_clienttype().
Referenced by VM_SV_clienttype().
|
static |
Definition at line 1835 of file svvm_cmds.c.
References prvm_prog_t::edicts, prvm_prog_t::entityfields, prvm_edict_t::fields, prvm_edict_t::fp, prvm_edict_t::free, OFS_PARM0, OFS_PARM1, PRVM_G_EDICT, SV_LinkEdict(), VM_SAFEPARMCOUNT, VM_SV_copyentity(), and VM_Warning().
Referenced by VM_SV_copyentity().
|
static |
Definition at line 2715 of file svvm_cmds.c.
References server_static_t::clients, host_client, server_static_t::maxclients, OFS_PARM0, PRVM_G_EDICTNUM, SV_DropClient(), svs, VM_SAFEPARMCOUNT, VM_SV_dropclient(), and VM_Warning().
Referenced by VM_SV_dropclient().
|
static |
Definition at line 1188 of file svvm_cmds.c.
References trace_t::allsolid, classname, collision_extendmovelength, droptofloor_bsp_failcond(), prvm_prog_t::edicts, trace_t::endpos, trace_t::ent, FL_ONGROUND, flags, prvm_edict_t::free, groundentity, int(), cvar_t::integer, maxs, mins, MOVE_NORMAL, n, offset, OFS_RETURN, origin, PHYS_NudgeOutOfSolid(), prvm_edict_t::priv, PRVM_EDICT_TO_PROG, PRVM_G_FLOAT, PRVM_gameedictstring, PRVM_gameedictvector, PRVM_GetString(), PRVM_PROG_TO_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, PRVM_serveredictvector, PRVM_serverglobaledict, self, prvm_edict_t::server, trace_t::startsolid, SUPERCONTENTS_SOLID, sv, sv_gameplayfix_droptofloorstartsolid, sv_gameplayfix_droptofloorstartsolid_nudgetocorrect, SV_LinkEdict(), SV_TraceBox(), SV_TraceLine(), cvar_t::value, VectorAdd, VectorCopy, VectorSubtract, VM_SAFEPARMCOUNTRANGE, VM_SV_droptofloor(), VM_Warning(), and server_t::worldmodel.
Referenced by VM_SV_droptofloor().
|
static |
Definition at line 1915 of file svvm_cmds.c.
References i, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, SV_ModelIndex(), SV_StartEffect(), VectorCopy, VM_SAFEPARMCOUNT, VM_SV_effect(), and VM_Warning().
Referenced by VM_SV_effect().
|
static |
Definition at line 1069 of file svvm_cmds.c.
References prvm_prog_t::argc, mfunction_t::builtinsprofile, chain, Con_Printf(), prvm_prog_t::edicts, prvm_prog_t::error_cmd, prvm_prog_t::fieldoffsets, i, MAX_EDICTS, prvm_prog_t::name, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_EDICT_TO_PROG, PRVM_EDICTFIELDEDICT, PRVM_G_INT, PRVM_G_VECTOR, SV_EntitiesInBox(), VM_RETURN_EDICT, VM_SAFEPARMCOUNTRANGE, VM_SV_findbox(), and prvm_prog_t::xfunction.
Referenced by VM_SV_findbox().
|
static |
Definition at line 992 of file svvm_cmds.c.
References prvm_prog_t::argc, bound, mfunction_t::builtinsprofile, chain, Con_Printf(), DotProduct, prvm_prog_t::edicts, prvm_prog_t::error_cmd, prvm_prog_t::fieldoffsets, i, cvar_t::integer, MAX_EDICTS, maxs, mins, prvm_prog_t::name, OFS_PARM0, OFS_PARM1, OFS_PARM2, origin, PRVM_EDICT_TO_PROG, PRVM_EDICTFIELDEDICT, PRVM_G_FLOAT, PRVM_G_INT, PRVM_G_VECTOR, PRVM_serveredictfloat, PRVM_serveredictvector, solid, SOLID_NOT, SV_EntitiesInBox(), sv_gameplayfix_blowupfallenzombies, sv_gameplayfix_findradiusdistancetobox, VectorCopy, VectorMAMAM, VectorSubtract, VM_RETURN_EDICT, VM_SAFEPARMCOUNTRANGE, VM_SV_findradius(), and prvm_prog_t::xfunction.
Referenced by VM_SV_findradius().
|
static |
Definition at line 3252 of file svvm_cmds.c.
References int(), model, modelindex, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, and SV_GetModelByIndex().
|
static |
Definition at line 3232 of file svvm_cmds.c.
References i, int(), model, modelindex, name, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, and SV_GetModelByIndex().
|
static |
Definition at line 1694 of file svvm_cmds.c.
References OFS_PARM0, OFS_RETURN, PRVM_G_VECTOR, sv, VectorClear, VectorCopy, VectorMA, VM_SAFEPARMCOUNT, VM_SV_getlight(), and server_t::worldmodel.
Referenced by VM_SV_getlight().
|
static |
Definition at line 2621 of file svvm_cmds.c.
References Con_DPrintf(), developer_extra, prvm_prog_t::edicts, prvm_edict_t::free, cvar_t::integer, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_NUM_FOR_EDICT, SV_GetModelFromEdict(), SV_GetTagIndex(), tag_index, VM_SAFEPARMCOUNT, VM_SV_gettagindex(), and VM_Warning().
Referenced by VM_SV_gettagindex().
|
static |
Definition at line 2657 of file svvm_cmds.c.
References Con_DPrintf(), forward, gettaginfo_forward, gettaginfo_name, gettaginfo_offset, gettaginfo_parent, gettaginfo_right, gettaginfo_up, int(), Matrix4x4_ToVectors(), model, OFS_PARM0, OFS_PARM1, OFS_RETURN, origin, prvm_edict_t::priv, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, PRVM_NUM_FOR_EDICT, PRVM_serverglobalfloat, PRVM_serverglobalstring, PRVM_serverglobalvector, PRVM_SetTempString(), prvm_edict_t::server, strlen(), sv, SV_GetExtendedTagInfo(), SV_GetModelFromEdict(), SV_GetTagMatrix(), server_t::time, up, v_forward, v_right, v_up, VectorCopy, VectorNegate, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), VM_SAFEPARMCOUNT, VM_SV_gettaginfo(), VM_UpdateEdictSkeleton(), and VM_Warning().
Referenced by VM_SV_gettaginfo().
|
static |
Definition at line 1285 of file svvm_cmds.c.
References client_t::active, server_static_t::clients, dp_strlcpy, prvm_prog_t::error_cmd, int(), server_t::lightstyles, MAX_LIGHTSTYLES, server_static_t::maxclients, netconn_t::message, MSG_WriteChar(), MSG_WriteString(), client_t::netconnection, OFS_PARM0, OFS_PARM1, PRVM_G_FLOAT, PRVM_G_STRING, ss_active, server_t::state, style, sv, svc_lightstyle, svs, VM_SAFEPARMCOUNT, and VM_SV_lightstyle().
Referenced by VM_SV_lightstyle().
|
static |
Definition at line 1594 of file svvm_cmds.c.
References angles, prvm_prog_t::argc, colormap, prvm_prog_t::edicts, frame, prvm_edict_t::free, i, modelindex, MSG_WriteAngle(), MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, origin, server_t::protocol, PROTOCOL_NEHAHRABJP, PROTOCOL_NEHAHRABJP2, PROTOCOL_NEHAHRABJP3, PRVM_ED_Free(), PRVM_G_EDICT, PRVM_PROG_TO_EDICT, PRVM_serveredictfloat, PRVM_serveredictvector, PRVM_serverglobaledict, self, server_t::signon, skin, sv, svc_spawnstatic, svc_spawnstatic2, VM_SAFEPARMCOUNTRANGE, VM_SV_makestatic(), and VM_Warning().
Referenced by VM_SV_makestatic().
|
static |
Definition at line 2841 of file svvm_cmds.c.
References i, int(), MAX_MODELS, server_t::model_precache, OFS_NULL, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_INT, PRVM_SetEngineString(), sv, VM_SAFEPARMCOUNT, VM_SV_modelnameforindex(), and VM_Warning().
Referenced by VM_SV_modelnameforindex().
|
static |
Definition at line 786 of file svvm_cmds.c.
References bound, mfunction_t::builtinsprofile, checkpvs, FL_NOTARGET, flags, prvm_edict_t::free, health, i, server_static_t::maxclients, NULL, origin, PRVM_EDICT_NUM, PRVM_serveredictfloat, PRVM_serveredictvector, sv, sv_mempool, svs, VectorAdd, view_ofs, server_t::worldmodel, and prvm_prog_t::xfunction.
Referenced by VM_SV_checkclient().
|
static |
Definition at line 448 of file svvm_cmds.c.
References color, count, dir, int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, PRVM_G_VECTOR, SV_StartParticle(), VectorCopy, VM_SAFEPARMCOUNT, and VM_SV_particle().
Referenced by VM_SV_particle().
|
static |
Definition at line 2864 of file svvm_cmds.c.
References i, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, SV_ParticleEffectIndex(), VM_SAFEPARMCOUNT, and VM_SV_particleeffectnum().
Referenced by VM_SV_particleeffectnum().
|
static |
Definition at line 1335 of file svvm_cmds.c.
References Mod_Q1BSP_NativeContentsFromSuperContents(), OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_VECTOR, SV_PointSuperContents(), VectorCopy, VM_SAFEPARMCOUNT, and VM_SV_pointcontents().
Referenced by VM_SV_pointcontents().
|
static |
Definition at line 2894 of file svvm_cmds.c.
References bound, count, server_t::datagram, int(), MSG_WriteByte(), MSG_WriteShort(), MSG_WriteVector(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_pointparticles, svc_pointparticles1, VectorCopy, VectorLength2, VM_SAFEPARMCOUNTRANGE, and VM_SV_pointparticles().
Referenced by VM_SV_pointparticles().
|
static |
Definition at line 607 of file svvm_cmds.c.
References prvm_prog_t::argc, int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, SV_StartPointSound(), VectorCopy, VM_SAFEPARMCOUNTRANGE, VM_SV_pointsound(), and VM_Warning().
Referenced by VM_SV_pointsound().
|
static |
Definition at line 1110 of file svvm_cmds.c.
References OFS_PARM0, OFS_RETURN, PRVM_G_INT, PRVM_G_STRING, SV_ModelIndex(), VM_SAFEPARMCOUNT, and VM_SV_precache_model().
Referenced by VM_SV_precache_model().
|
static |
Definition at line 1104 of file svvm_cmds.c.
References OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, SV_SoundIndex(), VM_SAFEPARMCOUNT, and VM_SV_precache_sound().
Referenced by VM_SV_precache_sound().
|
static |
Definition at line 2934 of file svvm_cmds.c.
References CF_SERVER, Cmd_AddCommand(), NULL, OFS_PARM0, PRVM_G_STRING, and VM_SAFEPARMCOUNT.
|
static |
Definition at line 2784 of file svvm_cmds.c.
References InfoString_GetValue(), OFS_PARM0, OFS_RETURN, PRVM_G_INT, PRVM_G_STRING, PRVM_SetTempString(), server_static_t::serverinfo, strlen(), svs, VM_SAFEPARMCOUNT, VM_SV_serverkey(), and VM_TEMPSTRING_MAXSIZE.
Referenced by VM_SV_serverkey().
|
static |
Definition at line 2440 of file svvm_cmds.c.
References Con_DPrintf(), prvm_prog_t::edicts, prvm_edict_t::free, Mod_Alias_GetTagIndexForName(), model, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_EDICT_TO_PROG, PRVM_G_EDICT, PRVM_G_STRING, PRVM_NUM_FOR_EDICT, PRVM_serveredictedict, PRVM_serveredictfloat, skin, SV_GetModelFromEdict(), tag_entity, tag_index, VM_SAFEPARMCOUNT, VM_SV_setattachment(), and VM_Warning().
Referenced by VM_SV_setattachment().
|
static |
Definition at line 1876 of file svvm_cmds.c.
References clientcolors, server_static_t::clients, client_t::colors, Con_Print(), client_t::edict, entnum, i, int(), server_static_t::maxclients, MSG_WriteByte(), OFS_PARM0, OFS_PARM1, client_t::old_colors, PRVM_G_EDICTNUM, PRVM_G_FLOAT, PRVM_serveredictfloat, server_t::reliable_datagram, sv, svc_updatecolors, svs, team, VM_SAFEPARMCOUNT, and VM_SV_setcolor().
Referenced by VM_SV_setcolor().
|
static |
Definition at line 329 of file svvm_cmds.c.
References prvm_prog_t::edicts, prvm_edict_t::free, i, cvar_t::integer, mod(), mod_alias, model, server_t::model_precache, modelindex, OFS_PARM0, OFS_PARM1, PRVM_G_EDICT, PRVM_G_STRING, PRVM_serveredictfloat, PRVM_serveredictstring, PRVM_SetEngineString(), quakemaxs, quakemins, SetMinMaxSize(), sv, sv_gameplayfix_setmodelrealbox, SV_GetModelByIndex(), SV_ModelIndex(), vec3_origin, VM_SAFEPARMCOUNT, VM_SV_setmodel(), and VM_Warning().
Referenced by VM_SV_setmodel().
|
static |
Definition at line 2794 of file svvm_cmds.c.
References prvm_prog_t::edicts, prvm_edict_t::free, i, int(), cvar_t::integer, MAX_MODELS, mod(), mod_alias, model, server_t::model_precache, modelindex, OFS_PARM0, OFS_PARM1, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_serveredictfloat, PRVM_serveredictstring, PRVM_SetEngineString(), quakemaxs, quakemins, SetMinMaxSize(), sv, sv_gameplayfix_setmodelrealbox, SV_GetModelByIndex(), vec3_origin, VM_SAFEPARMCOUNT, VM_SV_setmodelindex(), and VM_Warning().
Referenced by VM_SV_setmodelindex().
|
static |
Definition at line 247 of file svvm_cmds.c.
References prvm_prog_t::edicts, prvm_edict_t::free, prvm_edict_private_t::mark, OFS_PARM0, OFS_PARM1, origin, prvm_edict_t::priv, PRVM_EDICT_MARK_SETORIGIN_CAUGHT, PRVM_EDICT_MARK_WAIT_FOR_SETORIGIN, PRVM_G_EDICT, PRVM_G_VECTOR, PRVM_serveredictvector, prvm_edict_t::required, SV_LinkEdict(), VectorCopy, VM_SAFEPARMCOUNT, VM_SV_setorigin(), and VM_Warning().
Referenced by VM_SV_setorigin().
|
static |
Definition at line 2941 of file svvm_cmds.c.
References host, int(), MSG_WriteByte(), OFS_PARM0, server_t::paused, server_t::pausedstart, PRVM_G_FLOAT, host_static_t::realtime, server_t::reliable_datagram, sv, and svc_setpause.
|
static |
Definition at line 297 of file svvm_cmds.c.
References prvm_prog_t::edicts, prvm_edict_t::free, maxs, mins, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_EDICT, PRVM_G_VECTOR, SetMinMaxSize(), VectorCopy, VM_SAFEPARMCOUNT, VM_SV_setsize(), and VM_Warning().
Referenced by VM_SV_setsize().
|
static |
Definition at line 1660 of file svvm_cmds.c.
References server_static_t::clients, Con_Print(), i, server_static_t::maxclients, NUM_SPAWN_PARMS, OFS_PARM0, parm1, PRVM_G_EDICT, PRVM_NUM_FOR_EDICT, PRVM_serverglobalfloat, client_t::spawn_parms, svs, VM_SAFEPARMCOUNT, and VM_SV_setspawnparms().
Referenced by VM_SV_setspawnparms().
|
static |
Definition at line 2983 of file svvm_cmds.c.
References int(), frameblend_t::lerp, Matrix4x4_Accumulate(), Matrix4x4_FromBonePose7s(), Matrix4x4_Interpolate(), Matrix4x4_Normalize3(), max, MAX_EDICTS, MAX_FRAMEBLENDS, MAX_FRAMEGROUPBLENDS, min, model, skeleton_t::model, modelindex, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_RETURN, PRVM_G_EDICT, PRVM_G_FLOAT, skeleton_t::relativetransforms, skeletonindex, prvm_prog_t::skeletons, frameblend_t::subframe, sv, SV_GetModelByIndex(), server_t::time, VM_FrameBlendFromFrameGroupBlend(), and VM_GenerateFrameGroupBlend().
|
static |
Definition at line 3200 of file svvm_cmds.c.
References int(), max, MAX_EDICTS, min, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, skeleton_t::relativetransforms, and prvm_prog_t::skeletons.
|
static |
Definition at line 2959 of file svvm_cmds.c.
References i, identitymatrix, int(), MAX_EDICTS, Mem_Alloc, model, skeleton_t::model, modelindex, OFS_PARM0, OFS_RETURN, prvm_prog_t::progs_mempool, PRVM_G_FLOAT, skeleton_t::relativetransforms, prvm_prog_t::skeletons, and SV_GetModelByIndex().
|
static |
Definition at line 3221 of file svvm_cmds.c.
References int(), MAX_EDICTS, Mem_Free, NULL, OFS_PARM0, PRVM_G_FLOAT, skeletonindex, and prvm_prog_t::skeletons.
|
static |
Definition at line 3064 of file svvm_cmds.c.
References int(), MAX_EDICTS, Mod_Alias_GetTagIndexForName(), skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, skeletonindex, and prvm_prog_t::skeletons.
|
static |
Definition at line 3100 of file svvm_cmds.c.
References forward, int(), Matrix4x4_Concat(), Matrix4x4_ToVectors(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_RETURN, origin, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, skeleton_t::relativetransforms, skeletonindex, prvm_prog_t::skeletons, up, v_forward, v_right, v_up, VectorClear, VectorCopy, and VectorNegate.
|
static |
Definition at line 3036 of file svvm_cmds.c.
References int(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_INT, PRVM_SetTempString(), skeletonindex, prvm_prog_t::skeletons, and strlen().
|
static |
Definition at line 3050 of file svvm_cmds.c.
References int(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, skeletonindex, and prvm_prog_t::skeletons.
|
static |
Definition at line 3076 of file svvm_cmds.c.
References forward, int(), Matrix4x4_ToVectors(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_RETURN, origin, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, skeleton_t::relativetransforms, skeletonindex, prvm_prog_t::skeletons, up, v_forward, v_right, v_up, VectorClear, VectorCopy, and VectorNegate.
|
static |
Definition at line 3025 of file svvm_cmds.c.
References int(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, skeletonindex, and prvm_prog_t::skeletons.
|
static |
Definition at line 3151 of file svvm_cmds.c.
References forward, int(), Matrix4x4_Concat(), Matrix4x4_FromVectors(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_PARM2, origin, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, skeleton_t::relativetransforms, skeletonindex, prvm_prog_t::skeletons, up, v_forward, v_right, v_up, VectorCopy, and VectorNegate.
|
static |
Definition at line 3173 of file svvm_cmds.c.
References forward, int(), Matrix4x4_Concat(), Matrix4x4_FromVectors(), max, MAX_EDICTS, min, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, origin, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, skeleton_t::relativetransforms, skeletonindex, prvm_prog_t::skeletons, up, v_forward, v_right, v_up, VectorCopy, and VectorNegate.
|
static |
Definition at line 3131 of file svvm_cmds.c.
References forward, int(), Matrix4x4_FromVectors(), MAX_EDICTS, skeleton_t::model, OFS_PARM0, OFS_PARM1, OFS_PARM2, origin, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, skeleton_t::relativetransforms, skeletonindex, prvm_prog_t::skeletons, up, v_forward, v_right, v_up, VectorCopy, and VectorNegate.
|
static |
Definition at line 531 of file svvm_cmds.c.
References prvm_prog_t::argc, CHAN_USER2ENGINE, CHANNELFLAG_FORCELOOP, CHANNELFLAG_FULLVOLUME, CHANNELFLAG_PAUSED, CHANNELFLAG_RELIABLE, Con_DPrintf(), entity(), flags, int(), IS_CHAN, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_STRING, SV_StartSound(), VM_SAFEPARMCOUNTRANGE, VM_SV_sound(), and VM_Warning().
Referenced by VM_SV_sound().
|
static |
Definition at line 2738 of file svvm_cmds.c.
References mfunction_t::builtinsprofile, server_static_t::clients, prvm_prog_t::edicts, i, server_static_t::maxclients, NULL, PRVM_EDICT_NUM, SV_ConnectClient(), svs, VM_RETURN_EDICT, VM_SAFEPARMCOUNT, VM_SV_spawnclient(), and prvm_prog_t::xfunction.
Referenced by VM_SV_spawnclient().
|
static |
Definition at line 374 of file svvm_cmds.c.
References server_static_t::clients, Con_Print(), entnum, server_static_t::maxclients, netconn_t::message, MSG_WriteChar(), MSG_WriteString(), client_t::netconnection, OFS_PARM0, PRVM_G_EDICTNUM, svc_print, svs, VM_SAFEPARMCOUNTRANGE, VM_SV_sprint(), VM_TEMPSTRING_MAXSIZE, VM_VarString(), and VM_Warning().
Referenced by VM_SV_sprint().
|
static |
Definition at line 960 of file svvm_cmds.c.
References server_static_t::clients, entnum, host_client, server_static_t::maxclients, OFS_PARM0, PRVM_G_EDICTNUM, SV_ClientCommands(), svs, VM_SAFEPARMCOUNTRANGE, VM_SV_stuffcmd(), VM_TEMPSTRING_MAXSIZE, VM_VarString(), and VM_Warning().
Referenced by VM_SV_stuffcmd().
|
static |
Definition at line 2370 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_EDICTNUM, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_BEAM, VM_SAFEPARMCOUNT, and VM_SV_te_beam().
Referenced by VM_SV_te_beam().
|
static |
Definition at line 1951 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteChar(), MSG_WriteCoord(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_BLOOD, VM_SAFEPARMCOUNT, and VM_SV_te_blood().
Referenced by VM_SV_te_blood().
|
static |
Definition at line 1971 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_BLOODSHOWER, VM_SAFEPARMCOUNT, and VM_SV_te_bloodshower().
Referenced by VM_SV_te_bloodshower().
|
static |
Definition at line 2171 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_CUSTOMFLASH, VM_SAFEPARMCOUNT, and VM_SV_te_customflash().
Referenced by VM_SV_te_customflash().
|
static |
Definition at line 2229 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_EXPLOSION, VM_SAFEPARMCOUNT, and VM_SV_te_explosion().
Referenced by VM_SV_te_explosion().
|
static |
Definition at line 2301 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_EXPLOSION2, VM_SAFEPARMCOUNT, and VM_SV_te_explosion2().
Referenced by VM_SV_te_explosion2().
|
static |
Definition at line 2147 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_EXPLOSIONQUAD, VM_SAFEPARMCOUNT, and VM_SV_te_explosionquad().
Referenced by VM_SV_te_explosionquad().
|
static |
Definition at line 1993 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, OFS_PARM1, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_EXPLOSIONRGB, VM_SAFEPARMCOUNT, and VM_SV_te_explosionrgb().
Referenced by VM_SV_te_explosionrgb().
|
static |
Definition at line 2399 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_FLAMEJET, VM_SAFEPARMCOUNT, and VM_SV_te_flamejet().
Referenced by VM_SV_te_flamejet().
|
static |
Definition at line 2193 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_GUNSHOT, VM_SAFEPARMCOUNT, and VM_SV_te_gunshot().
Referenced by VM_SV_te_gunshot().
|
static |
Definition at line 2111 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_GUNSHOTQUAD, VM_SAFEPARMCOUNT, and VM_SV_te_gunshotquad().
Referenced by VM_SV_te_gunshotquad().
|
static |
Definition at line 2265 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_KNIGHTSPIKE, VM_SAFEPARMCOUNT, and VM_SV_te_knightspike().
Referenced by VM_SV_te_knightspike().
|
static |
Definition at line 2277 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_LAVASPLASH, VM_SAFEPARMCOUNT, and VM_SV_te_lavasplash().
Referenced by VM_SV_te_lavasplash().
|
static |
Definition at line 2316 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_EDICTNUM, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_LIGHTNING1, VM_SAFEPARMCOUNT, and VM_SV_te_lightning1().
Referenced by VM_SV_te_lightning1().
|
static |
Definition at line 2334 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_EDICTNUM, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_LIGHTNING2, VM_SAFEPARMCOUNT, and VM_SV_te_lightning2().
Referenced by VM_SV_te_lightning2().
|
static |
Definition at line 2352 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_EDICTNUM, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_LIGHTNING3, VM_SAFEPARMCOUNT, and VM_SV_te_lightning3().
Referenced by VM_SV_te_lightning3().
|
static |
Definition at line 2009 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_PARTICLECUBE, VM_SAFEPARMCOUNT, and VM_SV_te_particlecube().
Referenced by VM_SV_te_particlecube().
|
static |
Definition at line 2039 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_PARTICLERAIN, VM_SAFEPARMCOUNT, and VM_SV_te_particlerain().
Referenced by VM_SV_te_particlerain().
|
static |
Definition at line 2065 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), MSG_WriteShort(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_PARTICLESNOW, VM_SAFEPARMCOUNT, and VM_SV_te_particlesnow().
Referenced by VM_SV_te_particlesnow().
|
static |
Definition at line 2388 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_PLASMABURN, VM_SAFEPARMCOUNT, and VM_SV_te_plasmaburn().
Referenced by VM_SV_te_plasmaburn().
|
static |
Definition at line 2159 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_SMALLFLASH, VM_SAFEPARMCOUNT, and VM_SV_te_smallflash().
Referenced by VM_SV_te_smallflash().
|
static |
Definition at line 2091 of file svvm_cmds.c.
References bound, server_t::datagram, MSG_WriteByte(), MSG_WriteChar(), MSG_WriteCoord(), OFS_PARM0, OFS_PARM1, OFS_PARM2, server_t::protocol, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_SPARK, VM_SAFEPARMCOUNT, and VM_SV_te_spark().
Referenced by VM_SV_te_spark().
|
static |
Definition at line 2205 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_SPIKE, VM_SAFEPARMCOUNT, and VM_SV_te_spike().
Referenced by VM_SV_te_spike().
|
static |
Definition at line 2123 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_SPIKEQUAD, VM_SAFEPARMCOUNT, and VM_SV_te_spikequad().
Referenced by VM_SV_te_spikequad().
|
static |
Definition at line 2217 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_SUPERSPIKE, VM_SAFEPARMCOUNT, and VM_SV_te_superspike().
Referenced by VM_SV_te_superspike().
|
static |
Definition at line 2135 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_SUPERSPIKEQUAD, VM_SAFEPARMCOUNT, and VM_SV_te_superspikequad().
Referenced by VM_SV_te_superspikequad().
|
static |
Definition at line 2241 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_TAREXPLOSION, VM_SAFEPARMCOUNT, and VM_SV_te_tarexplosion().
Referenced by VM_SV_te_tarexplosion().
|
static |
Definition at line 2289 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_TELEPORT, VM_SAFEPARMCOUNT, and VM_SV_te_teleport().
Referenced by VM_SV_te_teleport().
|
static |
Definition at line 2253 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteCoord(), OFS_PARM0, server_t::protocol, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_temp_entity, TE_WIZSPIKE, VM_SAFEPARMCOUNT, and VM_SV_te_wizspike().
Referenced by VM_SV_te_wizspike().
|
static |
Definition at line 686 of file svvm_cmds.c.
References mfunction_t::builtinsprofile, collision_extendtraceboxlength, prvm_prog_t::error_cmd, int(), prvm_prog_t::name, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, PRVM_EDICT_TO_PROG, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, SV_GenericHitSuperContentsMask(), SV_TraceBox(), v1, v2, cvar_t::value, VectorCopy, VM_SAFEPARMCOUNTRANGE, VM_SetTraceGlobals(), VM_SV_tracebox(), and prvm_prog_t::xfunction.
Referenced by VM_SV_tracebox().
|
static |
Definition at line 649 of file svvm_cmds.c.
References mfunction_t::builtinsprofile, collision_extendtracelinelength, prvm_prog_t::error_cmd, int(), prvm_prog_t::name, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_EDICT_TO_PROG, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, SV_GenericHitSuperContentsMask(), SV_TraceLine(), v1, v2, cvar_t::value, VectorCopy, VM_SAFEPARMCOUNTRANGE, VM_SetTraceGlobals(), VM_SV_traceline(), and prvm_prog_t::xfunction.
Referenced by VM_SV_traceline().
|
static |
Definition at line 759 of file svvm_cmds.c.
References mfunction_t::builtinsprofile, prvm_prog_t::edicts, OFS_PARM0, OFS_PARM1, PRVM_G_EDICT, SV_Trace_Toss(), VM_SAFEPARMCOUNT, VM_SetTraceGlobals(), VM_SV_tracetoss(), VM_Warning(), and prvm_prog_t::xfunction.
Referenced by VM_SV_tracetoss().
|
static |
Definition at line 2875 of file svvm_cmds.c.
References server_t::datagram, MSG_WriteByte(), MSG_WriteShort(), MSG_WriteVector(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, server_t::protocol, PRVM_G_EDICTNUM, PRVM_G_FLOAT, PRVM_G_VECTOR, sv, SV_FlushBroadcastMessages(), svc_trailparticles, VectorCopy, VM_SAFEPARMCOUNT, and VM_SV_trailparticles().
Referenced by VM_SV_trailparticles().
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().
|
static |
Definition at line 1124 of file svvm_cmds.c.
References prvm_prog_t::argc, cos(), prvm_prog_t::edicts, FL_FLY, FL_ONGROUND, FL_SWIM, flags, prvm_edict_t::free, M_PI, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_RETURN, PRVM_G_FLOAT, PRVM_PROG_TO_EDICT, PRVM_serveredictfloat, PRVM_serverglobaledict, self, sin(), SV_movestep(), VM_SAFEPARMCOUNTRANGE, VM_SV_walkmove(), VM_Warning(), and prvm_prog_t::xfunction.
Referenced by VM_SV_walkmove().
|
static |
Definition at line 1528 of file svvm_cmds.c.
References MSG_WriteAngle(), OFS_PARM1, server_t::protocol, PRVM_G_FLOAT, sv, VM_SAFEPARMCOUNT, VM_SV_WriteAngle(), and WriteDest().
Referenced by VM_SV_WriteAngle().
|
static |
Definition at line 1504 of file svvm_cmds.c.
References MSG_WriteByte(), OFS_PARM1, PRVM_G_FLOAT, VM_SAFEPARMCOUNT, VM_SV_WriteByte(), and WriteDest().
Referenced by VM_SV_WriteByte().
|
static |
Definition at line 1510 of file svvm_cmds.c.
References MSG_WriteChar(), OFS_PARM1, PRVM_G_FLOAT, VM_SAFEPARMCOUNT, VM_SV_WriteChar(), and WriteDest().
Referenced by VM_SV_WriteChar().
|
static |
Definition at line 1534 of file svvm_cmds.c.
References MSG_WriteCoord(), OFS_PARM1, server_t::protocol, PRVM_G_FLOAT, sv, VM_SAFEPARMCOUNT, VM_SV_WriteCoord(), and WriteDest().
Referenced by VM_SV_WriteCoord().
|
static |
Definition at line 1553 of file svvm_cmds.c.
References MSG_WriteShort(), OFS_PARM1, PRVM_G_EDICTNUM, VM_SAFEPARMCOUNT, VM_SV_WriteEntity(), and WriteDest().
Referenced by VM_SV_WriteEntity().
|
static |
Definition at line 1522 of file svvm_cmds.c.
References MSG_WriteLong(), OFS_PARM1, PRVM_G_FLOAT, VM_SAFEPARMCOUNT, VM_SV_WriteLong(), and WriteDest().
Referenced by VM_SV_WriteLong().
|
static |
Definition at line 1565 of file svvm_cmds.c.
References buf, Image_Compress(), MSG_WriteShort(), MSG_WriteString(), OFS_PARM1, OFS_PARM2, PRVM_G_FLOAT, PRVM_G_STRING, size, SZ_Write(), VM_SAFEPARMCOUNT, VM_SV_WritePicture(), and WriteDest().
Referenced by VM_SV_WritePicture().
|
static |
Definition at line 1516 of file svvm_cmds.c.
References MSG_WriteShort(), OFS_PARM1, PRVM_G_FLOAT, VM_SAFEPARMCOUNT, VM_SV_WriteShort(), and WriteDest().
Referenced by VM_SV_WriteShort().
|
static |
Definition at line 1540 of file svvm_cmds.c.
References MSG_WriteString(), OFS_PARM1, PRVM_G_STRING, VM_SAFEPARMCOUNT, VM_SV_WriteString(), and WriteDest().
Referenced by VM_SV_WriteString().
|
static |
Definition at line 1546 of file svvm_cmds.c.
References MSG_WriteUnterminatedString(), OFS_PARM1, PRVM_G_STRING, VM_SAFEPARMCOUNT, VM_SV_WriteUnterminatedString(), and WriteDest().
Referenced by VM_SV_WriteUnterminatedString().
|
static |
Definition at line 1456 of file svvm_cmds.c.
References server_static_t::clients, server_t::datagram, entnum, int(), server_static_t::maxclients, MSG_ALL, MSG_BROADCAST, MSG_ENTITY, msg_entity, MSG_INIT, MSG_ONE, OFS_PARM0, PRVM_G_FLOAT, PRVM_NUM_FOR_EDICT, PRVM_PROG_TO_EDICT, PRVM_serverglobaledict, server_t::reliable_datagram, server_t::signon, sv, svs, VM_Warning(), and server_t::writeentitiestoclient_msg.
Referenced by VM_SV_WriteAngle(), VM_SV_WriteByte(), VM_SV_WriteChar(), VM_SV_WriteCoord(), VM_SV_WriteEntity(), VM_SV_WriteLong(), VM_SV_WritePicture(), VM_SV_WriteShort(), VM_SV_WriteString(), and VM_SV_WriteUnterminatedString().
int c_invis |
Definition at line 841 of file svvm_cmds.c.
Referenced by VM_SV_checkclient().
int c_notvis |
Definition at line 841 of file svvm_cmds.c.
Referenced by VM_SV_checkclient().
|
static |
Definition at line 784 of file svvm_cmds.c.
Referenced by VM_SV_checkclient(), and VM_SV_newcheckclient().
|
static |
Definition at line 328 of file svvm_cmds.c.
Referenced by VM_SV_setmodel(), and VM_SV_setmodelindex().
|
static |
Definition at line 328 of file svvm_cmds.c.
Referenced by VM_SV_setmodel(), and VM_SV_setmodelindex().
|
extern |
Definition at line 148 of file sv_main.c.
Referenced by SV_Init(), and VM_SV_AddStat().
|
static |
Definition at line 1714 of file svvm_cmds.c.
Referenced by VM_CustomStats_Clear(), VM_SV_AddStat(), and VM_SV_UpdateCustomStats().
|
static |
Definition at line 1715 of file svvm_cmds.c.
Referenced by VM_CustomStats_Clear(), VM_SV_AddStat(), and VM_SV_UpdateCustomStats().
prvm_builtin_t vm_sv_builtins[] |
Definition at line 3265 of file svvm_cmds.c.
Referenced by SV_VM_Setup().
const char* vm_sv_extensions[] |
client also uses this
Definition at line 11 of file svvm_cmds.c.
Referenced by CL_VM_Init(), PRVM_Init(), and SV_VM_Setup().
const int vm_sv_numbuiltins = sizeof(vm_sv_builtins) / sizeof(prvm_builtin_t) |
Definition at line 3916 of file svvm_cmds.c.
Referenced by SV_VM_Setup().