pathfind.c
changeset 679 04ca2cd69420
parent 536 03d80fecb999
child 747 4bf34cf669d0
equal deleted inserted replaced
678:f62cae2abc0c 679:04ca2cd69420
     1 #include "stdafx.h"
     1 #include "stdafx.h"
     2 #include "ttd.h"
     2 #include "ttd.h"
       
     3 #include "map.h"
     3 #include "pathfind.h"
     4 #include "pathfind.h"
     4 
     5 
     5 // remember which tiles we have already visited so we don't visit them again.
     6 // remember which tiles we have already visited so we don't visit them again.
     6 static bool TPFSetTileBit(TrackPathFinder *tpf, uint tile, int dir)
     7 static bool TPFSetTileBit(TrackPathFinder *tpf, uint tile, int dir)
     7 {
     8 {