summaryrefslogtreecommitdiff
path: root/ai_shared.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-04-11 19:14:48 +0000
committermatthijs <matthijs@openttd.org>2005-04-11 19:14:48 +0000
commitb02dde198240a27f53ca196e1d9bdff89ca2edcf (patch)
tree2cfb3fe1eaa3454e6c943f30efc3944c2eba1a02 /ai_shared.c
parenta714444a8eed4e9eb7cba177026171e034ce3b7f (diff)
downloadopenttd-b02dde198240a27f53ca196e1d9bdff89ca2edcf.tar.xz
(svn r2181) - Add: DistanceTrack() to calculate the distance over optimally laid out tracks.
- Codechange: [NPF] Removed unused heuristic function NPFCalcTileHeuristic(). - Codechange: [NPF] Use DistanceTrack() instead of DistanceManhattan() for ship and train heuristic. - Codechange: Renamed variables x and y to dx and dy in some of the distance calculation functions.
Diffstat (limited to 'ai_shared.c')
0 files changed, 0 insertions, 0 deletions