Home
last modified time | relevance | path

Searched refs:addspeed (Results 1 – 2 of 2) sorted by relevance

/external/quake/quake/src/WinQuake/
Dsv_user.cpp173 float addspeed, accelspeed;
180 addspeed = VectorNormalize (pushvec);
182 accelspeed = sv_accelerate.value*host_frametime*addspeed;
183 if (accelspeed > addspeed)
184 accelspeed = addspeed;
193 float addspeed, accelspeed, currentspeed; in SV_Accelerate() local
196 addspeed = wishspeed - currentspeed; in SV_Accelerate()
197 if (addspeed <= 0) in SV_Accelerate()
200 if (accelspeed > addspeed) in SV_Accelerate()
201 accelspeed = addspeed; in SV_Accelerate()
[all …]
/external/quake/quake/src/QW/client/
Dpmove.c393 float addspeed, accelspeed, currentspeed; in PM_Accelerate() local
401 addspeed = wishspeed - currentspeed; in PM_Accelerate()
402 if (addspeed <= 0) in PM_Accelerate()
405 if (accelspeed > addspeed) in PM_Accelerate()
406 accelspeed = addspeed; in PM_Accelerate()
415 float addspeed, accelspeed, currentspeed, wishspd = wishspeed; in PM_AirAccelerate() local
425 addspeed = wishspd - currentspeed; in PM_AirAccelerate()
426 if (addspeed <= 0) in PM_AirAccelerate()
429 if (accelspeed > addspeed) in PM_AirAccelerate()
430 accelspeed = addspeed; in PM_AirAccelerate()
[all …]