Searched refs:trailCost (Results 1 – 1 of 1) sorted by relevance
151 static TRAILCELLTYPE *trailCost; variable413 trailCost = new TRAILCELLTYPE[MAPLENGTH]{}; in InitPathAI()425 delete[] trailCost; in ShutDownPathAI()801 trailCost[iOrigination] = 0; in FindBestPath()868 if ( trailCostUsed[curLoc] == gubGlobalPathCount && trailCost[curLoc] < curCost) in FindBestPath()1543 if (trailCostUsed[newLoc] != gubGlobalPathCount || newTotCost < trailCost[newLoc]) in FindBestPath()1655 trailCost[newLoc] = (UINT16) newTotCost; in FindBestPath()