diff options
author | rubidium <rubidium@openttd.org> | 2007-05-24 22:41:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-24 22:41:50 +0000 |
commit | 440d723d842db2f246428de2e404091e074ed254 (patch) | |
tree | 4ec491716328387ce65a5c1f45b836b6f5f57ce2 /src/pathfind.h | |
parent | b82676be2a39adeb883f9dd5c67125eec12f2753 (diff) | |
download | openttd-440d723d842db2f246428de2e404091e074ed254.tar.xz |
(svn r9914) -Codechange: prepare GTTS and the pathfinders to handle multiple road types on a single tile.
Diffstat (limited to 'src/pathfind.h')
-rw-r--r-- | src/pathfind.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pathfind.h b/src/pathfind.h index 61f72e475..2bafe97f3 100644 --- a/src/pathfind.h +++ b/src/pathfind.h @@ -57,6 +57,8 @@ struct TrackPathFinder { TrackdirByte the_dir; TransportTypeByte tracktype; + uint sub_type; + byte var2; bool disable_tile_hash; bool hasbit_13; @@ -67,7 +69,7 @@ struct TrackPathFinder { TrackPathFinderLink links[0x400]; ///< hopefully, this is enough. }; -void FollowTrack(TileIndex tile, uint16 flags, DiagDirection direction, TPFEnumProc* enum_proc, TPFAfterProc* after_proc, void* data); +void FollowTrack(TileIndex tile, uint16 flags, uint sub_type, DiagDirection direction, TPFEnumProc* enum_proc, TPFAfterProc* after_proc, void* data); struct FindLengthOfTunnelResult { TileIndex tile; |