Home
last modified time | relevance | path

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

/dports/games/SRB2/SRB2-SRB2_release_2.2.9/src/
H A Dp_user.c2749 fixed_t bouncestrength; in P_CheckBouncySectors() local
2767 bouncestrength = P_AproxDistance(rover->master->dx, rover->master->dy)/100; in P_CheckBouncySectors()
2772 player->mo->momx = -FixedMul(player->mo->momx,bouncestrength); in P_CheckBouncySectors()
2773 player->mo->momy = -FixedMul(player->mo->momy,bouncestrength); in P_CheckBouncySectors()
2794 newmom = momentum.z = -FixedMul(momentum.z,bouncestrength)/2; in P_CheckBouncySectors()
2796 if (abs(newmom) < (bouncestrength*2)) in P_CheckBouncySectors()