Age | Commit message (Collapse) | Author |
|
more uniform.
-Cleanup: whitespace alignment of a few tables.
|
|
loop instead of on every iteration
|
|
|
|
steep slopes (TrueLight)
|
|
instead of GetRailTile{T,Subt}ype() - this is more concise and a bit more flexible if/when the rail tile encoding changes
|
|
|
|
|
|
|
|
|
|
the bridge, not one level lower
|
|
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
|
|
through the case for MP_TUNNELBRIDGE
|
|
|
|
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
|
|
-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.
|
|
condition from the corresponding if (thans Tron for pointing it out)
|
|
ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
|
|
RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
|
|
|
|
|
|
appropriate enums
|
|
instant notice
|
|
Thanks to Rubidium for reporting and fixing
|
|
|
|
a track right above the portal
|
|
more meaningful variable names, simplify control flow..
|
|
and enum/array alignment
|
|
|
|
for pointing it out
|
|
stops, airports and other non-rail tiles
|
|
|
|
of a wrong variable. I wish the compiler would warn about different enum types used...
|
|
|
|
While at it, remove an unused variable
|
|
|
|
|
|
code and proofreading, thanks to peter1138 for another lot of code and ideas.
|