Commit Graph

21 Commits

Author SHA1 Message Date
peter1138
681c8c0162 (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 2006-09-28 18:42:35 +00:00
tron
7ec704564a (svn r5582) Add and use AxisToTrack{Bits,}() 2006-07-22 08:59:52 +00:00
tron
9b6fce70a2 (svn r5317) s/RGT_/ROADSIDE_/ and some minor changes 2006-06-19 20:13:50 +00:00
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) 2006-06-19 09:40:08 +00:00
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. 2006-06-10 08:37:41 +00:00
KUDr
5e73dce0e7 (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. 2006-05-27 16:12:16 +00:00
rubidium
e5bd292dab (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency 2006-05-09 08:25:31 +00:00
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. 2006-04-15 20:07:42 +00:00
tron
4615a26552 (svn r4374) Never directly commit something you prepared the evening before, mysteriously it will break in the morning, fix r4373 2006-04-12 05:26:36 +00:00
tron
f4a8818dbf (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h 2006-04-10 20:38:59 +00:00
celestar
961b44e697 (svn r4258) -Codechange: Add and make use of map accessors dealing with road ground types (including roadworks). 2006-04-03 13:35:19 +00:00
tron
7ad0d787e2 (svn r4166) Sprinkle several map accessors with assert()s 2006-03-30 09:29:01 +00:00
celestar
842eac5d7f (svn r4088) -Codechange: Introduce {Unb,B}arCrossing and IsCrossingBarred to put and get the status of a level crossing 2006-03-24 15:24:16 +00:00
tron
75a9419f04 (svn r3986) Add [GS]etCrossingRoadOwner 2006-03-19 19:33:19 +00:00
tron
a751a796e1 (svn r3984) Add a function to get the road axis of a level crossing 2006-03-19 17:15:33 +00:00
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]
2006-03-14 12:00:11 +00:00
tron
463cf2ec6b (svn r3795) Add a function to request the orientation of a depot 2006-03-08 15:29:23 +00:00
tron
f3fb21c96c (svn r3773) Shove some semantics down ottd's throat by replacing ints and magic numbers by enums and some related changes 2006-03-06 13:11:08 +00:00
tron
f007ad282c (svn r3766) Add a function to get the RoadBits from an arbitrary tile 2006-03-05 12:22:20 +00:00
tron
ebec656110 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties 2006-03-05 11:18:34 +00:00
tron
cc4f5b4e6f (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme 2006-03-05 10:19:33 +00:00