Searched refs:newTotCost (Results 1 – 2 of 2) sorted by relevance
187 TRAILCELLTYPE curCost,newTotCost,nextCost; in FindStratPath() local363 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()
469 INT32 curCost,newTotCost,nextCost; in FindBestPath() local1539 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()