Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
Revisions in detail: 2542, 3226 (partial), 3229, 3231, 3232, 3238, 3242-3245, 3251, 3253, 3260, 3263, 3265, 3266, 3269, 3277, 3278, 3279, 3283 (partial), 3304, 3305, 3306
|
|
|
|
|
|
|
|
-Add: added several hooks (event-callbacks) for road-related-stuff
|