diff options
author | rubidium <rubidium@openttd.org> | 2009-12-02 09:57:17 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-02 09:57:17 +0000 |
commit | 9165c195b9609bb9db77cc23ff424802eb4ab128 (patch) | |
tree | 1a8b2370e076ace6dd5b6087e94d37bf3a5e2f78 /src/pathfinder/npf/npf.h | |
parent | ef8cc49175ae8f97c6659c3acd13fdb4434cd535 (diff) | |
download | openttd-9165c195b9609bb9db77cc23ff424802eb4ab128.tar.xz |
(svn r18371) -Codechange: unify calling of the train pathfinders
Diffstat (limited to 'src/pathfinder/npf/npf.h')
-rw-r--r-- | src/pathfinder/npf/npf.h | 9 |
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); |