![]() |
DarkPlaces
Game engine based on the Quake 1 engine by id Software, developed by LadyHavoc
|
|
#include "quakedef.h"
#include "prvm_cmds.h"
#include "csprogs.h"
#include "cl_collision.h"
#include "r_shadow.h"
#include "jpeg.h"
#include "image.h"
Go to the source code of this file.
Data Structures | |
struct | vmparticlespawner_t |
struct | vmparticletheme_t |
Macros | |
#define | CL_HitNetworkBrushModels(move) |
#define | CL_HitNetworkPlayers(move) |
#define | PMF_DUCKED 4 |
#define | PMF_JUMP_HELD 1 |
#define | PMF_LADDER 2 |
#define | PMF_ONGROUND 8 |
#define | PRECACHE_PIC_FROMWAD 1 /* FTEQW, not supported here */ |
#define | PRECACHE_PIC_MIPMAP 8 |
#define | PRECACHE_PIC_NOTPERSISTENT 2 |
#define | REFDEFFLAG_DEAD 4 |
#define | REFDEFFLAG_INTERMISSION 8 |
#define | REFDEFFLAG_JUMPING 2 |
#define | REFDEFFLAG_TELEPORTED 1 |
#define CL_HitNetworkBrushModels | ( | move | ) |
Definition at line 277 of file clvm_cmds.c.
Referenced by VM_CL_tracebox(), and VM_CL_traceline().
#define CL_HitNetworkPlayers | ( | move | ) |
Definition at line 278 of file clvm_cmds.c.
Referenced by VM_CL_tracebox(), and VM_CL_traceline().
#define PMF_DUCKED 4 |
Definition at line 2327 of file clvm_cmds.c.
Referenced by VM_CL_runplayerphysics().
#define PMF_JUMP_HELD 1 |
Definition at line 2325 of file clvm_cmds.c.
Referenced by VM_CL_runplayerphysics().
#define PMF_LADDER 2 |
Definition at line 2326 of file clvm_cmds.c.
#define PMF_ONGROUND 8 |
Definition at line 2328 of file clvm_cmds.c.
Referenced by VM_CL_runplayerphysics(), and VM_CL_V_CalcRefdef().
#define PRECACHE_PIC_FROMWAD 1 /* FTEQW, not supported here */ |
Definition at line 1302 of file clvm_cmds.c.
#define PRECACHE_PIC_MIPMAP 8 |
Definition at line 1305 of file clvm_cmds.c.
Referenced by VM_precache_pic().
#define PRECACHE_PIC_NOTPERSISTENT 2 |
Definition at line 1303 of file clvm_cmds.c.
Referenced by VM_precache_pic().
#define REFDEFFLAG_DEAD 4 |
Definition at line 4956 of file clvm_cmds.c.
Referenced by VM_CL_V_CalcRefdef().
#define REFDEFFLAG_INTERMISSION 8 |
Definition at line 4957 of file clvm_cmds.c.
Referenced by VM_CL_V_CalcRefdef().
#define REFDEFFLAG_JUMPING 2 |
Definition at line 4955 of file clvm_cmds.c.
Referenced by VM_CL_V_CalcRefdef().
#define REFDEFFLAG_TELEPORTED 1 |
Definition at line 4954 of file clvm_cmds.c.
Referenced by VM_CL_V_CalcRefdef().
|
static |
Definition at line 4273 of file clvm_cmds.c.
References CL_GenericHitSuperContentsMask(), CL_PointSuperContents, CL_TraceLine(), CLVM_prog, collision_extendmovelength, trace_t::endpos, trace_t::fraction, maxs, mins, MOVE_NOMONSTERS, NULL, origin, PRVM_clientedictvector, SUPERCONTENTS_BODY, SUPERCONTENTS_SOLID, sv_stepheight, cvar_t::value, VectorAdd, x, and y.
Referenced by CL_movestep().
|
static |
Definition at line 3260 of file clvm_cmds.c.
References cl, CL_GetModelFromEdict(), identitymatrix, Mod_Alias_GetTagMatrix(), model, prvm_edict_t::priv, prvm_edict_t::server, client_state_t::time, VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), and VM_UpdateEdictSkeleton().
Referenced by CL_GetTagMatrix().
void CL_GetEntityMatrix | ( | prvm_prog_t * | prog, |
prvm_edict_t * | ent, | ||
matrix4x4_t * | out, | ||
qbool | viewmatrix ) |
Definition at line 3230 of file clvm_cmds.c.
References angles, CL_GetPitchSign(), forward, r_refdef_view_t::matrix, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_FromVectors(), origin, PRVM_clientedictfloat, PRVM_clientedictvector, PRVM_clientglobalvector, r_refdef, RF_USEAXIS, scale, up, v_forward, v_right, v_up, VectorCopy, VectorScale, and r_refdef_t::view.
Referenced by CL_GetTagMatrix(), and getmatrix().
|
static |
Definition at line 3198 of file clvm_cmds.c.
References CL_GetModelFromEdict(), Matrix4x4_CreateIdentity(), Mod_Alias_GetExtendedTagInfoForIndex(), model, NULL, prvm_edict_t::priv, PRVM_clientedictfloat, r, prvm_edict_t::server, and skin.
Referenced by VM_CL_gettaginfo().
int CL_GetPitchSign | ( | prvm_prog_t * | prog, |
prvm_edict_t * | ent ) |
Definition at line 3222 of file clvm_cmds.c.
References CL_GetModelFromEdict(), mod_alias, and model.
Referenced by CL_GetEntityMatrix().
|
static |
Definition at line 3189 of file clvm_cmds.c.
References CL_GetModelFromEdict(), Mod_Alias_GetTagIndexForName(), model, PRVM_clientedictfloat, and skin.
Referenced by VM_CL_gettagindex().
int CL_GetTagMatrix | ( | prvm_prog_t * | prog, |
matrix4x4_t * | out, | ||
prvm_edict_t * | ent, | ||
int | tagindex, | ||
prvm_vec_t * | returnshadingorigin ) |
Definition at line 3286 of file clvm_cmds.c.
References CL_GetEntityLocalTagMatrix(), CL_GetEntityMatrix(), CL_GetModelFromEdict(), prvm_prog_t::edicts, prvm_edict_t::free, identitymatrix, int(), r_refdef_view_t::matrix, Matrix4x4_Concat(), Matrix4x4_Copy(), Matrix4x4_OriginFromMatrix(), model, PRVM_clientedictedict, PRVM_clientedictfloat, PRVM_EDICT_NUM, r_refdef, ret, RF_VIEWMODEL, tag_entity, tag_index, VectorCopy, and r_refdef_t::view.
Referenced by CL_VM_GetEntitySoundOrigin(), CSQC_AddRenderEdict(), VM_CL_gettaginfo(), and VM_CL_V_CalcRefdef().
|
static |
Definition at line 4342 of file clvm_cmds.c.
References CL_CheckBottom(), CL_GenericHitSuperContentsMask(), CL_LinkEdict(), CL_PointSuperContents, CL_TraceBox(), CL_VM_SetTraceGlobals(), CLVM_prog, 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(), maxs, mins, MOVE_NORMAL, origin, PRVM_clientedictedict, PRVM_clientedictfloat, PRVM_clientedictvector, PRVM_EDICT_TO_PROG, PRVM_PROG_TO_EDICT, trace_t::startsolid, SUPERCONTENTS_LIQUIDSMASK, sv_stepheight, cvar_t::value, VectorAdd, and VectorCopy.
Referenced by VM_CL_walkmove().
|
static |
Definition at line 348 of file clvm_cmds.c.
References angles, avelocity, cl, CL_GenericHitSuperContentsMask(), CL_TraceBox(), collision_extendmovelength, trace_t::endpos, trace_t::fraction, i, maxs, mins, MOVE_NORMAL, client_state_t::movevars_gravity, NULL, origin, PRVM_clientedictfloat, PRVM_clientedictvector, cvar_t::value, VectorAdd, VectorCopy, VectorMA, VectorScale, and velocity.
Referenced by VM_CL_tracetoss().
|
static |
Definition at line 271 of file clvm_cmds.c.
References PRVM_clientglobalfloat, trace_networkentity, and VM_SetTraceGlobals().
Referenced by CL_movestep(), VM_CL_tracebox(), VM_CL_traceline(), and VM_CL_tracetoss().
void CLVM_init_cmd | ( | prvm_prog_t * | prog | ) |
Definition at line 5656 of file clvm_cmds.c.
References NULL, prvm_prog_t::polygonbegin_guess2d, prvm_prog_t::polygonbegin_model, and VM_Cmd_Init().
Referenced by CL_VM_Init().
void CLVM_reset_cmd | ( | prvm_prog_t * | prog | ) |
Definition at line 5663 of file clvm_cmds.c.
References cl, NULL, prvm_prog_t::polygonbegin_guess2d, prvm_prog_t::polygonbegin_model, VM_Cmd_Reset(), client_state_t::world, and World_End().
Referenced by CL_VM_Init().
Definition at line 756 of file clvm_cmds.c.
References cl, cl_viewmodel_scale, client_state_t::csqc_viewangles, client_state_t::csqc_viewmodelmatrixfromengine, client_state_t::csqc_vieworigin, r_refdef_view_t::matrix, Matrix4x4_Concat(), Matrix4x4_ConcatScale(), Matrix4x4_Copy(), Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_QuakeToDuke3D(), r_refdef, v_yshearing, cvar_t::value, r_refdef_t::view, viewmodelmatrix_nobob, and viewmodelmatrix_withbob.
Referenced by CSQC_SetGlobals(), VM_CL_R_ClearScene(), VM_CL_R_SetView(), and VM_CL_V_CalcRefdef().
|
static |
Definition at line 1363 of file clvm_cmds.c.
References dp_fonts, drawfont, dp_fonts_t::f, f, FONT_DEFAULT, int(), dp_fonts_t::maxsize, and PRVM_drawglobalfloat.
Referenced by VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawstring(), and VM_stringwidth().
|
static |
Definition at line 1606 of file clvm_cmds.c.
References dp_fonts, dp_fonts_t::f, i, dp_fonts_t::maxsize, and dp_font_t::title.
Referenced by VM_findfont().
|
static |
Definition at line 1351 of file clvm_cmds.c.
References PRVM_drawglobalvector, v, VectorCopy, and VectorLength2.
Referenced by VM_drawcharacter(), VM_drawcolorcodedstring(), VM_drawstring(), and VM_stringwidth().
|
static |
Definition at line 81 of file clvm_cmds.c.
References max, maxs, min, mins, SetMinMaxSizePRVM(), and VectorCopy.
Referenced by VM_CL_setmodel(), VM_CL_setmodelindex(), and VM_CL_setsize().
|
static |
Definition at line 65 of file clvm_cmds.c.
References CL_LinkEdict(), prvm_prog_t::error_cmd, i, max, maxs, min, mins, PRVM_clientedictvector, size, VectorCopy, and VectorSubtract.
Referenced by SetMinMaxSize().
|
static |
Definition at line 722 of file clvm_cmds.c.
References f, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, S_FindName(), S_StaticSound(), VectorCopy, VM_CL_ambientsound(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ambientsound().
|
static |
Definition at line 2195 of file clvm_cmds.c.
References prvm_prog_t::argc, CL_ParticleBox(), CL_ParticleTrail(), count, flags, int(), NULL, OFS_PARM0, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, OFS_PARM7, particles_alphamax, particles_alphamin, particles_colormax, particles_colormin, particles_fade, PRVM_clientglobalfloat, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, Vector4Set, VectorCopy, VM_CL_boxparticles(), and VM_SAFEPARMCOUNTRANGE.
Referenced by VM_CL_boxparticles().
|
static |
Definition at line 627 of file clvm_cmds.c.
References CL_GenericHitSuperContentsMask(), CL_PointSuperContents, CL_TraceLine(), collision_extendmovelength, trace_t::endpos, trace_t::fraction, maxs, mins, MOVE_NORMAL, NULL, OFS_PARM0, OFS_RETURN, origin, PRVM_clientedictvector, PRVM_G_EDICT, PRVM_G_FLOAT, SUPERCONTENTS_BODY, SUPERCONTENTS_SOLID, sv_stepheight, cvar_t::value, VectorAdd, VM_CL_checkbottom(), VM_SAFEPARMCOUNT, x, and y.
Referenced by VM_CL_checkbottom().
|
static |
Definition at line 4540 of file clvm_cmds.c.
References cl, cls, prvm_edict_t::free, client_static_t::levelmempool, maxs, mins, NULL, OFS_PARM0, OFS_PARM1, OFS_RETURN, origin, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, PRVM_serveredictvector, VectorAdd, VectorCopy, VM_CL_checkpvs(), VM_SAFEPARMCOUNT, VM_Warning(), and client_state_t::worldmodel.
Referenced by VM_CL_checkpvs().
|
static |
Definition at line 2680 of file clvm_cmds.c.
References CL_LinkEdict(), 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, VM_CL_copyentity(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_copyentity().
|
static |
Definition at line 559 of file clvm_cmds.c.
References cl, CL_GenericHitSuperContentsMask(), CL_TraceBox(), collision_extendmovelength, prvm_prog_t::edicts, trace_t::endpos, trace_t::ent, FL_ONGROUND, flags, trace_t::fraction, prvm_edict_t::free, groundentity, int(), maxs, mins, MOVE_NORMAL, NULL, OFS_RETURN, origin, PRVM_clientedictedict, PRVM_clientedictfloat, PRVM_clientedictvector, PRVM_clientglobaledict, PRVM_EDICT_TO_PROG, PRVM_G_FLOAT, PRVM_PROG_TO_EDICT, self, cvar_t::value, VectorCopy, VM_CL_droptofloor(), VM_SAFEPARMCOUNTRANGE, VM_Warning(), and client_state_t::worldmodel.
Referenced by VM_CL_droptofloor().
|
static |
Definition at line 2714 of file clvm_cmds.c.
References CL_Effect(), CON_ERROR, Con_Printf(), Mod_FindName(), model, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, VectorCopy, VM_CL_effect(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_effect().
|
static |
Definition at line 524 of file clvm_cmds.c.
References prvm_prog_t::argc, chain, cl, 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, VM_CL_findbox(), VM_RETURN_EDICT, VM_SAFEPARMCOUNTRANGE, client_state_t::world, and World_EntitiesInBox().
Referenced by VM_CL_findbox().
|
static |
Definition at line 456 of file clvm_cmds.c.
References prvm_prog_t::argc, bound, chain, cl, 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_clientedictfloat, PRVM_clientedictvector, PRVM_EDICT_TO_PROG, PRVM_EDICTFIELDEDICT, PRVM_G_FLOAT, PRVM_G_INT, PRVM_G_VECTOR, solid, SOLID_NOT, sv_gameplayfix_blowupfallenzombies, sv_gameplayfix_findradiusdistancetobox, VectorCopy, VectorMAMAM, VectorSubtract, VM_CL_findradius(), VM_RETURN_EDICT, VM_SAFEPARMCOUNTRANGE, client_state_t::world, and World_EntitiesInBox().
Referenced by VM_CL_findradius().
|
static |
Definition at line 4893 of file clvm_cmds.c.
References CL_GetModelByIndex(), int(), model, modelindex, OFS_PARM0, OFS_PARM1, OFS_RETURN, and PRVM_G_FLOAT.
|
static |
Definition at line 4873 of file clvm_cmds.c.
References CL_GetModelByIndex(), i, int(), model, modelindex, name, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, and PRVM_G_STRING.
|
static |
Definition at line 4000 of file clvm_cmds.c.
References entity_render_t::alpha, cl, entity_render_t::colormap_pantscolor, entity_render_t::colormap_shirtcolor, entity_render_t::colormod, client_state_t::entities, client_state_t::entities_active, entnum, forward, entity_render_t::matrix, Matrix4x4_OriginFromMatrix(), Matrix4x4_ScaleFromMatrix(), Matrix4x4_ToVectors(), entity_render_t::maxs, entity_render_t::mins, client_state_t::num_entities, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, entity_t::render, entity_render_t::render_modellight_ambient, entity_render_t::render_modellight_diffuse, entity_render_t::skinnum, up, v_forward, v_right, v_up, VectorAdd, VectorCopy, VectorMA, VectorNegate, VM_CL_GetEntity(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_GetEntity().
|
static |
Definition at line 2285 of file clvm_cmds.c.
References usercmd_t::buttons, cl, CL_MAX_USERCMDS, usercmd_t::crouch, usercmd_t::forwardmove, frame, usercmd_t::frametime, i, input_angles, input_buttons, input_movevalues, input_timelength, int(), client_state_t::movecmd, OFS_PARM0, OFS_RETURN, client_state_t::playercrouchmaxs, client_state_t::playercrouchmins, client_state_t::playerstandmaxs, client_state_t::playerstandmins, pmove_maxs, pmove_mins, PRVM_clientglobalfloat, PRVM_clientglobalvector, PRVM_G_FLOAT, usercmd_t::sequence, usercmd_t::sidemove, usercmd_t::upmove, VectorCopy, usercmd_t::viewangles, VM_CL_getinputstate(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_getinputstate().
|
static |
Definition at line 733 of file clvm_cmds.c.
References r_refdef_scene_t::ambientintensity, prvm_prog_t::argc, flags, getlight_ambient, getlight_diffuse, getlight_dir, r_refdef_scene_t::lightmapintensity, LP_LIGHTMAP, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, R_CompleteLightPoint(), r_refdef, r_refdef_t::scene, VectorCopy, VectorMA, VM_CL_getlight(), and VM_SAFEPARMCOUNTRANGE.
Referenced by VM_CL_getlight().
|
static |
Definition at line 2272 of file clvm_cmds.c.
References cl, client_state_t::csqc_wantsmousemove, viddef_mode_t::height, in_mouse_x, in_mouse_y, in_windowmouse_x, in_windowmouse_y, cvar_t::integer, key_consoleactive, key_dest, key_game, viddef_t::mode, OFS_RETURN, PRVM_G_VECTOR, VectorSet, vid, vid_conheight, vid_conwidth, VM_CL_getmousepos(), VM_SAFEPARMCOUNT, and viddef_mode_t::width.
Referenced by VM_CL_getmousepos().
|
static |
Definition at line 2396 of file clvm_cmds.c.
References cl, scoreboard_t::colors, dp_strlcpy, dpsnprintf(), scoreboard_t::frags, i, int(), client_state_t::maxclients, scoreboard_t::name, OFS_NULL, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_INT, PRVM_G_STRING, PRVM_SetTempString(), scoreboard_t::qw_entertime, scoreboard_t::qw_movementloss, scoreboard_t::qw_packetloss, scoreboard_t::qw_ping, Sbar_GetSortedPlayerIndex(), Sbar_SortFrags(), client_state_t::scores, VM_CL_getplayerkey(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_getplayerkey().
|
static |
Definition at line 2026 of file clvm_cmds.c.
References cl, f, i, int(), MAX_CL_STATS, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, client_state_t::stats, VM_CL_getstatf(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_getstatf().
|
static |
Definition at line 2047 of file clvm_cmds.c.
References prvm_prog_t::argc, cl, index, int(), MAX_CL_STATS, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_RETURN, PRVM_G_FLOAT, client_state_t::stats, VM_CL_getstati(), VM_SAFEPARMCOUNTRANGE, and VM_Warning().
Referenced by VM_CL_getstati().
|
static |
Definition at line 2082 of file clvm_cmds.c.
References cl, dp_strlcpy, i, int(), MAX_CL_STATS, OFS_NULL, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_INT, PRVM_SetTempString(), client_state_t::stats, VM_CL_getstats(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_getstats().
|
static |
Definition at line 3375 of file clvm_cmds.c.
References CL_GetModelFromEdict(), CL_GetTagIndex(), 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, tag_index, VM_CL_gettagindex(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 3410 of file clvm_cmds.c.
References cl, CL_GetExtendedTagInfo(), CL_GetModelFromEdict(), CL_GetTagMatrix(), Con_DPrintf(), forward, gettaginfo_forward, gettaginfo_name, gettaginfo_offset, gettaginfo_parent, gettaginfo_right, gettaginfo_up, int(), Matrix4x4_ToVectors(), model, NULL, OFS_PARM0, OFS_PARM1, OFS_RETURN, origin, prvm_edict_t::priv, PRVM_clientglobalfloat, PRVM_clientglobalstring, PRVM_clientglobalvector, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, PRVM_NUM_FOR_EDICT, PRVM_SetTempString(), prvm_edict_t::server, strlen(), client_state_t::time, up, v_forward, v_right, v_up, VectorCopy, VectorScale, VM_CL_gettaginfo(), VM_FrameBlendFromFrameGroupBlend(), VM_GenerateFrameGroupBlend(), VM_SAFEPARMCOUNT, VM_UpdateEdictSkeleton(), and VM_Warning().
|
static |
Definition at line 3641 of file clvm_cmds.c.
References vmparticletheme_t::initialized, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, vmparticlespawner_t::themes, vmparticlespawner_t::verified, VM_CL_InitParticleSpawner(), VM_InitParticleSpawner(), VM_ResetParticleTheme(), VM_SAFEPARMCOUNTRANGE, and vmpartspawner.
Referenced by VM_CL_InitParticleSpawner().
|
static |
Definition at line 607 of file clvm_cmds.c.
References cl, dp_strlcpy, i, int(), lightstyle_t::length, client_state_t::lightstyle, lightstyle_t::map, client_state_t::max_lightstyle, MAX_STYLESTRING, OFS_PARM0, OFS_PARM1, PRVM_G_FLOAT, PRVM_G_STRING, strlen(), VM_CL_lightstyle(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_lightstyle().
|
static |
Definition at line 4945 of file clvm_cmds.c.
References name, OFS_PARM0, PRVM_G_STRING, R_GetCubemap(), VM_CL_loadcubemap(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_loadcubemap().
|
static |
Definition at line 2582 of file clvm_cmds.c.
References entity_render_t::allowdecals, alpha, entity_render_t::alpha, angles, cl, CL_GetModelByIndex(), CL_UpdateRenderEntity(), colormod, entity_render_t::colormod, Con_Printf(), prvm_prog_t::edicts, EF_ADDITIVE, EF_DOUBLESIDED, EF_FULLBRIGHT, EF_NODEPTHTEST, EF_NOSHADOW, effects, entity_render_t::effects, entity_render_t::flags, forward, frame, framegroupblend_t::frame, entity_render_t::framegroupblend, prvm_edict_t::free, entity_render_t::glowmod, glowmod, int(), cvar_t::integer, framegroupblend_t::lerp, lhrandom, entity_render_t::matrix, Matrix4x4_CreateFromQuakeEntity(), Matrix4x4_FromVectors(), Matrix4x4_Scale(), client_state_t::max_static_entities, entity_render_t::model, modelindex, client_state_t::num_static_entities, OFS_PARM0, origin, PRVM_clientedictfloat, PRVM_clientedictvector, PRVM_clientglobalvector, PRVM_ED_Free(), PRVM_G_EDICT, r_fullbright, entity_t::render, RENDER_ADDITIVE, RENDER_DOUBLESIDED, RENDER_LIGHT, RENDER_NODEPTHTEST, RENDER_SHADOW, RF_USEAXIS, entity_render_t::scale, scale, skin, entity_render_t::skinnum, framegroupblend_t::start, client_state_t::static_entities, up, v_forward, v_right, v_up, VectorCopy, VectorLength2, VectorNegate, VectorSet, VM_CL_makestatic(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_makestatic().
|
static |
Definition at line 29 of file clvm_cmds.c.
References angles, AngleVectors(), forward, OFS_PARM0, PRVM_clientglobalvector, PRVM_G_VECTOR, right, up, v_forward, v_right, v_up, VectorCopy, VM_CL_makevectors(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_makevectors().
|
static |
Definition at line 2137 of file clvm_cmds.c.
References CL_GetModelByIndex(), model, prvm_prog_t::name, OFS_NULL, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_INT, PRVM_SetEngineString(), VM_CL_modelnameforindex(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_modelnameforindex().
|
static |
Definition at line 707 of file clvm_cmds.c.
References CL_ParticleEffect(), color, count, dir, EFFECT_SVC_PARTICLE, int(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_particle(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_particle().
|
static |
Definition at line 2149 of file clvm_cmds.c.
References CL_ParticleEffectIndexForName(), i, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, VM_CL_particleeffectnum(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_particleeffectnum().
|
static |
Definition at line 3663 of file clvm_cmds.c.
References vmparticletheme_t::initialized, int(), vmparticlespawner_t::max_themes, OFS_PARM0, PRVM_G_FLOAT, vmparticlespawner_t::themes, vmparticlespawner_t::verified, VM_CL_ParticleTheme(), VM_CL_ParticleThemeToGlobals(), VM_SAFEPARMCOUNT, VM_Warning(), and vmpartspawner.
Referenced by VM_CL_ParticleTheme().
|
static |
Definition at line 3734 of file clvm_cmds.c.
References vmparticletheme_t::initialized, int(), vmparticlespawner_t::max_themes, OFS_PARM0, PRVM_G_FLOAT, vmparticlespawner_t::themes, vmparticlespawner_t::verified, VM_CL_ParticleThemeFree(), VM_CL_ParticleThemeToGlobals(), VM_ResetParticleTheme(), VM_SAFEPARMCOUNT, VM_Warning(), and vmpartspawner.
Referenced by VM_CL_ParticleThemeFree().
|
static |
Definition at line 3607 of file clvm_cmds.c.
References vmparticletheme_t::airfriction, vmparticletheme_t::alpha, vmparticletheme_t::alphafade, vmparticletheme_t::angle, vmparticletheme_t::blendmode, vmparticletheme_t::bounce, vmparticletheme_t::color1, vmparticletheme_t::color2, vmparticletheme_t::delaycollision, vmparticletheme_t::delayspawn, vmparticletheme_t::gravity, int(), vmparticletheme_t::lifetime, vmparticletheme_t::liquidfriction, vmparticletheme_t::orientation, vmparticletheme_t::originjitter, particle_airfriction, particle_alpha, particle_alphafade, particle_angle, particle_blendmode, particle_bounce, particle_color1, particle_color2, particle_delaycollision, particle_delayspawn, particle_gravity, particle_liquidfriction, particle_orientation, particle_originjitter, particle_qualityreduction, particle_size, particle_sizeincrease, particle_spin, particle_stainalpha, particle_staincolor1, particle_staincolor2, particle_stainsize, particle_staintex, particle_stretch, particle_tex, particle_time, particle_type, particle_velocityjitter, PRVM_clientglobalfloat, PRVM_clientglobalvector, vmparticletheme_t::qualityreduction, vmparticletheme_t::size, vmparticletheme_t::sizeincrease, vmparticletheme_t::spin, vmparticletheme_t::stainalpha, vmparticletheme_t::staincolor1, vmparticletheme_t::staincolor2, vmparticletheme_t::stainsize, vmparticletheme_t::staintex, vmparticletheme_t::stretch, vmparticletheme_t::tex, true, vmparticletheme_t::typeindex, and vmparticletheme_t::velocityjitter.
Referenced by VM_CL_ParticleThemeSave().
|
static |
Definition at line 3692 of file clvm_cmds.c.
References prvm_prog_t::argc, vmparticletheme_t::initialized, int(), vmparticlespawner_t::max_themes, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, vmparticlespawner_t::themes, vmparticlespawner_t::verified, VM_CL_ParticleThemeFromGlobals(), VM_CL_ParticleThemeSave(), VM_SAFEPARMCOUNTRANGE, VM_Warning(), and vmpartspawner.
Referenced by VM_CL_ParticleThemeSave().
|
static |
Definition at line 3573 of file clvm_cmds.c.
References vmparticletheme_t::airfriction, vmparticletheme_t::alpha, vmparticletheme_t::alphafade, vmparticletheme_t::angle, vmparticletheme_t::blendmode, vmparticletheme_t::bounce, vmparticletheme_t::color1, vmparticletheme_t::color2, vmparticletheme_t::delaycollision, vmparticletheme_t::delayspawn, vmparticletheme_t::gravity, vmparticletheme_t::lifetime, vmparticletheme_t::liquidfriction, vmparticletheme_t::orientation, vmparticletheme_t::originjitter, particle_airfriction, particle_alpha, particle_alphafade, particle_angle, particle_blendmode, particle_bounce, particle_color1, particle_color2, particle_delaycollision, particle_delayspawn, particle_gravity, particle_liquidfriction, particle_orientation, particle_originjitter, particle_qualityreduction, particle_size, particle_sizeincrease, particle_spin, particle_stainalpha, particle_staincolor1, particle_staincolor2, particle_stainsize, particle_staintex, particle_stretch, particle_tex, particle_time, particle_type, particle_velocityjitter, PRVM_clientglobalfloat, PRVM_clientglobalvector, vmparticletheme_t::qualityreduction, vmparticletheme_t::size, vmparticletheme_t::sizeincrease, vmparticletheme_t::spin, vmparticletheme_t::stainalpha, vmparticletheme_t::staincolor1, vmparticletheme_t::staincolor2, vmparticletheme_t::stainsize, vmparticletheme_t::staintex, vmparticletheme_t::stretch, vmparticletheme_t::tex, vmparticletheme_t::typeindex, VectorSet, and vmparticletheme_t::velocityjitter.
Referenced by VM_CL_ParticleTheme(), VM_CL_ParticleThemeFree(), and VM_CL_ResetParticle().
|
static |
Definition at line 698 of file clvm_cmds.c.
References CL_PointSuperContents, Mod_Q1BSP_NativeContentsFromSuperContents(), OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_pointcontents(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_pointcontents().
|
static |
Definition at line 2179 of file clvm_cmds.c.
References prvm_prog_t::argc, CL_ParticleEffect(), f, i, int(), n, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_G_FLOAT, PRVM_G_VECTOR, v, VectorCopy, VM_CL_pointparticles(), and VM_SAFEPARMCOUNTRANGE.
Referenced by VM_CL_pointparticles().
|
static |
Definition at line 233 of file clvm_cmds.c.
References MAX_EDICTS, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, S_FindName(), S_StartSound(), VectorCopy, VM_CL_pointsound(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_pointsound().
|
static |
Definition at line 419 of file clvm_cmds.c.
References cl, client_state_t::csqc_model_precache, i, model_t::loaded, MAX_MODELS, Mod_ForName(), client_state_t::model_name, name, NULL, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, VM_CL_precache_model(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 1229 of file clvm_cmds.c.
References f, r_refdef_view_t::frustum_x, r_refdef_view_t::frustum_y, cvar_t::integer, r_refdef_view_t::matrix, Matrix4x4_Invert_Full(), Matrix4x4_Transform(), OFS_PARM0, OFS_RETURN, PRVM_G_VECTOR, r_refdef, v, v_flipped, VectorCopy, VectorSet, vid_conheight, vid_conwidth, r_refdef_t::view, VM_CL_project(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_project().
|
static |
Definition at line 1154 of file clvm_cmds.c.
References prvm_prog_t::argc, Con_DPrintf(), CSQC_UpdateView(), forward, prvm_prog_t::functions, int(), LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, r_refdef_scene_t::lights, Matrix4x4_FromVectors(), MAX_DLIGHTS, MAX_LIGHTSTYLES, NULL, r_refdef_scene_t::numlights, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, pflags, PFLAGS_CORONA, PFLAGS_FULLDYNAMIC, PFLAGS_NOSHADOW, PRVM_clientfunction, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, r_refdef, R_RTLight_Update(), r_refdef_t::scene, style, Sys_DirtyTime(), r_refdef_scene_t::templights, mfunction_t::totaltime, up, v_forward, v_right, v_up, VectorCopy, VectorScale, VM_CL_R_AddDynamicLight(), and VM_SAFEPARMCOUNTRANGE.
|
static |
Definition at line 790 of file clvm_cmds.c.
References cl, CSQC_AddRenderEdict(), CSQC_Predraw(), CSQC_RelinkAllEntities(), CSQC_Think(), CSQC_UpdateView(), client_state_t::csqcrenderentities, drawmask, prvm_prog_t::edicts, entity_render_t::entitynumber, prvm_edict_t::free, prvm_prog_t::functions, i, int(), prvm_prog_t::num_edicts, OFS_PARM0, PRVM_clientedictfloat, PRVM_clientfunction, PRVM_clientglobalfloat, PRVM_G_FLOAT, Sys_DirtyTime(), client_state_t::time, time, mfunction_t::totaltime, VM_CL_R_AddEntities(), and VM_SAFEPARMCOUNT.
|
static |
Definition at line 825 of file clvm_cmds.c.
References CSQC_AddRenderEdict(), CSQC_UpdateView(), prvm_prog_t::functions, OFS_PARM0, PRVM_clientfunction, PRVM_G_EDICT, Sys_DirtyTime(), mfunction_t::totaltime, VM_CL_R_AddEntity(), and VM_SAFEPARMCOUNT.
|
static |
Definition at line 769 of file clvm_cmds.c.
References cl, CL_MeshEntities_Scene_Clear(), csqc_original_r_refdef_view, CSQC_R_RecalcView(), client_state_t::csqc_vidvars, client_state_t::csqc_viewangles, client_state_t::csqc_viewanglesfromengine, client_state_t::csqc_vieworigin, client_state_t::csqc_vieworiginfromengine, csqc_vidvars_t::drawcrosshair, csqc_vidvars_t::drawenginesbar, csqc_vidvars_t::drawworld, cvar_t::integer, r_refdef_scene_t::numentities, r_refdef_scene_t::numlights, prvm_prog_t::polygonbegin_guess2d, r_drawworld, r_refdef, r_refdef_t::scene, VectorCopy, r_refdef_t::view, VM_CL_R_ClearScene(), and VM_SAFEPARMCOUNT.
|
static |
Definition at line 4131 of file clvm_cmds.c.
References prvm_prog_t::argc, CL_Mesh_Scene, CL_Mesh_UI, dp_strlcpy, int(), mod(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, prvm_prog_t::polygonbegin_drawflags, prvm_prog_t::polygonbegin_guess2d, prvm_prog_t::polygonbegin_model, prvm_prog_t::polygonbegin_numvertices, prvm_prog_t::polygonbegin_texname, PRVM_G_FLOAT, PRVM_G_STRING, VM_CL_R_PolygonBegin(), and VM_SAFEPARMCOUNTRANGE.
|
static |
Definition at line 4202 of file clvm_cmds.c.
References csqc_polygons_defaultmaterial_nocullface, i, cvar_t::integer, MATERIALFLAG_ALPHA, MATERIALFLAG_ALPHAGEN_VERTEX, MATERIALFLAG_BLENDED, MATERIALFLAG_FULLBRIGHT, MATERIALFLAG_NOCULLFACE, MATERIALFLAG_NOSHADOW, MATERIALFLAG_VERTEXCOLOR, MATERIALFLAG_WALL, mod(), Mod_BuildNormals(), Mod_Mesh_AddSurface(), Mod_Mesh_AddTriangle(), Mod_Mesh_GetTexture(), Mod_Mesh_IndexForVertex(), NULL, msurface_t::num_firsttriangle, msurface_t::num_firstvertex, msurface_t::num_triangles, msurface_t::num_vertices, prvm_prog_t::polygonbegin_drawflags, prvm_prog_t::polygonbegin_model, prvm_prog_t::polygonbegin_numvertices, prvm_prog_t::polygonbegin_texname, prvm_prog_t::polygonbegin_vertexdata, TEXF_ALPHA, VM_CL_R_PolygonEnd(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 4165 of file clvm_cmds.c.
References a, max, Mem_Realloc, mod(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, prvm_prog_t::polygonbegin_maxvertices, prvm_prog_t::polygonbegin_model, prvm_prog_t::polygonbegin_numvertices, prvm_prog_t::polygonbegin_vertexdata, prvm_prog_t::progs_mempool, PRVM_G_FLOAT, PRVM_G_VECTOR, tc, v, VM_CL_R_PolygonVertex(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 4090 of file clvm_cmds.c.
References CL_MeshEntities_Scene_FinalizeRenderEntity(), CL_UpdateEntityShading(), CL_UpdateViewEntities(), csqc_main_r_refdef_view, csqc_original_r_refdef_view, CSQC_UpdateView(), prvm_prog_t::functions, r_refdef_view_t::height, r_refdef_view_t::ismain, NULL, prvm_prog_t::polygonbegin_guess2d, PRVM_clientfunction, r_refdef, R_RenderView(), Sys_DirtyTime(), mfunction_t::totaltime, r_refdef_t::view, VM_CL_R_RenderScene(), VM_SAFEPARMCOUNT, r_refdef_view_t::width, r_refdef_view_t::x, and r_refdef_view_t::y.
|
static |
Definition at line 840 of file clvm_cmds.c.
References prvm_prog_t::argc, cl, csqc_lowres, CSQC_R_RecalcView(), client_state_t::csqc_vidvars, client_state_t::csqc_viewangles, client_state_t::csqc_vieworigin, csqc_vidvars_t::drawcrosshair, csqc_vidvars_t::drawenginesbar, DrawQ_RecalcView(), csqc_vidvars_t::drawworld, f, r_refdef_t::fog_alpha, r_refdef_t::fog_blue, r_refdef_t::fog_density, r_refdef_t::fog_end, r_refdef_t::fog_fadedepth, r_refdef_t::fog_green, r_refdef_t::fog_height, r_refdef_t::fog_red, r_refdef_t::fog_start, r_refdef_view_t::frustum_x, r_refdef_view_t::frustum_y, r_refdef_view_t::height, int(), cvar_t::integer, r_refdef_view_t::ismain, r_refdef_view_t::isoverlay, M_PI, viddef_t::mode, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_RETURN, r_refdef_view_t::ortho_x, r_refdef_view_t::ortho_y, PRVM_G_FLOAT, PRVM_G_VECTOR, r_refdef_view_t::quality, r_drawworld, r_refdef, scale, r_refdef_view_t::useperspective, cvar_t::value, VectorCopy, VectorScale, VectorSet, VF_ANGLES, VF_ANGLES_X, VF_ANGLES_Y, VF_ANGLES_Z, VF_CL_VIEWANGLES, VF_CL_VIEWANGLES_X, VF_CL_VIEWANGLES_Y, VF_CL_VIEWANGLES_Z, VF_CLEARSCREEN, VF_DRAWCROSSHAIR, VF_DRAWENGINESBAR, VF_DRAWWORLD, VF_FOG_ALPHA, VF_FOG_COLOR, VF_FOG_COLOR_B, VF_FOG_COLOR_G, VF_FOG_COLOR_R, VF_FOG_DENSITY, VF_FOG_END, VF_FOG_FADEDEPTH, VF_FOG_HEIGHT, VF_FOG_START, VF_FOV, VF_FOVX, VF_FOVY, VF_MAINVIEW, VF_MIN, VF_MIN_X, VF_MIN_Y, VF_MINFPS_QUALITY, VF_ORIGIN, VF_ORIGIN_X, VF_ORIGIN_Y, VF_ORIGIN_Z, VF_PERSPECTIVE, VF_SIZE, VF_SIZE_X, VF_SIZE_Y, VF_VIEWPORT, vid, vid_conwidth, r_refdef_t::view, client_state_t::viewangles, VM_CL_R_SetView(), VM_SAFEPARMCOUNTRANGE, VM_Warning(), r_refdef_view_t::width, viddef_mode_t::width, r_refdef_view_t::x, and r_refdef_view_t::y.
|
static |
Definition at line 2508 of file clvm_cmds.c.
References cl_message, cls, MSG_ReadAngle(), OFS_RETURN, client_static_t::protocol, PRVM_G_FLOAT, VM_CL_ReadAngle(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadAngle().
|
static |
Definition at line 2473 of file clvm_cmds.c.
References cl_message, MSG_ReadByte, OFS_RETURN, PRVM_G_FLOAT, VM_CL_ReadByte(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadByte().
|
static |
Definition at line 2480 of file clvm_cmds.c.
References cl_message, MSG_ReadChar, OFS_RETURN, PRVM_G_FLOAT, VM_CL_ReadChar(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadChar().
|
static |
Definition at line 2501 of file clvm_cmds.c.
References cl_message, cls, MSG_ReadCoord(), OFS_RETURN, client_static_t::protocol, PRVM_G_FLOAT, VM_CL_ReadCoord(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadCoord().
|
static |
Definition at line 2525 of file clvm_cmds.c.
References cl_message, MSG_ReadFloat, OFS_RETURN, PRVM_G_FLOAT, VM_CL_ReadFloat(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadFloat().
|
static |
Definition at line 2494 of file clvm_cmds.c.
References cl_message, MSG_ReadLong, OFS_RETURN, PRVM_G_FLOAT, VM_CL_ReadLong(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadLong().
|
static |
Definition at line 2533 of file clvm_cmds.c.
References buf, CACHEPICFLAG_FAILONMISSING, CACHEPICFLAG_NOTPERSISTENT, cl_message, cl_readpicture_force, cl_readstring, data, Draw_CachePic_Flags(), Draw_IsPicLoaded(), Draw_NewPic(), i, image_height, image_width, cvar_t::integer, JPEG_LoadImage_BGRA(), Mem_Alloc, Mem_Free, MSG_ReadByte, MSG_ReadBytes(), MSG_ReadShort, MSG_ReadString_len(), name, NULL, OFS_RETURN, PRVM_G_INT, PRVM_SetTempString(), size, tempmempool, TEXF_CLAMP, TEXTYPE_BGRA, VM_CL_ReadPicture(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadPicture().
|
static |
Definition at line 2487 of file clvm_cmds.c.
References cl_message, MSG_ReadShort, OFS_RETURN, PRVM_G_FLOAT, VM_CL_ReadShort(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadShort().
|
static |
Definition at line 2515 of file clvm_cmds.c.
References cl_message, cl_readstring, MSG_ReadString_len(), OFS_RETURN, PRVM_G_INT, PRVM_SetTempString(), VM_CL_ReadString(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_ReadString().
|
static |
Definition at line 2466 of file clvm_cmds.c.
References CF_CLIENT, Cmd_AddCommand(), NULL, OFS_PARM0, PRVM_G_STRING, VM_CL_registercmd(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_registercmd().
|
static |
Definition at line 3651 of file clvm_cmds.c.
References vmparticlespawner_t::themes, vmparticlespawner_t::verified, VM_CL_ParticleThemeToGlobals(), VM_CL_ResetParticle(), VM_SAFEPARMCOUNT, VM_Warning(), and vmpartspawner.
Referenced by VM_CL_ResetParticle().
|
static |
Definition at line 4905 of file clvm_cmds.c.
References a, AngleVectorsFLU(), CL_RotateMoves(), Matrix4x4_FromVectors(), OFS_PARM0, PRVM_G_VECTOR, v, VectorCopy, VM_CL_RotateMoves(), VM_SAFEPARMCOUNT, x, y, and z.
Referenced by VM_CL_RotateMoves().
|
static |
Definition at line 2329 of file clvm_cmds.c.
References prvm_prog_t::argc, usercmd_t::buttons, usercmd_t::canjump, CL_ClientMovement_PlayerMove_Frame(), cl_clientmovement_state_t::cmd, usercmd_t::crouch, cl_clientmovement_state_t::crouched, prvm_prog_t::edicts, usercmd_t::forwardmove, usercmd_t::frametime, input_angles, input_buttons, input_movevalues, input_timelength, int(), usercmd_t::jump, cl_clientmovement_state_t::maxs, maxs, cl_clientmovement_state_t::mins, mins, NULL, OFS_PARM0, cl_clientmovement_state_t::onground, cl_clientmovement_state_t::origin, origin, PMF_DUCKED, PMF_JUMP_HELD, PMF_ONGROUND, pmove_maxs, pmove_mins, pmove_org, pmove_vel, PRVM_clientedictfloat, PRVM_clientedictvector, PRVM_clientglobalfloat, PRVM_clientglobalvector, PRVM_G_EDICT, cl_clientmovement_state_t::self, usercmd_t::sidemove, usercmd_t::upmove, VectorCopy, cl_clientmovement_state_t::velocity, velocity, usercmd_t::viewangles, VM_CL_runplayerphysics(), VM_SAFEPARMCOUNTRANGE, and cl_clientmovement_state_t::waterjumptime.
Referenced by VM_CL_runplayerphysics().
|
static |
Definition at line 4522 of file clvm_cmds.c.
References cl, InfoString_GetValue(), OFS_PARM0, OFS_RETURN, PRVM_G_INT, PRVM_G_STRING, PRVM_SetTempString(), client_state_t::qw_serverinfo, strlen(), VM_CL_serverkey(), VM_SAFEPARMCOUNT, and VM_TEMPSTRING_MAXSIZE.
Referenced by VM_CL_serverkey().
|
static |
Definition at line 3139 of file clvm_cmds.c.
References CL_GetModelByIndex(), Con_DPrintf(), prvm_prog_t::edicts, prvm_edict_t::free, int(), Mod_Alias_GetTagIndexForName(), model, modelindex, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_clientedictedict, PRVM_clientedictfloat, PRVM_EDICT_TO_PROG, PRVM_G_EDICT, PRVM_G_STRING, PRVM_NUM_FOR_EDICT, skin, tag_entity, tag_index, VM_CL_setattachment(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 2264 of file clvm_cmds.c.
References cl, cl_ignoremousemoves, client_state_t::csqc_wantsmousemove, OFS_PARM0, PRVM_G_FLOAT, VM_CL_setcursormode(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_setcursormode().
|
static |
Definition at line 2453 of file clvm_cmds.c.
References cl, client_state_t::csqc_listenermatrix, client_state_t::csqc_usecsqclistener, forward, Matrix4x4_FromVectors(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, origin, PRVM_G_VECTOR, up, VectorCopy, VectorNegate, VM_CL_setlistener(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_setlistener().
|
static |
Definition at line 90 of file clvm_cmds.c.
References cl, client_state_t::csqc_model_precache, i, MAX_MODELS, mod(), model, client_state_t::model_precache, modelindex, NULL, OFS_PARM0, OFS_PARM1, PRVM_clientedictfloat, PRVM_clientedictstring, PRVM_G_EDICT, PRVM_G_STRING, PRVM_SetEngineString(), SetMinMaxSize(), vec3_origin, VM_CL_setmodel(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 2100 of file clvm_cmds.c.
References CL_GetModelByIndex(), i, int(), model, modelindex, prvm_prog_t::name, OFS_PARM0, OFS_PARM1, PRVM_clientedictfloat, PRVM_clientedictstring, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_SetEngineString(), SetMinMaxSize(), vec3_origin, VM_CL_setmodelindex(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_setmodelindex().
|
static |
Definition at line 41 of file clvm_cmds.c.
References CL_LinkEdict(), prvm_prog_t::edicts, prvm_edict_t::free, prvm_edict_private_t::mark, OFS_PARM0, OFS_PARM1, origin, prvm_edict_t::priv, PRVM_clientedictvector, PRVM_EDICT_MARK_SETORIGIN_CAUGHT, PRVM_EDICT_MARK_WAIT_FOR_SETORIGIN, PRVM_G_EDICT, PRVM_G_VECTOR, prvm_edict_t::required, VectorCopy, VM_CL_setorigin(), VM_SAFEPARMCOUNT, and VM_Warning().
|
static |
Definition at line 2251 of file clvm_cmds.c.
References cl, host, client_state_t::islocalgame, OFS_PARM0, host_static_t::paused, PRVM_G_FLOAT, VM_CL_setpause(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_setpause().
|
static |
Definition at line 2318 of file clvm_cmds.c.
References cl, OFS_PARM0, PRVM_G_FLOAT, client_state_t::sensitivityscale, VM_CL_setsensitivityscale(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_setsensitivityscale().
|
static |
Definition at line 142 of file clvm_cmds.c.
References CL_LinkEdict(), 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_CL_setsize(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_CL_setsize().
|
static |
Definition at line 4624 of file clvm_cmds.c.
References cl, CL_GetModelByIndex(), 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, client_state_t::time, VM_FrameBlendFromFrameGroupBlend(), and VM_GenerateFrameGroupBlend().
|
static |
Definition at line 4841 of file clvm_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 4600 of file clvm_cmds.c.
References CL_GetModelByIndex(), cls, i, identitymatrix, int(), client_static_t::levelmempool, MAX_EDICTS, Mem_Alloc, model, skeleton_t::model, modelindex, OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, skeleton_t::relativetransforms, and prvm_prog_t::skeletons.
|
static |
Definition at line 4862 of file clvm_cmds.c.
References int(), MAX_EDICTS, Mem_Free, NULL, OFS_PARM0, PRVM_G_FLOAT, skeletonindex, and prvm_prog_t::skeletons.
|
static |
Definition at line 4705 of file clvm_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 4741 of file clvm_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 4677 of file clvm_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 4691 of file clvm_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 4717 of file clvm_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 4666 of file clvm_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 4792 of file clvm_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 4814 of file clvm_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 4772 of file clvm_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 168 of file clvm_cmds.c.
References prvm_prog_t::argc, CHANNELFLAG_FORCELOOP, CHANNELFLAG_FULLVOLUME, CHANNELFLAG_PAUSED, CHANNELFLAG_RELIABLE, cl, CL_VM_GetEntitySoundOrigin(), entity(), flags, int(), IS_CHAN, MAX_EDICTS, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, PRVM_clientglobalfloat, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_NUM_FOR_EDICT, S_FindName(), S_StartSound_StartPosition_Flags(), client_state_t::time, VM_CL_sound(), VM_SAFEPARMCOUNTRANGE, and VM_Warning().
Referenced by VM_CL_sound().
|
static |
Definition at line 264 of file clvm_cmds.c.
References PRVM_ED_Alloc(), and VM_RETURN_EDICT.
|
static |
Definition at line 3764 of file clvm_cmds.c.
References vmparticletheme_t::airfriction, vmparticletheme_t::alpha, vmparticletheme_t::alphafade, vmparticletheme_t::angle, prvm_prog_t::argc, vmparticletheme_t::blendmode, vmparticletheme_t::bounce, cl, CL_NewParticle(), vmparticletheme_t::color1, vmparticletheme_t::color2, particle_t::delayedspawn, vmparticletheme_t::delayspawn, dir, vmparticletheme_t::gravity, int(), vmparticletheme_t::lifetime, vmparticletheme_t::liquidfriction, vmparticlespawner_t::max_themes, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_RETURN, vmparticletheme_t::orientation, vmparticletheme_t::originjitter, particle_airfriction, particle_alpha, particle_alphafade, particle_angle, particle_blendmode, particle_bounce, particle_color1, particle_color2, particle_delayspawn, particle_gravity, particle_liquidfriction, particle_orientation, particle_originjitter, particle_qualityreduction, particle_size, particle_sizeincrease, particle_spin, particle_stainalpha, particle_staincolor1, particle_staincolor2, particle_stainsize, particle_staintex, particle_stretch, particle_tex, particle_time, particle_type, particle_velocityjitter, PRVM_clientglobalfloat, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, vmparticletheme_t::qualityreduction, vmparticletheme_t::size, vmparticletheme_t::sizeincrease, vmparticletheme_t::spin, vmparticletheme_t::stainalpha, vmparticletheme_t::staincolor1, vmparticletheme_t::staincolor2, vmparticletheme_t::stainsize, vmparticletheme_t::staintex, vmparticletheme_t::stretch, vmparticletheme_t::tex, vmparticlespawner_t::themes, client_state_t::time, vmparticletheme_t::typeindex, VectorCopy, vmparticletheme_t::velocityjitter, vmparticlespawner_t::verified, VM_CL_SpawnParticle(), VM_SAFEPARMCOUNTRANGE, VM_Warning(), and vmpartspawner.
Referenced by VM_CL_SpawnParticle().
|
static |
Definition at line 3886 of file clvm_cmds.c.
References vmparticletheme_t::airfriction, vmparticletheme_t::alpha, vmparticletheme_t::alphafade, vmparticletheme_t::angle, prvm_prog_t::argc, vmparticletheme_t::blendmode, vmparticletheme_t::bounce, cl, CL_NewParticle(), vmparticletheme_t::color1, vmparticletheme_t::color2, particle_t::delayedspawn, dir, vmparticletheme_t::gravity, int(), vmparticletheme_t::lifetime, vmparticletheme_t::liquidfriction, vmparticlespawner_t::max_themes, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM4, OFS_RETURN, vmparticletheme_t::orientation, vmparticletheme_t::originjitter, particle_airfriction, particle_alpha, particle_alphafade, particle_angle, particle_blendmode, particle_bounce, particle_color1, particle_color2, particle_gravity, particle_liquidfriction, particle_orientation, particle_originjitter, particle_qualityreduction, particle_size, particle_sizeincrease, particle_spin, particle_stainalpha, particle_staincolor1, particle_staincolor2, particle_stainsize, particle_staintex, particle_stretch, particle_tex, particle_time, particle_type, particle_velocityjitter, PRVM_clientglobalfloat, PRVM_clientglobalvector, PRVM_G_FLOAT, PRVM_G_VECTOR, vmparticletheme_t::qualityreduction, vmparticletheme_t::size, vmparticletheme_t::sizeincrease, vmparticletheme_t::spin, vmparticletheme_t::stainalpha, vmparticletheme_t::staincolor1, vmparticletheme_t::staincolor2, vmparticletheme_t::stainsize, vmparticletheme_t::staintex, vmparticletheme_t::stretch, vmparticletheme_t::tex, vmparticlespawner_t::themes, client_state_t::time, vmparticletheme_t::typeindex, VectorCopy, vmparticletheme_t::velocityjitter, vmparticlespawner_t::verified, VM_CL_SpawnParticleDelayed(), VM_SAFEPARMCOUNTRANGE, VM_Warning(), and vmpartspawner.
Referenced by VM_CL_SpawnParticleDelayed().
|
static |
Definition at line 3104 of file clvm_cmds.c.
References cl, CL_NewBeam(), client_state_t::model_beam, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_EDICTNUM, PRVM_G_VECTOR, VectorCopy, VM_CL_te_beam(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_beam().
|
static |
Definition at line 2729 of file clvm_cmds.c.
References CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_BLOOD, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_blood(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_blood().
|
static |
Definition at line 2742 of file clvm_cmds.c.
References CL_ParticleEffect(), EFFECT_TE_BLOOD, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_bloodshower(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_bloodshower().
|
static |
Definition at line 2908 of file clvm_cmds.c.
References CL_AllocLightFlash(), CL_FindNonSolidLocation(), LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, Matrix4x4_CreateTranslate(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_customflash(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_customflash().
|
static |
Definition at line 2984 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_EXPLOSION, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_r_exp3, vec3_origin, VectorCopy, VM_CL_te_explosion(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_explosion().
|
static |
Definition at line 3050 of file clvm_cmds.c.
References cl, CL_AllocLightFlash(), CL_FindNonSolidLocation(), CL_ParticleExplosion2(), color, int(), LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, Matrix4x4_CreateTranslate(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, palette_rgb, PRVM_G_FLOAT, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_r_exp3, VectorCopy, VM_CL_te_explosion2(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_explosion2().
|
static |
Definition at line 2885 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_EXPLOSIONQUAD, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_r_exp3, vec3_origin, VectorCopy, VM_CL_te_explosionquad(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_explosionquad().
|
static |
Definition at line 2762 of file clvm_cmds.c.
References CL_AllocLightFlash(), CL_FindNonSolidLocation(), CL_ParticleExplosion(), LIGHTFLAG_NORMALMODE, LIGHTFLAG_REALTIMEMODE, Matrix4x4_CreateTranslate(), NULL, OFS_PARM0, OFS_PARM1, PRVM_G_VECTOR, VectorCopy, VM_CL_te_explosionrgb(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_explosionrgb().
|
static |
Definition at line 3125 of file clvm_cmds.c.
References CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_FLAMEJET, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_flamejet(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_flamejet().
|
static |
Definition at line 2921 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), cl_sound_ric_gunshot, EFFECT_TE_GUNSHOT, cvar_t::integer, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, vec3_origin, VectorCopy, VM_CL_te_gunshot(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_gunshot().
|
static |
Definition at line 2822 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), cl_sound_ric_gunshot, EFFECT_TE_GUNSHOTQUAD, cvar_t::integer, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, vec3_origin, VectorCopy, VM_CL_te_gunshotquad(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_gunshotquad().
|
static |
Definition at line 3020 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_KNIGHTSPIKE, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_knighthit, vec3_origin, VectorCopy, VM_CL_te_knightspike(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_knightspike().
|
static |
Definition at line 3032 of file clvm_cmds.c.
References CL_ParticleEffect(), EFFECT_TE_LAVASPLASH, NULL, OFS_PARM0, PRVM_G_VECTOR, vec3_origin, VectorCopy, VM_CL_te_lavasplash(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_lavasplash().
|
static |
Definition at line 3074 of file clvm_cmds.c.
References cl, CL_NewBeam(), client_state_t::model_bolt, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_EDICTNUM, PRVM_G_VECTOR, VectorCopy, VM_CL_te_lightning1(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_lightning1().
|
static |
Definition at line 3084 of file clvm_cmds.c.
References cl, CL_NewBeam(), client_state_t::model_bolt2, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_EDICTNUM, PRVM_G_VECTOR, VectorCopy, VM_CL_te_lightning2(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_lightning2().
|
static |
Definition at line 3094 of file clvm_cmds.c.
References cl, CL_NewBeam(), client_state_t::model_bolt3, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_EDICTNUM, PRVM_G_VECTOR, VectorCopy, VM_CL_te_lightning3(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_lightning3().
|
static |
Definition at line 2776 of file clvm_cmds.c.
References CL_ParticleCube(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_particlecube(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_particlecube().
|
static |
Definition at line 2787 of file clvm_cmds.c.
References CL_ParticleRain(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_particlerain(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_particlerain().
|
static |
Definition at line 2798 of file clvm_cmds.c.
References CL_ParticleRain(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_particlesnow(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_particlesnow().
|
static |
Definition at line 3114 of file clvm_cmds.c.
References CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_PLASMABURN, NULL, OFS_PARM0, PRVM_G_VECTOR, vec3_origin, VectorCopy, VM_CL_te_plasmaburn(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_plasmaburn().
|
static |
Definition at line 2897 of file clvm_cmds.c.
References CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_SMALLFLASH, NULL, OFS_PARM0, PRVM_G_VECTOR, vec3_origin, VectorCopy, VM_CL_te_smallflash(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_smallflash().
|
static |
Definition at line 2809 of file clvm_cmds.c.
References CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_SPARK, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, VM_CL_te_spark(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_spark().
|
static |
Definition at line 2944 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_SPIKE, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, vec3_origin, VectorCopy, VM_CL_te_spike(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_spike().
|
static |
Definition at line 2845 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_SPIKEQUAD, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, vec3_origin, VectorCopy, VM_CL_te_spikequad(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_spikequad().
|
static |
Definition at line 2964 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_SUPERSPIKE, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, vec3_origin, VectorCopy, VM_CL_te_superspike(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_superspike().
|
static |
Definition at line 2865 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_SUPERSPIKEQUAD, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_ric1, client_state_t::sfx_ric2, client_state_t::sfx_ric3, client_state_t::sfx_tink1, vec3_origin, VectorCopy, VM_CL_te_superspikequad(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_superspikequad().
|
static |
Definition at line 2996 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_TAREXPLOSION, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_r_exp3, vec3_origin, VectorCopy, VM_CL_te_tarexplosion(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_tarexplosion().
|
static |
Definition at line 3041 of file clvm_cmds.c.
References CL_ParticleEffect(), EFFECT_TE_TELEPORT, NULL, OFS_PARM0, PRVM_G_VECTOR, vec3_origin, VectorCopy, VM_CL_te_teleport(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_teleport().
|
static |
Definition at line 3008 of file clvm_cmds.c.
References cl, CL_FindNonSolidLocation(), CL_ParticleEffect(), EFFECT_TE_WIZSPIKE, NULL, OFS_PARM0, PRVM_G_VECTOR, S_StartSound(), client_state_t::sfx_wizhit, vec3_origin, VectorCopy, VM_CL_te_wizspike(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_te_wizspike().
|
static |
Definition at line 320 of file clvm_cmds.c.
References mfunction_t::builtinsprofile, CL_GenericHitSuperContentsMask(), CL_HitNetworkBrushModels, CL_HitNetworkPlayers, CL_TraceBox(), CL_VM_SetTraceGlobals(), 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, v1, v2, cvar_t::value, VectorCopy, VM_CL_tracebox(), VM_SAFEPARMCOUNTRANGE, and prvm_prog_t::xfunction.
Referenced by VM_CL_tracebox().
|
static |
Definition at line 281 of file clvm_cmds.c.
References mfunction_t::builtinsprofile, CL_GenericHitSuperContentsMask(), CL_HitNetworkBrushModels, CL_HitNetworkPlayers, CL_TraceLine(), CL_VM_SetTraceGlobals(), 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, v1, v2, cvar_t::value, VectorCopy, VM_CL_traceline(), VM_SAFEPARMCOUNTRANGE, and prvm_prog_t::xfunction.
Referenced by VM_CL_traceline().
|
static |
Definition at line 393 of file clvm_cmds.c.
References mfunction_t::builtinsprofile, CL_Trace_Toss(), CL_VM_SetTraceGlobals(), prvm_prog_t::edicts, OFS_PARM0, OFS_PARM1, PRVM_G_EDICT, VM_CL_tracetoss(), VM_SAFEPARMCOUNT, VM_Warning(), and prvm_prog_t::xfunction.
Referenced by VM_CL_tracetoss().
|
static |
Definition at line 2160 of file clvm_cmds.c.
References prvm_prog_t::argc, CL_ParticleTrail(), i, int(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, PRVM_clientedictvector, PRVM_G_EDICT, PRVM_G_FLOAT, PRVM_G_VECTOR, VectorCopy, velocity, VM_CL_trailparticles(), and VM_SAFEPARMCOUNTRANGE.
Referenced by VM_CL_trailparticles().
|
static |
Definition at line 1210 of file clvm_cmds.c.
References f, r_refdef_view_t::frustum_x, r_refdef_view_t::frustum_y, cvar_t::integer, r_refdef_view_t::matrix, Matrix4x4_Transform(), OFS_PARM0, OFS_RETURN, PRVM_G_VECTOR, r_refdef, v_flipped, VectorCopy, VectorSet, vid_conheight, vid_conwidth, r_refdef_t::view, VM_CL_unproject(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_unproject().
|
static |
Definition at line 4958 of file clvm_cmds.c.
References cl, CL_GetTagMatrix(), CSQC_R_RecalcView(), client_state_t::csqc_viewangles, client_state_t::csqc_viewanglesfromengine, client_state_t::csqc_vieworigin, client_state_t::csqc_vieworiginfromengine, flags, int(), client_state_t::intermission, NULL, OFS_PARM0, OFS_PARM1, PMF_ONGROUND, PRVM_clientedictfloat, PRVM_clientedictvector, PRVM_G_EDICT, PRVM_G_FLOAT, REFDEFFLAG_DEAD, REFDEFFLAG_INTERMISSION, REFDEFFLAG_JUMPING, REFDEFFLAG_TELEPORTED, V_CalcRefdefUsing(), VectorCopy, velocity, view_ofs, VM_CL_V_CalcRefdef(), and VM_SAFEPARMCOUNT.
Referenced by VM_CL_V_CalcRefdef().
|
static |
Definition at line 4465 of file clvm_cmds.c.
References prvm_prog_t::argc, CL_movestep(), 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_clientedictfloat, PRVM_clientglobaledict, PRVM_G_FLOAT, PRVM_PROG_TO_EDICT, self, sin(), VM_CL_walkmove(), VM_SAFEPARMCOUNTRANGE, VM_Warning(), and prvm_prog_t::xfunction.
Referenced by VM_CL_walkmove().
void VM_drawcharacter | ( | prvm_prog_t * | prog | ) |
Definition at line 1378 of file clvm_cmds.c.
References DRAWFLAG_NUMFLAGS, DrawQ_String_Scale(), getdrawfont(), getdrawfontscale(), int(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_VECTOR, rgb, scale, VM_drawcharacter(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_drawcharacter().
void VM_drawcolorcodedstring | ( | prvm_prog_t * | prog | ) |
Definition at line 1481 of file clvm_cmds.c.
References alpha, prvm_prog_t::argc, DRAWFLAG_NUMFLAGS, DrawQ_Color, DrawQ_String_Scale(), getdrawfont(), getdrawfontscale(), int(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, rgb, scale, string, VectorCopy, VM_drawcolorcodedstring(), VM_SAFEPARMCOUNTRANGE, and VM_Warning().
Referenced by VM_drawcolorcodedstring().
void VM_drawfill | ( | prvm_prog_t * | prog | ) |
Definition at line 1925 of file clvm_cmds.c.
References DRAWFLAG_NUMFLAGS, DrawQ_Fill(), int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_VECTOR, rgb, size, VM_drawfill(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_drawfill().
void VM_drawline | ( | prvm_prog_t * | prog | ) |
Definition at line 1260 of file clvm_cmds.c.
References alpha, DrawQ_Line(), flags, int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_VECTOR, rgb, VM_drawline(), VM_SAFEPARMCOUNT, and width.
Referenced by VM_drawline().
void VM_drawpic | ( | prvm_prog_t * | prog | ) |
Definition at line 1771 of file clvm_cmds.c.
References prvm_prog_t::argc, CACHEPICFLAG_NOTPERSISTENT, Draw_CachePic_Flags(), DRAWFLAG_NUMFLAGS, DrawQ_Pic(), int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, rgb, size, VM_CheckEmptyString(), VM_drawpic(), VM_SAFEPARMCOUNTRANGE, and VM_Warning().
Referenced by VM_drawpic().
void VM_drawresetcliparea | ( | prvm_prog_t * | prog | ) |
Definition at line 1984 of file clvm_cmds.c.
References DrawQ_ResetClipArea(), prvm_prog_t::polygonbegin_guess2d, VM_drawresetcliparea(), and VM_SAFEPARMCOUNT.
Referenced by VM_drawresetcliparea().
void VM_drawrotpic | ( | prvm_prog_t * | prog | ) |
Definition at line 1819 of file clvm_cmds.c.
References CACHEPICFLAG_NOTPERSISTENT, Draw_CachePic_Flags(), DRAWFLAG_NUMFLAGS, DrawQ_RotPic(), int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, OFS_PARM7, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, rgb, size, VM_CheckEmptyString(), VM_drawrotpic(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_drawrotpic().
void VM_drawsetcliparea | ( | prvm_prog_t * | prog | ) |
Definition at line 1961 of file clvm_cmds.c.
References bound, DrawQ_SetClipArea(), cvar_t::integer, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, vid_conheight, vid_conwidth, VM_drawsetcliparea(), VM_SAFEPARMCOUNT, w, x, and y.
Referenced by VM_drawsetcliparea().
void VM_drawstring | ( | prvm_prog_t * | prog | ) |
Definition at line 1431 of file clvm_cmds.c.
References prvm_prog_t::argc, DRAWFLAG_NUMFLAGS, DrawQ_String_Scale(), getdrawfont(), getdrawfontscale(), int(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, rgb, scale, string, VM_drawstring(), VM_SAFEPARMCOUNTRANGE, and VM_Warning().
Referenced by VM_drawstring().
void VM_drawsubpic | ( | prvm_prog_t * | prog | ) |
Definition at line 1868 of file clvm_cmds.c.
References alpha, CACHEPICFLAG_NOTPERSISTENT, Draw_CachePic_Flags(), DRAWFLAG_NUMFLAGS, DrawQ_SuperPic(), int(), OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_PARM6, OFS_PARM7, OFS_RETURN, prvm_prog_t::polygonbegin_guess2d, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, rgb, size, VM_CheckEmptyString(), VM_drawsubpic(), VM_SAFEPARMCOUNT, and VM_Warning().
Referenced by VM_drawsubpic().
void VM_findfont | ( | prvm_prog_t * | prog | ) |
Definition at line 1616 of file clvm_cmds.c.
References getdrawfontnum(), OFS_PARM0, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, VM_findfont(), and VM_SAFEPARMCOUNT.
Referenced by VM_findfont().
void VM_freepic | ( | prvm_prog_t * | prog | ) |
Definition at line 1339 of file clvm_cmds.c.
References Draw_FreePic(), OFS_PARM0, PRVM_G_STRING, VM_CheckEmptyString(), VM_freepic(), and VM_SAFEPARMCOUNT.
Referenced by VM_freepic().
void VM_getimagesize | ( | prvm_prog_t * | prog | ) |
Definition at line 2001 of file clvm_cmds.c.
References CACHEPICFLAG_NOTPERSISTENT, CACHEPICFLAG_QUIET, Draw_CachePic_Flags(), Draw_GetPicHeight(), Draw_GetPicWidth(), Draw_IsPicLoaded(), OFS_PARM0, OFS_RETURN, PRVM_G_STRING, PRVM_G_VECTOR, VM_CheckEmptyString(), VM_getimagesize(), and VM_SAFEPARMCOUNT.
Referenced by VM_getimagesize().
|
static |
Definition at line 3520 of file clvm_cmds.c.
References vmparticlespawner_t::initialized, vmparticlespawner_t::max_themes, Mem_Alloc, Mem_AllocPool, Mem_FreePool, NULL, vmparticlespawner_t::pool, vmparticlespawner_t::themes, vmparticlespawner_t::verified, and vmpartspawner.
Referenced by VM_CL_InitParticleSpawner().
void VM_iscachedpic | ( | prvm_prog_t * | prog | ) |
Definition at line 1287 of file clvm_cmds.c.
References OFS_RETURN, PRVM_G_FLOAT, VM_iscachedpic(), and VM_SAFEPARMCOUNT.
Referenced by VM_iscachedpic().
void VM_loadfont | ( | prvm_prog_t * | prog | ) |
Definition at line 1630 of file clvm_cmds.c.
References prvm_prog_t::argc, COM_ParseToken_VM_Tokenize(), com_token, dp_fonts, dp_strlcpy, dp_fonts_t::f, f, FindFont(), i, LoadFont(), MAX_FONT_FALLBACKS, MAX_FONT_SIZES, MAX_QPATH, dp_fonts_t::maxsize, NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_PARM3, OFS_PARM4, OFS_PARM5, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, scale, VM_loadfont(), VM_SAFEPARMCOUNTRANGE, and VM_Warning().
Referenced by VM_loadfont().
void VM_precache_pic | ( | prvm_prog_t * | prog | ) |
Definition at line 1306 of file clvm_cmds.c.
References prvm_prog_t::argc, CACHEPICFLAG_FAILONMISSING, CACHEPICFLAG_MIPMAP, CACHEPICFLAG_NOTPERSISTENT, CACHEPICFLAG_QUIET, Draw_CachePic_Flags(), Draw_IsPicLoaded(), f, flags, OFS_NULL, OFS_PARM0, OFS_PARM1, OFS_RETURN, PRECACHE_PIC_MIPMAP, PRECACHE_PIC_NOTPERSISTENT, PRVM_G_FLOAT, PRVM_G_INT, PRVM_G_STRING, VM_CheckEmptyString(), VM_precache_pic(), and VM_SAFEPARMCOUNTRANGE.
Referenced by VM_precache_pic().
|
static |
Definition at line 3541 of file clvm_cmds.c.
References vmparticletheme_t::airfriction, vmparticletheme_t::alpha, vmparticletheme_t::alphafade, vmparticletheme_t::angle, vmparticletheme_t::blendmode, vmparticletheme_t::bounce, vmparticletheme_t::color1, vmparticletheme_t::color2, vmparticletheme_t::delaycollision, vmparticletheme_t::delayspawn, vmparticletheme_t::gravity, vmparticletheme_t::initialized, vmparticletheme_t::lifetime, vmparticletheme_t::liquidfriction, vmparticletheme_t::orientation, vmparticletheme_t::originjitter, PARTICLE_BILLBOARD, PBLEND_ADD, pt_static, vmparticletheme_t::qualityreduction, vmparticletheme_t::size, vmparticletheme_t::sizeincrease, vmparticletheme_t::spin, vmparticletheme_t::staincolor1, vmparticletheme_t::staincolor2, vmparticletheme_t::staintex, vmparticletheme_t::stretch, vmparticletheme_t::tex, vmparticletheme_t::typeindex, and vmparticletheme_t::velocityjitter.
Referenced by VM_CL_InitParticleSpawner(), and VM_CL_ParticleThemeFree().
void VM_stringwidth | ( | prvm_prog_t * | prog | ) |
Definition at line 1546 of file clvm_cmds.c.
References prvm_prog_t::argc, DrawQ_TextWidth_UntilWidth_TrackColors_Scale(), getdrawfont(), getdrawfontscale(), int(), NULL, OFS_PARM0, OFS_PARM1, OFS_PARM2, OFS_RETURN, PRVM_G_FLOAT, PRVM_G_STRING, PRVM_G_VECTOR, string, Vector2Copy, Vector2Set, VM_SAFEPARMCOUNTRANGE, and VM_stringwidth().
Referenced by VM_stringwidth().
|
extern |
Definition at line 38 of file view.c.
Referenced by V_CalcRefdefUsing(), and V_Init().
|
extern |
|
extern |
Definition at line 40 of file view.c.
Referenced by V_CalcRefdefUsing(), and V_Init().
|
extern |
Definition at line 181 of file cl_parse.c.
Referenced by CL_Parse_Init(), and VM_CL_ReadPicture().
|
extern |
Definition at line 185 of file cl_parse.c.
Referenced by CL_Parse_Init(), CL_ParseTempEntity(), VM_CL_te_gunshot(), and VM_CL_te_gunshotquad().
r_refdef_view_t csqc_main_r_refdef_view |
Definition at line 26 of file clvm_cmds.c.
Referenced by CL_VM_UpdateView(), and VM_CL_R_RenderScene().
r_refdef_view_t csqc_original_r_refdef_view |
Definition at line 25 of file clvm_cmds.c.
Referenced by CL_VM_UpdateView(), VM_CL_R_ClearScene(), and VM_CL_R_RenderScene().
|
extern |
|
extern |
Definition at line 143 of file view.c.
Referenced by CSQC_R_RecalcView(), V_CalcIntermissionRefdef(), V_CalcRefdefUsing(), and V_Init().
prvm_builtin_t vm_cl_builtins[] |
Definition at line 5003 of file clvm_cmds.c.
Referenced by CL_VM_Init().
const int vm_cl_numbuiltins = sizeof(vm_cl_builtins) / sizeof(prvm_builtin_t) |
Definition at line 5654 of file clvm_cmds.c.
Referenced by CL_VM_Init().
vmparticlespawner_t vmpartspawner |
Definition at line 3517 of file clvm_cmds.c.
Referenced by VM_CL_InitParticleSpawner(), VM_CL_ParticleTheme(), VM_CL_ParticleThemeFree(), VM_CL_ParticleThemeSave(), VM_CL_ResetParticle(), VM_CL_SpawnParticle(), VM_CL_SpawnParticleDelayed(), and VM_InitParticleSpawner().