Commit Graph

12 Commits (2ad6bfefdaeaa06561b1c9196e5bd65d3dd306c3)

Author SHA1 Message Date
celestar f771c96958 (svn r4311) -Fix/Codechange: Clear the railtype when removing rail under a bridge. FS#103 exhibited this problem 19 years ago
tron bbf4f982a0 (svn r4166) Sprinkle several map accessors with assert()s 19 years ago
celestar 6c44bf5012 (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 6e988259a4 (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 1c6915bca3 (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 666c0a379d (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 1ac97fe008 (svn r3898) Add functions to find a bridge end starting at a middle tile 19 years ago
tron 23d5188b7b (svn r3889) Change a part of the bridge drawing code to make it more comprehensible and add the needed accessors 19 years ago
tron 626109f3f9 (svn r3887) Add a function to get the other bridge end when you're at a bridge ramp 19 years ago
tron c515c34008 (svn r3877) Add functions to turn a tile into a rail/road bridge ramp/middle part 19 years ago
tron 273533d4c7 (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 26815f7405 (svn r3846) Add functions to set the type of stuff (clear, water, rail, road) under bridges 19 years ago