peter1138
681c8c0162
(svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch]
18 years ago
tron
7ec704564a
(svn r5582) Add and use AxisToTrack{Bits,}()
18 years ago
tron
be88e269b9
(svn r5155) - Remove the bridge branch merge (revision r5070)
19 years ago
tron
fa74002356
(svn r5101) Add a function to convert an axis and a flag for north/south into a DiagDirection. Use it for bridge ramps and ship depots
19 years ago
celestar
25a63ec7af
(svn r5070) Merged the bridge branch
...
-Feature: Bridges can now be placed above:
Any railway track combination (excluding depots and waypoints)
Any road combination (excluding depots)
Clear tiles (duh), including fields
Tunnel entrances
Bridge heads
Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing
There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.
19 years ago
celestar
fd097af20e
(svn r4311) -Fix/Codechange: Clear the railtype when removing rail under a bridge. FS#103 exhibited this problem
19 years ago
tron
7ad0d787e2
(svn r4166) Sprinkle several map accessors with assert()s
19 years ago
celestar
a7d8ad0004
(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas.
19 years ago
tron
b8da06ddb1
(svn r3907) Replace many bridge related direct map accesses with calls to shiny new functions and mark some strange constructs with XXX
19 years ago
tron
483c8f7018
(svn r3904) Move GetBridgePiece() and GetBridgeType() to bridge_map.h and make the only place which still extracted that info diretly use the wrapper
19 years ago
tron
8a77808f65
(svn r3899) Use wrapper functions to make more clear how deleting stuff under bridges works; also remove an unnecessary local variable
19 years ago
tron
ec33376fa3
(svn r3898) Add functions to find a bridge end starting at a middle tile
19 years ago
tron
f262ae6c8b
(svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors
19 years ago
tron
3d9c76d8b8
(svn r3887) Add a function to get the other bridge end when you're at a bridge ramp
19 years ago
tron
251242165c
(svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part
19 years ago
tron
42d1731cc1
(svn r3857) Add and use GetBridgeRampDirection()
...
Note: This slightly changes the behavior of GetAnyRoadBits() to only return a road piece for the start of the bridge ramp instead of a full ROAD_[XY]
19 years ago
tron
e8ccd9641f
(svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges
19 years ago