Home
last modified time | relevance | path

Searched refs:bobCycle (Results 1 – 25 of 67) sorted by relevance

123

/dports/games/ioquake3-server/ioquake3-1.36/code/cgame/
H A Dcg_predict.c238 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
239 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
242 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
H A Dcg_view.c648 cg.bobcycle = ( ps->bobCycle & 128 ) >> 7; in CG_CalcViewValues()
649 cg.bobfracsin = fabs( sin( ( ps->bobCycle & 127 ) / 127.0 * M_PI ) ); in CG_CalcViewValues()
/dports/games/ioquake3/ioquake3-1.36/code/cgame/
H A Dcg_predict.c238 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
239 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
242 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
H A Dcg_view.c648 cg.bobcycle = ( ps->bobCycle & 128 ) >> 7; in CG_CalcViewValues()
649 cg.bobfracsin = fabs( sin( ( ps->bobCycle & 127 ) / 127.0 * M_PI ) ); in CG_CalcViewValues()
/dports/games/evq3/evq3/code/cgame/
H A Dcg_predict.c238 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
239 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
242 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
H A Dcg_view.c648 cg.bobcycle = ( ps->bobCycle & 128 ) >> 7; in CG_CalcViewValues()
649 cg.bobfracsin = fabs( sin( ( ps->bobCycle & 127 ) / 127.0 * M_PI ) ); in CG_CalcViewValues()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/cgame/
H A Dcg_predict.c238 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
239 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
242 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
H A Dcg_view.c648 cg.bobcycle = ( ps->bobCycle & 128 ) >> 7; in CG_CalcViewValues()
649 cg.bobfracsin = fabs( sin( ( ps->bobCycle & 127 ) / 127.0 * M_PI ) ); in CG_CalcViewValues()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/cgame/
H A Dcg_predict.c325 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
326 if( i < prev->ps.bobCycle ) in CG_InterpolatePlayerState()
329 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
H A Dcg_view.c1104 cg.bobcycle = ( ps->bobCycle & 128 ) >> 7; in CG_CalcViewValues()
1105 cg.bobfracsin = fabs( sin( ( ps->bobCycle & 127 ) / 127.0 * M_PI ) ); in CG_CalcViewValues()
/dports/games/openjk/OpenJK-07675e2/codemp/cgame/
H A Dcg_predict.c483 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
484 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
487 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
535 i = next->vps.bobCycle; in CG_InterpolateVehiclePlayerState()
536 if ( i < prev->vps.bobCycle ) { in CG_InterpolateVehiclePlayerState()
539 out->bobCycle = prev->vps.bobCycle + f * ( i - prev->vps.bobCycle ); in CG_InterpolateVehiclePlayerState()
/dports/games/openjk/OpenJK-07675e2/code/cgame/
H A Dcg_predict.cpp409 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
410 if ( i < prev->ps.bobCycle ) in CG_InterpolatePlayerState()
414 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
/dports/games/iortcw/iortcw-1.51c/SP/code/cgame/
H A Dcg_predict.c283 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
284 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
287 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
/dports/games/openjk/OpenJK-07675e2/codeJK2/cgame/
H A Dcg_predict.cpp368 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
369 if ( i < prev->ps.bobCycle ) in CG_InterpolatePlayerState()
373 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
/dports/games/iortcw/iortcw-1.51c/MP/code/cgame/
H A Dcg_predict.c279 i = next->ps.bobCycle; in CG_InterpolatePlayerState()
280 if ( i < prev->ps.bobCycle ) { in CG_InterpolatePlayerState()
283 out->bobCycle = prev->ps.bobCycle + f * ( i - prev->ps.bobCycle ); in CG_InterpolatePlayerState()
/dports/games/ioquake3/ioquake3-1.36/code/game/
H A Dbg_pmove.c1000 pm->ps->bobCycle = 0; in PM_CrashLand()
1349 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
1403 old = pm->ps->bobCycle; in PM_Footsteps()
1404 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
1407 if ( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) { in PM_Footsteps()
/dports/games/ioquake3-server/ioquake3-1.36/code/game/
H A Dbg_pmove.c1000 pm->ps->bobCycle = 0; in PM_CrashLand()
1349 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
1403 old = pm->ps->bobCycle; in PM_Footsteps()
1404 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
1407 if ( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) { in PM_Footsteps()
/dports/games/worldofpadman/worldofpadman-1.2.20080621/code/game/
H A Dbg_pmove.c1000 pm->ps->bobCycle = 0; in PM_CrashLand()
1349 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
1403 old = pm->ps->bobCycle; in PM_Footsteps()
1404 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
1407 if ( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) { in PM_Footsteps()
/dports/games/evq3/evq3/code/game/
H A Dbg_pmove.c1000 pm->ps->bobCycle = 0; in PM_CrashLand()
1349 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
1403 old = pm->ps->bobCycle; in PM_Footsteps()
1404 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
1407 if ( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) { in PM_Footsteps()
/dports/games/iortcw/iortcw-1.51c/SP/code/game/
H A Dbg_pmove.c1342 pm->ps->bobCycle = 0; in PM_CrashLand()
1724 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
1842 pm->ps->bobCycle = (int)( pm->ps->bobCycle + bobmove * pml.msec ) & 255; in PM_Footsteps()
1877 old = pm->ps->bobCycle; in PM_Footsteps()
1894 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
1899 if ( old > pm->ps->bobCycle ) { in PM_Footsteps()
1920 } else if ( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) { in PM_Footsteps()
/dports/games/dhewm3/dhewm3-1.5.1/neo/game/
H A DPlayer.cpp1019 bobCycle = 0; in idPlayer()
1226 bobCycle = 0; in Init()
1260 bobCycle = 0; in Init()
1722 savefile->WriteInt( bobCycle ); in Save()
1954 savefile->ReadInt( bobCycle ); in Restore()
4753 bobCycle = 0; in BobCycle()
4758 bobCycle = 0; in BobCycle()
4771 old = bobCycle; in BobCycle()
7119 if ( bobCycle & 128 ) { in CalculateViewWeaponPos()
8182 msg.WriteByte( bobCycle ); in WritePlayerStateToSnapshot()
[all …]
H A DPlayer.h539 int bobCycle; // for view bobbing and footstep generation variable
/dports/games/dhewm3/dhewm3-1.5.1/neo/d3xp/
H A DPlayer.cpp1287 bobCycle = 0; in idPlayer()
1512 bobCycle = 0; in Init()
1565 bobCycle = 0; in Init()
2127 savefile->WriteInt( bobCycle ); in Save()
2395 savefile->ReadInt( bobCycle ); in Restore()
5740 bobCycle = 0;
5745 bobCycle = 0;
5758 old = bobCycle;
8487 if ( bobCycle & 128 ) {
9717 msg.WriteByte( bobCycle );
[all …]
/dports/games/iortcw/iortcw-1.51c/MP/code/game/
H A Dbg_pmove.c1248 pm->ps->bobCycle = 0; in PM_CrashLand()
1611 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
1708 old = pm->ps->bobCycle; in PM_Footsteps()
1709 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
1714 if ( old > pm->ps->bobCycle ) { in PM_Footsteps()
1731 } else if ( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) { in PM_Footsteps()
/dports/games/tremulous/tremulous/tremulous-1.1.0-src/src/game/
H A Dbg_pmove.c1587 pm->ps->bobCycle = 0; in PM_CrashLand()
2387 pm->ps->bobCycle = 0; // start at beginning of cycle again in PM_Footsteps()
2523 old = pm->ps->bobCycle; in PM_Footsteps()
2524 pm->ps->bobCycle = (int)( old + bobmove * pml.msec ) & 255; in PM_Footsteps()
2527 if( ( ( old + 64 ) ^ ( pm->ps->bobCycle + 64 ) ) & 128 ) in PM_Footsteps()

123