Home
last modified time | relevance | path

Searched refs:sv_player (Results 1 – 8 of 8) sorted by relevance

/external/quake/quake/src/WinQuake/
Dsv_user.cpp24 edict_t *sv_player; variable
62 if (!((int)sv_player->u.v.flags & FL_ONGROUND)) in SV_SetIdealPitch()
65 angleval = sv_player->u.v.angles[YAW] * M_PI*2 / 360; in SV_SetIdealPitch()
71 top[0] = sv_player->u.v.origin[0] + cosval*(i+3)*12; in SV_SetIdealPitch()
72 top[1] = sv_player->u.v.origin[1] + sinval*(i+3)*12; in SV_SetIdealPitch()
73 top[2] = sv_player->u.v.origin[2] + sv_player->u.v.view_ofs[2]; in SV_SetIdealPitch()
79 tr = SV_Move (top, vec3_origin, vec3_origin, bottom, 1, sv_player); in SV_SetIdealPitch()
106 sv_player->u.v.idealpitch = 0; in SV_SetIdealPitch()
112 sv_player->u.v.idealpitch = -dir * sv_idealpitchscale.value; in SV_SetIdealPitch()
139 start[2] = origin[2] + sv_player->u.v.mins[2]; in SV_UserFriction()
[all …]
Dhost_cmd.cpp131 sv_player->u.v.flags = (int)sv_player->u.v.flags ^ FL_GODMODE; in Host_God_f()
132 if (!((int)sv_player->u.v.flags & FL_GODMODE) ) in Host_God_f()
149 sv_player->u.v.flags = (int)sv_player->u.v.flags ^ FL_NOTARGET; in Host_Notarget_f()
150 if (!((int)sv_player->u.v.flags & FL_NOTARGET) ) in Host_Notarget_f()
169 if (sv_player->u.v.movetype != MOVETYPE_NOCLIP) in Host_Noclip_f()
172 sv_player->u.v.movetype = MOVETYPE_NOCLIP; in Host_Noclip_f()
178 sv_player->u.v.movetype = MOVETYPE_WALK; in Host_Noclip_f()
201 if (sv_player->u.v.movetype != MOVETYPE_FLY) in Host_Fly_f()
203 sv_player->u.v.movetype = MOVETYPE_FLY; in Host_Fly_f()
208 sv_player->u.v.movetype = MOVETYPE_WALK; in Host_Fly_f()
[all …]
Dserver.h214 extern edict_t *sv_player;
Dsv_phys.cpp990 if ( (int)sv_player->u.v.flags & FL_WATERJUMP ) in SV_WalkMove()
DWinQuake.ncb1244 …axspeed�onground�SV_WaterMove�SV_Accelerate�up�SV_AirMove�sv_accelerate�sv_player�wishdir�wishspee…
/external/quake/quake/src/QW/server/
Dsv_user.c24 edict_t *sv_player; variable
403 VectorCopy (vec3_origin, sv_player->v.origin); in SV_SpawnSpectator()
404 VectorCopy (vec3_origin, sv_player->v.view_ofs); in SV_SpawnSpectator()
405 sv_player->v.view_ofs[2] = 22; in SV_SpawnSpectator()
413 VectorCopy (e->v.origin, sv_player->v.origin); in SV_SpawnSpectator()
454 pr_global_struct->self = EDICT_TO_PROG(sv_player); in SV_Begin_f()
466 pr_global_struct->self = EDICT_TO_PROG(sv_player); in SV_Begin_f()
471 pr_global_struct->self = EDICT_TO_PROG(sv_player); in SV_Begin_f()
873 if (sv_player->v.health <= 0) in SV_Kill_f()
880 pr_global_struct->self = EDICT_TO_PROG(sv_player); in SV_Kill_f()
[all …]
Dsv_ccmds.c180 sv_player = host_client->edict; in SV_SetPlayer()
207 sv_player->v.flags = (int)sv_player->v.flags ^ FL_GODMODE; in SV_God_f()
208 if (!((int)sv_player->v.flags & FL_GODMODE) ) in SV_God_f()
226 if (sv_player->v.movetype != MOVETYPE_NOCLIP) in SV_Noclip_f()
228 sv_player->v.movetype = MOVETYPE_NOCLIP; in SV_Noclip_f()
233 sv_player->v.movetype = MOVETYPE_WALK; in SV_Noclip_f()
271 sv_player->v.items = (int)sv_player->v.items | IT_SHOTGUN<< (t[0] - '2'); in SV_Give_f()
275 sv_player->v.ammo_shells = v; in SV_Give_f()
278 sv_player->v.ammo_nails = v; in SV_Give_f()
281 sv_player->v.ammo_rockets = v; in SV_Give_f()
[all …]
Dserver.h334 extern edict_t *sv_player;