Home
last modified time | relevance | path

Searched refs:newspeed (Results 1 – 3 of 3) sorted by relevance

/external/quake/quake/src/WinQuake/
Dsv_user.cpp125 float speed, newspeed, control; in SV_UserFriction() local
151 newspeed = speed - host_frametime*control*friction; in SV_UserFriction()
153 if (newspeed < 0) in SV_UserFriction()
154 newspeed = 0; in SV_UserFriction()
155 newspeed /= speed; in SV_UserFriction()
157 vel[0] = vel[0] * newspeed; in SV_UserFriction()
158 vel[1] = vel[1] * newspeed; in SV_UserFriction()
159 vel[2] = vel[2] * newspeed; in SV_UserFriction()
251 float speed, newspeed, wishspeed, addspeed, accelspeed; in SV_WaterMove() local
280 newspeed = speed - host_frametime * speed * sv_friction.value; in SV_WaterMove()
[all …]
Dsv_phys.cpp1369 float speed, newspeed, control; in SV_Physics_Step() local
1417 newspeed = speed - host_frametime*control*friction; in SV_Physics_Step()
1419 if (newspeed < 0) in SV_Physics_Step()
1420 newspeed = 0; in SV_Physics_Step()
1421 newspeed /= speed; in SV_Physics_Step()
1423 vel[0] = vel[0] * newspeed; in SV_Physics_Step()
1424 vel[1] = vel[1] * newspeed; in SV_Physics_Step()
/external/quake/quake/src/QW/client/
Dpmove.c327 float speed, newspeed, control; in PM_Friction() local
374 newspeed = speed - drop; in PM_Friction()
375 if (newspeed < 0) in PM_Friction()
376 newspeed = 0; in PM_Friction()
377 newspeed /= speed; in PM_Friction()
379 vel[0] = vel[0] * newspeed; in PM_Friction()
380 vel[1] = vel[1] * newspeed; in PM_Friction()
381 vel[2] = vel[2] * newspeed; in PM_Friction()
778 float speed, drop, friction, control, newspeed, accel; in SpectatorMove() local
805 newspeed = speed - drop; in SpectatorMove()
[all …]