Searched refs:sTempDist (Results 1 – 2 of 2) sorted by relevance
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TileEngine/ |
H A D | Map_Edgepoints.cc | 1338 INT16 sClosestSpot1 = NOWHERE, sClosestDist1 = 0x7FFF, sTempDist; in CalcMapEdgepointClassInsertionCode() local 1378 sTempDist = PythSpacesAway(sGridNo, edgepoint); in CalcMapEdgepointClassInsertionCode() 1379 if ( sTempDist < sClosestDist1 ) in CalcMapEdgepointClassInsertionCode() 1381 sClosestDist1 = sTempDist; in CalcMapEdgepointClassInsertionCode() 1387 sTempDist = PythSpacesAway(sGridNo, edgepoint); in CalcMapEdgepointClassInsertionCode() 1388 if ( sTempDist < sClosestDist2 ) in CalcMapEdgepointClassInsertionCode() 1390 sClosestDist2 = sTempDist; in CalcMapEdgepointClassInsertionCode()
|
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/TacticalAI/ |
H A D | FindLocations.cc | 1740 INT16 sClosestSpot = NOWHERE, sClosestDist = 0x7FFF, sTempDist; in FindNearestEdgepointOnSpecifiedEdge() local 1766 sTempDist = PythSpacesAway(sGridNo, edgepoint); in FindNearestEdgepointOnSpecifiedEdge() 1767 if ( sTempDist < sClosestDist ) in FindNearestEdgepointOnSpecifiedEdge() 1769 sClosestDist = sTempDist; in FindNearestEdgepointOnSpecifiedEdge() 1784 INT16 sClosestSpot = NOWHERE, sClosestDist = 0x7FFF, sTempDist; in FindNearestEdgePoint() local 1832 sTempDist = PythSpacesAway(sGridNo, edgepoint); in FindNearestEdgePoint() 1833 if ( sTempDist < sClosestDist ) in FindNearestEdgePoint() 1835 sClosestDist = sTempDist; in FindNearestEdgePoint()
|