summaryrefslogtreecommitdiff
path: root/road_map.h
AgeCommit message (Collapse)Author
2006-06-10(svn r5210) Many small changes which piled up: const, unsigned, variable ↵tron
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
2006-05-27(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous ↵KUDr
support and users for testing.
2006-05-09(svn r4789) - Codechange: rename RoadType to RoadTileType and ↵rubidium
ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
2006-04-15(svn r4435) - Fix: an assertion triggered when trying to remove a bridge ↵Darkvater
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.
2006-04-12(svn r4374) Never directly commit something you prepared the evening before, ↵tron
mysteriously it will break in the morning, fix r4373
2006-04-10(svn r4348) Move IsLevelCrossing() from rail.h to road_map.htron
2006-04-03(svn r4258) -Codechange: Add and make use of map accessors dealing with road ↵celestar
ground types (including roadworks).
2006-03-30(svn r4166) Sprinkle several map accessors with assert()stron
2006-03-24(svn r4088) -Codechange: Introduce {Unb,B}arCrossing and IsCrossingBarred to ↵celestar
put and get the status of a level crossing
2006-03-19(svn r3986) Add [GS]etCrossingRoadOwnertron
2006-03-19(svn r3984) Add a function to get the road axis of a level crossingtron
2006-03-14(svn r3857) Add and use GetBridgeRampDirection()tron
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]
2006-03-08(svn r3795) Add a function to request the orientation of a depottron
2006-03-06(svn r3773) Shove some semantics down ottd's throat by replacing ints and ↵tron
magic numbers by enums and some related changes
2006-03-05(svn r3766) Add a function to get the RoadBits from an arbitrary tiletron
2006-03-05(svn r3765) Fix some naming glitches in r3763 and add missing svn propertiestron
2006-03-05(svn r3763) Adapt to the new 'map accessors go in foo_map.h'-schemetron