equal
deleted
inserted
replaced
503 { |
503 { |
504 |
504 |
505 void* perf = NpfBeginInterval(); |
505 void* perf = NpfBeginInterval(); |
506 NPFFoundTargetData ret = NPFRouteToStationOrTile(tile, trackdir, target, type, owner, railtypes); |
506 NPFFoundTargetData ret = NPFRouteToStationOrTile(tile, trackdir, target, type, owner, railtypes); |
507 int t = NpfEndInterval(perf); |
507 int t = NpfEndInterval(perf); |
508 DEBUG(yapf, 4)("[YAPF][NPFW] %d us - %d rounds - %d open - %d closed -- ", t, 0, _aystar_stats_open_size, _aystar_stats_closed_size); |
508 DEBUG(yapf, 4, "[NPFW] %d us - %d rounds - %d open - %d closed -- ", t, 0, _aystar_stats_open_size, _aystar_stats_closed_size); |
509 return ret; |
509 return ret; |
510 } |
510 } |
511 |
511 |
512 /* returns the track to choose on the next tile, or -1 when it's better to |
512 /* returns the track to choose on the next tile, or -1 when it's better to |
513 * reverse. The tile given is the tile we are about to enter, enterdir is the |
513 * reverse. The tile given is the tile we are about to enter, enterdir is the |