Lines Matching refs:distToPlayer
1121 float distToPlayer, randAng, randRad, px, py, ph, phead; in doDeath() local
1140 distToPlayer = dist(pos, PLAYER_OBJECT->Pos()); in doDeath()
1141 if (distToPlayer < 20) in doDeath()
1142 setScreenQuake(lerp(5, 0, distToPlayer/20)); in doDeath()
1154 distToPlayer = dist(pos, PLAYER_OBJECT->Pos()); in doDeath()
1155 if (distToPlayer < 20) in doDeath()
1156 setScreenQuake(lerp(5, 0, distToPlayer/20)); in doDeath()
1177 distToPlayer = dist(pos, PLAYER_OBJECT->Pos()); in doDeath()
1178 if (distToPlayer < 20) in doDeath()
1179 setScreenQuake(lerp(5, 0, distToPlayer/20)); in doDeath()
1193 distToPlayer = dist(pos, PLAYER_OBJECT->Pos()); in doDeath()
1194 if (distToPlayer < 80) in doDeath()
1195 setScreenQuake(lerp(5, 0, distToPlayer/80)); in doDeath()
1226 distToPlayer = dist(pos, PLAYER_OBJECT->Pos()); in doDeath()
1227 if (distToPlayer < 80) in doDeath()
1228 setScreenQuake(lerp(5, 0, distToPlayer/80)); in doDeath()