Searched refs:accelspeed (Results 1 – 2 of 2) sorted by relevance
173 float addspeed, accelspeed;182 accelspeed = sv_accelerate.value*host_frametime*addspeed;183 if (accelspeed > addspeed)184 accelspeed = addspeed;187 velocity[i] += accelspeed*pushvec[i]; 193 float addspeed, accelspeed, currentspeed; in SV_Accelerate() local199 accelspeed = sv_accelerate.value*host_frametime*wishspeed; in SV_Accelerate()200 if (accelspeed > addspeed) in SV_Accelerate()201 accelspeed = addspeed; in SV_Accelerate()204 velocity[i] += accelspeed*wishdir[i]; in SV_Accelerate()[all …]
393 float addspeed, accelspeed, currentspeed; in PM_Accelerate() local404 accelspeed = accel*frametime*wishspeed; in PM_Accelerate()405 if (accelspeed > addspeed) in PM_Accelerate()406 accelspeed = addspeed; in PM_Accelerate()409 pmove.velocity[i] += accelspeed*wishdir[i]; in PM_Accelerate()415 float addspeed, accelspeed, currentspeed, wishspd = wishspeed; in PM_AirAccelerate() local428 accelspeed = accel * wishspeed * frametime; in PM_AirAccelerate()429 if (accelspeed > addspeed) in PM_AirAccelerate()430 accelspeed = addspeed; in PM_AirAccelerate()433 pmove.velocity[i] += accelspeed*wishdir[i]; in PM_AirAccelerate()[all …]