summaryrefslogtreecommitdiff
path: root/src/pathfinder/npf/npf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pathfinder/npf/npf.h')
-rw-r--r--src/pathfinder/npf/npf.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/pathfinder/npf/npf.h b/src/pathfinder/npf/npf.h
index fcd75db4d..fb10c07ec 100644
--- a/src/pathfinder/npf/npf.h
+++ b/src/pathfinder/npf/npf.h
@@ -38,7 +38,8 @@ enum {
};
enum {
- /** This penalty is the equivalent of "inifite", which means that paths that
+ /**
+ * This penalty is the equivalent of "infite", which means that paths that
* get this penalty will be chosen, but only if there is no other route
* without it. Be careful with not applying this penalty to often, or the
* total path cost might overflow..
@@ -119,12 +120,6 @@ NPFFoundTargetData NPFRouteToDepotBreadthFirstTwoWay(TileIndex tile1, Trackdir t
* of choices and accurate heuristics, such as water. */
NPFFoundTargetData NPFRouteToDepotTrialError(TileIndex tile, Trackdir trackdir, bool ignore_start_tile, TransportType type, uint sub_type, Owner owner, RailTypes railtypes);
-/**
- * Search for any safe tile using a breadth first search and try to reserve a path.
- */
-NPFFoundTargetData NPFRouteToSafeTile(const struct Train *v, TileIndex tile, Trackdir trackdir, bool override_railtype);
-
-
void NPFFillWithOrderData(NPFFindStationOrTileData *fstd, const Vehicle *v, bool reserve_path = false);