Age | Commit message (Collapse) | Author |
|
ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
|
|
with the remove-tool (r4348 surfaced this). In CmdRemoveRoad tiletype was not checked for ownership. Intorudce IsLevelCrossingTile() which checks if a tile is a crossing without knowing the type. Suggested by peter1138 and Tron.
|
|
mysteriously it will break in the morning, fix r4373
|
|
|
|
ground types (including roadworks).
|
|
|
|
put and get the status of a level crossing
|
|
|
|
|
|
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
|
|
|
|
|
|
|