summaryrefslogtreecommitdiff
path: root/src/pathfind.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-23 22:34:04 +0000
committersmatz <smatz@openttd.org>2008-01-23 22:34:04 +0000
commit74af65e556f6cedf4de72737fb27831f603953c4 (patch)
treeae76a3390a465cf3bfc011e2b32d53d5ae55c298 /src/pathfind.h
parentdbd4d7d6a8a4449cf1939752331a95c15ad276f9 (diff)
downloadopenttd-74af65e556f6cedf4de72737fb27831f603953c4.tar.xz
(svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead
Diffstat (limited to 'src/pathfind.h')
-rw-r--r--src/pathfind.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/pathfind.h b/src/pathfind.h
index 53eb6062a..bafcad905 100644
--- a/src/pathfind.h
+++ b/src/pathfind.h
@@ -68,13 +68,6 @@ struct TrackPathFinder {
};
void FollowTrack(TileIndex tile, uint16 flags, uint sub_type, DiagDirection direction, TPFEnumProc* enum_proc, TPFAfterProc* after_proc, void* data);
-
-struct FindLengthOfTunnelResult {
- TileIndex tile;
- int length;
-};
-FindLengthOfTunnelResult FindLengthOfTunnel(TileIndex tile, DiagDirection direction);
-
void NewTrainPathfind(TileIndex tile, TileIndex dest, RailTypes railtypes, DiagDirection direction, NTPEnumProc* enum_proc, void* data);
#endif /* PATHFIND_H */