Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
code and proofreading, thanks to peter1138 for another lot of code and ideas.
|
|
|
|
put and get the status of a level crossing
|
|
from a tile
|
|
|
|
|
|
|
|
|
|
|
|
get information about rail tiles
|
|
|
|
shiny new functions and mark some strange constructs with XXX
|
|
road) under bridges
|
|
|
|
|
|
magic numbers by enums and some related changes
|
|
deem it unnecessary
|
|
|
|
|
|
a level crossing by some less magic numbers
|
|
code by using them
|
|
which direction a pieces of rail goes
|
|
tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring
|
|
|
|
level crossing or a road depot
|
|
road types and pieces
|
|
if a level crossing is on a sloped tile, it has to be on a level foundation
|
|
-Fix: Correctly restore the roadside after roadworks are finished
|
|
|
|
|
|
road pieces
|
|
in r3655
|
|
|
|
|
|
|
|
|
|
it was just a complicated way of writing GetTileSlope(tile, NULL)
|
|
add consts, reduce indentation level by short-circuit logic, convert if cascades to switch, whitespace, bracing, plus some minor stuff
|
|
- Don't treat non-booleans as booleans
- Reduce variable scope
- Bracing
- Use DeMorgan's law to make conditionals easier to read
- if cascade -> switch
- Replace some magic numbers by symbolic names
- Avoid assignments within other statements
|
|
|
|
|
|
|
|
TileIndex points to a tile on the map
|
|
in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
- The only change is that the nsignalsw.grf file is kept and that existing nightlies with PBS signals get those signals converted to combo-signals.
|
|
|
|
under a bridge would, instead of failing, succeed and place a perpendicular piece.
|
|
|