diff options
author | rubidium <rubidium@openttd.org> | 2009-12-01 23:22:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-12-01 23:22:41 +0000 |
commit | 291f6490c65bd88067db472a915b4ea29cc5741a (patch) | |
tree | 8f15fc32c38d87c1ba2cdcf1ff213a76f92e6b7d /src/pathfinder/opf/opf_ship.h | |
parent | 5d7af2561f9b17f45a65d5852215b41f28c9d0c0 (diff) | |
download | openttd-291f6490c65bd88067db472a915b4ea29cc5741a.tar.xz |
(svn r18366) -Codechange: move the OPF ship pathfinder 'magic' that was in ship_cmd.cpp to the pathfinder code itself
Diffstat (limited to 'src/pathfinder/opf/opf_ship.h')
-rw-r--r-- | src/pathfinder/opf/opf_ship.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/pathfinder/opf/opf_ship.h b/src/pathfinder/opf/opf_ship.h index 6afff227b..99050c33f 100644 --- a/src/pathfinder/opf/opf_ship.h +++ b/src/pathfinder/opf/opf_ship.h @@ -12,10 +12,6 @@ #ifndef OPF_SHIP_H #define OPF_SHIP_H -#include "../../direction_type.h" - -typedef bool TPFEnumProc(TileIndex tile, void *data, Trackdir trackdir, uint length); - -void OPFShipFollowTrack(TileIndex tile, DiagDirection direction, TPFEnumProc *enum_proc, void *data); +Track OPFShipChooseTrack(Ship *v, TileIndex tile, DiagDirection enterdir, TrackBits tracks); #endif /* OPF_SHIP_H */ |