Home
last modified time | relevance | path

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

/dports/games/assaultcube/AssaultCube_v1.2.0.2/source/src/bot/
H A Dbot_ai.cpp1376 float flTraceDist = 3.0f; in CheckJump() local
1378 if (bHasGoal && (flGoalDist < flTraceDist)) in CheckJump()
1379 flTraceDist = flGoalDist; in CheckJump()
1382 if (!IsVisible(start, FORWARD, flTraceDist, false)) in CheckJump()
1386 if (IsVisible(start) && !IsVisible(start, FORWARD, flTraceDist, false)) in CheckJump()
1400 if (!IsVisible(start, FORWARD, flTraceDist, false)) in CheckJump()
1420 float flTraceDist = 3.0f; in CheckCrouch() local
1422 if (bHasGoal && (flGoalDist < flTraceDist)) in CheckCrouch()
1423 flTraceDist = flGoalDist; in CheckCrouch()
1425 …ible(vec(start).add(crouch), FORWARD, flTraceDist, false) && IsVisible(vec(start).sub(crouch), FOR… in CheckCrouch()