summaryrefslogtreecommitdiff
path: root/network_server.c
diff options
context:
space:
mode:
authormatthijs <matthijs@openttd.org>2005-05-02 22:13:20 +0000
committermatthijs <matthijs@openttd.org>2005-05-02 22:13:20 +0000
commitba733c005dbe8edf23a3f1cb05dd892df5be11a9 (patch)
treed0b9834259f5e0b0d954f2722cf9ab0ce5de1d99 /network_server.c
parenta7b661d47b126547815fde47b497ab7bf93d3246 (diff)
downloadopenttd-ba733c005dbe8edf23a3f1cb05dd892df5be11a9.tar.xz
(svn r2255) - Fix: [ 9680363 ] [NPF] Broken buoy handling for ships
Buoys will now try to get within 3 tiles of a buoy instead of a the actual buoy tile. This gets ships to got past buoys in a realistic (IMO) way instead of barging right through them. - Fix: [NPF] Trains get curves penalties sometimes even when the track is straight. - Add: [NPF] Ships get a penalty for going over buoys now, so they will try to go around. - Add: [NPF] Ships get a penalty for curves too, yay for straight lines. - Add: TrackdirToTrack(), TrackToTrackdir(), IsDiagonalTrack() and IsDiagonalTrackdir() helper functions. - Add: IsBuoy() and IsBuoyTile() helper functions. - Codechange: Rearranged part of the control flow of ShipController(), removing a goto.
Diffstat (limited to 'network_server.c')
0 files changed, 0 insertions, 0 deletions