Home
last modified time | relevance | path

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

/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Strategic/
H A DStrategic_Pathing.cc187 TRAILCELLTYPE curCost,newTotCost,nextCost; in FindStratPath() local
363 newTotCost = curCost + nextCost; in FindStratPath()
364 if (newTotCost < trailCostB[newLoc]) in FindStratPath()
392 pathQB[qNewNdx].costSoFar = newTotCost; in FindStratPath()
394 trailCostB[newLoc]=newTotCost; in FindStratPath()
/dports/games/jaggedalliance2/ja2-stracciatella-0.18.0/src/game/Tactical/
H A DPathAI.cc469 INT32 curCost,newTotCost,nextCost; in FindBestPath() local
1539 newTotCost = curCost + nextCost; in FindBestPath()
1543 if (trailCostUsed[newLoc] != gubGlobalPathCount || newTotCost < trailCost[newLoc]) in FindBestPath()
1627 pNewPtr->usCostSoFar = (UINT16) newTotCost; in FindBestPath()
1638 pNewPtr->usTotalCost = newTotCost + pNewPtr->usCostToGo; in FindBestPath()
1655 trailCost[newLoc] = (UINT16) newTotCost; in FindBestPath()