From 74af65e556f6cedf4de72737fb27831f603953c4 Mon Sep 17 00:00:00 2001 From: smatz Date: Wed, 23 Jan 2008 22:34:04 +0000 Subject: (svn r11968) -Codechange: remove redundant FindLengthOfTunnel(), use GetTunnelBridgeLength() and/or GetOtherTunnelEnd() instead --- src/pathfind.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/pathfind.h') 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 */ -- cgit v1.2.3-70-g09d2