/external/quake/quake/src/WinQuake/ |
D | host.cpp | 40 double host_frametime; variable 509 host_frametime = realtime - oldrealtime; in Host_FilterTime() 513 host_frametime = host_framerate.value; in Host_FilterTime() 516 if (host_frametime > 0.1) in Host_FilterTime() 517 host_frametime = 0.1; in Host_FilterTime() 518 if (host_frametime < 0.001) in Host_FilterTime() 519 host_frametime = 0.001; in Host_FilterTime() 558 pr_global_struct->frametime = host_frametime; in _Host_ServerFrame() 575 pr_global_struct->frametime = host_frametime; in Host_ServerFrame() 583 temp_host_frametime = save_host_frametime = host_frametime; in Host_ServerFrame() [all …]
|
D | sv_phys.cpp | 131 if (thinktime <= 0 || thinktime > sv.time + host_frametime) in SV_RunThink() 389 ent->u.v.velocity[2] -= ent_gravity * sv_gravity.value * host_frametime; in SV_AddGravity() 713 if (thinktime < ent->u.v.ltime + host_frametime) in SV_Physics_Pusher() 720 movetime = host_frametime; in SV_Physics_Pusher() 976 clip = SV_FlyMove (ent, host_frametime, &steptrace); in SV_WalkMove() 1004 downmove[2] = -STEPSIZE + oldvel[2]*host_frametime; in SV_WalkMove() 1013 clip = SV_FlyMove (ent, host_frametime, &steptrace); in SV_WalkMove() 1110 SV_FlyMove (ent, host_frametime, NULL); in SV_Physics_Client() 1116 VectorMA (ent->u.v.origin, host_frametime, ent->u.v.velocity, ent->u.v.origin); in SV_Physics_Client() 1178 VectorMA (ent->u.v.angles, host_frametime, ent->u.v.avelocity, ent->u.v.angles); in SV_Physics_Noclip() [all …]
|
D | sv_user.cpp | 151 newspeed = speed - host_frametime*control*friction; in SV_UserFriction() 182 accelspeed = sv_accelerate.value*host_frametime*addspeed; 199 accelspeed = sv_accelerate.value*host_frametime*wishspeed; in SV_Accelerate() 220 accelspeed = sv_accelerate.value*wishspeed * host_frametime; in SV_AirAccelerate() 235 len -= 10*host_frametime; in DropPunchAngle() 280 newspeed = speed - host_frametime * speed * sv_friction.value; in SV_WaterMove() 299 accelspeed = sv_accelerate.value * wishspeed * host_frametime; in SV_WaterMove()
|
D | view.cpp | 199 cl.driftmove += host_frametime; in V_DriftPitch() 216 move = host_frametime * cl.pitchvel; in V_DriftPitch() 217 cl.pitchvel += host_frametime * v_centerspeed.value; in V_DriftPitch() 557 cl.cshifts[CSHIFT_DAMAGE].percent -= (int)(host_frametime*150); in V_UpdatePalette() 562 cl.cshifts[CSHIFT_BONUS].percent -= (int)(host_frametime*100); in V_UpdatePalette() 643 cl.cshifts[CSHIFT_DAMAGE].percent -= host_frametime*150; in V_UpdatePalette() 648 cl.cshifts[CSHIFT_BONUS].percent -= host_frametime*100; in V_UpdatePalette() 724 move = host_frametime*20; in CalcGunAngle() 819 v_dmg_time -= host_frametime; in V_CalcViewRoll()
|
D | gl_screen.cpp | 213 scr_centertime_off -= host_frametime; in SCR_CheckDrawCenterString() 427 if (host_frametime < 0.1) in SCR_DrawTurtle() 526 scr_con_current -= scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole() 533 scr_con_current += scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole()
|
D | screen.cpp | 178 scr_centertime_off -= host_frametime; in SCR_CheckDrawCenterString() 369 if (host_frametime < 0.1) in SCR_DrawTurtle() 468 scr_con_current -= scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole() 475 scr_con_current += scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole()
|
D | cl_input.cpp | 249 speed = host_frametime * cl_anglespeedkey.value; in CL_AdjustAngles() 251 speed = host_frametime; in CL_AdjustAngles()
|
D | gl_test.cpp | 166 p->length -= host_frametime*2; in DrawPuff()
|
D | quakedef.h | 307 extern double host_frametime;
|
D | snd_dma.cpp | 705 chan->master_vol += (int) (host_frametime * ambient_fade.value); in S_UpdateAmbientSounds() 711 chan->master_vol -= (int) (host_frametime * ambient_fade.value); in S_UpdateAmbientSounds()
|
D | in_dos.cpp | 351 aspeed = speed*host_frametime; in IN_JoyMove()
|
D | cl_main.cpp | 639 cl.time += host_frametime; in CL_ReadFromServer()
|
/external/quake/quake/src/QW/server/ |
D | sv_phys.c | 135 if (thinktime > sv.time + host_frametime) in SV_RunThink() 379 ent->v.velocity[2] -= scale * movevars.gravity * host_frametime; in SV_AddGravity() 588 if (thinktime < ent->v.ltime + host_frametime) in SV_Physics_Pusher() 595 movetime = host_frametime; in SV_Physics_Pusher() 653 VectorMA (ent->v.angles, host_frametime, ent->v.avelocity, ent->v.angles); in SV_Physics_Noclip() 654 VectorMA (ent->v.origin, host_frametime, ent->v.velocity, ent->v.origin); in SV_Physics_Noclip() 737 VectorMA (ent->v.angles, host_frametime, ent->v.avelocity, ent->v.angles); in SV_Physics_Toss() 740 VectorScale (ent->v.velocity, host_frametime, move); in SV_Physics_Toss() 804 SV_FlyMove (ent, host_frametime, NULL); in SV_Physics_Step() 881 host_frametime = 0.05; in SV_RunNewmis() [all …]
|
D | qwsvdef.h | 86 extern double host_frametime;
|
D | sv_user.c | 1413 host_frametime = ucmd->msec * 0.001; in SV_RunCmd() 1414 if (host_frametime > 0.1) in SV_RunCmd() 1415 host_frametime = 0.1; in SV_RunCmd() 1419 pr_global_struct->frametime = host_frametime; in SV_RunCmd()
|
D | sv_init.c | 397 host_frametime = 0.1; in SV_SpawnServer()
|
/external/quake/quake/src/QW/client/ |
D | view.c | 123 bobtime += host_frametime; in V_CalcBob() 205 cl.driftmove += host_frametime; in V_DriftPitch() 222 move = host_frametime * cl.pitchvel; in V_DriftPitch() 223 cl.pitchvel += host_frametime * v_centerspeed.value; in V_DriftPitch() 567 cl.cshifts[CSHIFT_DAMAGE].percent -= host_frametime*150; in V_UpdatePalette() 572 cl.cshifts[CSHIFT_BONUS].percent -= host_frametime*100; in V_UpdatePalette() 660 cl.cshifts[CSHIFT_DAMAGE].percent -= host_frametime*150; in V_UpdatePalette() 665 cl.cshifts[CSHIFT_BONUS].percent -= host_frametime*100; in V_UpdatePalette() 741 move = host_frametime*20; in CalcGunAngle() 832 v_dmg_time -= host_frametime; in V_CalcViewRoll() [all …]
|
D | cl_input.c | 241 speed = host_frametime * cl_anglespeedkey.value; in CL_AdjustAngles() 243 speed = host_frametime; in CL_AdjustAngles() 360 ms = host_frametime * 1000; in CL_FinishMove()
|
D | screen.c | 232 scr_centertime_off -= host_frametime; in SCR_CheckDrawCenterString() 427 if (host_frametime < 0.1) in SCR_DrawTurtle() 528 scr_con_current -= scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole() 535 scr_con_current += scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole()
|
D | quakedef.h | 126 extern double host_frametime;
|
D | gl_screen.c | 216 scr_centertime_off -= host_frametime; in SCR_CheckDrawCenterString() 434 if (host_frametime < 0.1) in SCR_DrawTurtle() 559 scr_con_current -= scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole() 566 scr_con_current += scr_conspeed.value*host_frametime; in SCR_SetUpToDrawConsole()
|
D | cl_main.c | 107 double host_frametime; variable 1325 host_frametime = realtime - oldrealtime; in Host_Frame() 1327 if (host_frametime > 0.2) in Host_Frame() 1328 host_frametime = 0.2; in Host_Frame()
|
D | gl_test.c | 166 p->length -= host_frametime*2; in DrawPuff()
|
D | snd_dma.c | 701 chan->master_vol += host_frametime * ambient_fade.value; in S_UpdateAmbientSounds() 707 chan->master_vol -= host_frametime * ambient_fade.value; in S_UpdateAmbientSounds()
|
D | r_part.c | 492 frametime = host_frametime; in R_DrawParticles()
|