summaryrefslogtreecommitdiff
path: root/road_map.h
AgeCommit message (Collapse)Author
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