Age | Commit message (Collapse) | Author |
|
want to get the road bits under a bridge (thanx hylje)
|
|
unfixed by r5798. Now there is proper comment, so it should not happen again.
|
|
tile is a
road depot also excluded all non-road tile types (i.e. bridges/tunnels
with road.) Thanks to Graphite for finding this.
|
|
|
|
-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.
|
|
YAPF related change of GetTileTrackStatus() - r4419)
|
|
ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
|
|
moved them to station_map.h to keep consistency
|
|
shiny new functions and mark some strange constructs with XXX
|
|
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]
|
|
|
|
|
|
magic numbers by enums and some related changes
|
|
|