// completely replacing it
Matrix4x4_OriginFromMatrix(&cl.entities[cl.viewentity].render.matrix, prog->globals.client->pmove_org);
VectorCopy(cl.movement_velocity, prog->globals.client->pmove_vel);
+ PRVM_GLOBALFIELDFLOAT(prog->globaloffsets.pmove_onground) = cl.onground;
+ PRVM_GLOBALFIELDFLOAT(prog->globaloffsets.pmove_inwater) = cl.inwater;
VectorCopy(cl.viewangles, PRVM_GLOBALFIELDVECTOR(prog->globaloffsets.view_angles));
VectorCopy(cl.punchangle, PRVM_GLOBALFIELDVECTOR(prog->globaloffsets.view_punchangle));
{ev_float, "particle_velocityjitter"},
{ev_float, "particles_alphamax"},
{ev_float, "particles_alphamin"},
+ {ev_float, "pmove_onground"},
+ {ev_float, "pmove_inwater"},
{ev_float, "require_spawnfunc_prefix"},
{ev_float, "sb_showscores"},
{ev_float, "serverdeltatime"},
int sb_showscores; // csqc
int drawfont; // csqc / menu
int drawfontscale; // csqc / menu
+ int pmove_onground; // csqc
+ int pmove_inwater; // csqc
int require_spawnfunc_prefix; // ssqc
int worldstatus; // ssqc
int servertime; // csqc
prog->globaloffsets.particles_alphamax = PRVM_ED_FindGlobalOffset("particles_alphamax");
prog->globaloffsets.particles_colormin = PRVM_ED_FindGlobalOffset("particles_colormin");
prog->globaloffsets.particles_colormax = PRVM_ED_FindGlobalOffset("particles_colormax");
+ prog->globaloffsets.pmove_onground = PRVM_ED_FindGlobalOffset("pmove_onground");
+ prog->globaloffsets.pmove_inwater = PRVM_ED_FindGlobalOffset("pmove_inwater");
// menu qc only uses some functions, nothing else
prog->funcoffsets.m_draw = PRVM_ED_FindFunctionOffset("m_draw");