Searched refs:dist_visible (Results 1 – 1 of 1) sorted by relevance
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/ |
H A D | Keys.cc | 913 …ic bool IsCloseEnoughAndHasLOS(SOLDIERTYPE const& s, GridNo const gridno, INT16 const dist_visible) in IsCloseEnoughAndHasLOS() argument 917 PythSpacesAway(s.sGridNo, gridno) <= dist_visible && in IsCloseEnoughAndHasLOS() 920 SoldierTo3DLocationLineOfSightTest(&s, gridno, 0, 0, dist_visible, TRUE); in IsCloseEnoughAndHasLOS() 938 …INT16 const dist_visible = DistanceVisible(&s, DIRECTION_IRRELEVANT, DIRECTION_IRRELEVANT, gridno,… in AllMercsLookForDoor() local 939 if (IsCloseEnoughAndHasLOS(s, gridno, dist_visible)) return true; in AllMercsLookForDoor() 945 …INT16 const dist_visible = DistanceVisible(&s, DIRECTION_IRRELEVANT, DIRECTION_IRRELEVANT, new_gr… in AllMercsLookForDoor() local 946 if (IsCloseEnoughAndHasLOS(s, new_gridno, dist_visible)) return true; in AllMercsLookForDoor() 966 …INT16 const dist_visible = DistanceVisible(&s, DIRECTION_IRRELEVANT, DIRECTION_IRRELEVANT, gridno… in MercLooksForDoors() local 968 if (IsCloseEnoughAndHasLOS(s, gridno, dist_visible)) in MercLooksForDoors() 981 if (IsCloseEnoughAndHasLOS(s, new_gridno, dist_visible)) goto sees_door; in MercLooksForDoors()
|