diff options
author | smatz <smatz@openttd.org> | 2008-01-23 22:34:04 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-23 22:34:04 +0000 |
commit | 5a7c9037709772e4678ee57d9b42f5332bd66f97 (patch) | |
tree | ae76a3390a465cf3bfc011e2b32d53d5ae55c298 /src/pathfind.h | |
parent | b5641ae0f2ca3723af7fe7f68c4ac45e113e8421 (diff) | |
download | openttd-5a7c9037709772e4678ee57d9b42f5332bd66f97.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.h | 7 |
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 */ |