pathfind.c
changeset 1209 2e00193652b2
parent 1035 812f837ee03f
child 1891 862800791170
equal deleted inserted replaced
1208:11d5223ecbcc 1209:2e00193652b2
     1 #include "stdafx.h"
     1 #include "stdafx.h"
     2 #include "ttd.h"
     2 #include "ttd.h"
     3 #include "map.h"
     3 #include "map.h"
       
     4 #include "tile.h"
     4 #include "pathfind.h"
     5 #include "pathfind.h"
     5 
     6 
     6 // remember which tiles we have already visited so we don't visit them again.
     7 // remember which tiles we have already visited so we don't visit them again.
     7 static bool TPFSetTileBit(TrackPathFinder *tpf, uint tile, int dir)
     8 static bool TPFSetTileBit(TrackPathFinder *tpf, uint tile, int dir)
     8 {
     9 {