Home
last modified time | relevance | path

Searched refs:host_frametime (Results 1 – 25 of 31) sorted by relevance

12

/external/quake/quake/src/WinQuake/
Dhost.cpp40 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 …]
Dsv_phys.cpp131 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 …]
Dsv_user.cpp151 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()
Dview.cpp199 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()
Dgl_screen.cpp213 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()
Dscreen.cpp178 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()
Dcl_input.cpp249 speed = host_frametime * cl_anglespeedkey.value; in CL_AdjustAngles()
251 speed = host_frametime; in CL_AdjustAngles()
Dgl_test.cpp166 p->length -= host_frametime*2; in DrawPuff()
Dquakedef.h307 extern double host_frametime;
Dsnd_dma.cpp705 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()
Din_dos.cpp351 aspeed = speed*host_frametime; in IN_JoyMove()
Dcl_main.cpp639 cl.time += host_frametime; in CL_ReadFromServer()
/external/quake/quake/src/QW/server/
Dsv_phys.c135 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 …]
Dqwsvdef.h86 extern double host_frametime;
Dsv_user.c1413 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()
Dsv_init.c397 host_frametime = 0.1; in SV_SpawnServer()
/external/quake/quake/src/QW/client/
Dview.c123 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 …]
Dcl_input.c241 speed = host_frametime * cl_anglespeedkey.value; in CL_AdjustAngles()
243 speed = host_frametime; in CL_AdjustAngles()
360 ms = host_frametime * 1000; in CL_FinishMove()
Dscreen.c232 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()
Dquakedef.h126 extern double host_frametime;
Dgl_screen.c216 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()
Dcl_main.c107 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()
Dgl_test.c166 p->length -= host_frametime*2; in DrawPuff()
Dsnd_dma.c701 chan->master_vol += host_frametime * ambient_fade.value; in S_UpdateAmbientSounds()
707 chan->master_vol -= host_frametime * ambient_fade.value; in S_UpdateAmbientSounds()
Dr_part.c492 frametime = host_frametime; in R_DrawParticles()

12