Commit Graph

22 Commits (ba60e4ac3428f20f74e635ea9ac1f729e1aa16a9)

Author SHA1 Message Date
Darkvater 9732c129c1 (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as
these are used intermixed often.
18 years ago
peter1138 681c8c0162 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
tron 7ec704564a (svn r5582) Add and use AxisToTrack{Bits,}() 18 years ago
tron 9b6fce70a2 (svn r5317) s/RGT_/ROADSIDE_/ and some minor changes 18 years ago
tron c61b617a16 (svn r5314) -Regression: When road works started on a road tile with barren roadside the road side turned into trees (caused by r4258) 18 years ago
tron 0a72639c2d (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc. 18 years ago
KUDr 5e73dce0e7 (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. 18 years ago
rubidium e5bd292dab (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency 18 years ago
Darkvater d63fad7a7b (svn r4435) - Fix: an assertion triggered when trying to remove a bridge 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. 18 years ago
tron 4615a26552 (svn r4374) Never directly commit something you prepared the evening before, mysteriously it will break in the morning, fix r4373 18 years ago
tron f4a8818dbf (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h 18 years ago
celestar 961b44e697 (svn r4258) -Codechange: Add and make use of map accessors dealing with road ground types (including roadworks). 19 years ago
tron 7ad0d787e2 (svn r4166) Sprinkle several map accessors with assert()s 19 years ago
celestar 842eac5d7f (svn r4088) -Codechange: Introduce {Unb,B}arCrossing and IsCrossingBarred to put and get the status of a level crossing 19 years ago
tron 75a9419f04 (svn r3986) Add [GS]etCrossingRoadOwner 19 years ago
tron a751a796e1 (svn r3984) Add a function to get the road axis of a level crossing 19 years ago
tron 42d1731cc1 (svn r3857) Add and use GetBridgeRampDirection()
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]
19 years ago
tron 463cf2ec6b (svn r3795) Add a function to request the orientation of a depot 19 years ago
tron f3fb21c96c (svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes 19 years ago
tron f007ad282c (svn r3766) Add a function to get the RoadBits from an arbitrary tile 19 years ago
tron ebec656110 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties 19 years ago
tron cc4f5b4e6f (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme 19 years ago