Commit Graph

22 Commits (acb4f49de02e7f77494c7d6b8e5a7f67f17b504e)

Author SHA1 Message Date
Darkvater 2380bb56cd (svn r6775) -Codechange: Use some more proper types, especially Owner and PlayerID as
these are used intermixed often.
18 years ago
peter1138 192137258a (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
tron d7cc128c96 (svn r5582) Add and use AxisToTrack{Bits,}() 18 years ago
tron e6b7fbd949 (svn r5317) s/RGT_/ROADSIDE_/ and some minor changes 18 years ago
tron bba2109b22 (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 a2362674e3 (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 308f27a3de (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing. 18 years ago
rubidium 2a337ab009 (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency 18 years ago
Darkvater fd8e02119c (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 85b907c3ef (svn r4374) Never directly commit something you prepared the evening before, mysteriously it will break in the morning, fix r4373 18 years ago
tron a9b607f259 (svn r4348) Move IsLevelCrossing() from rail.h to road_map.h 18 years ago
celestar 369ad5a573 (svn r4258) -Codechange: Add and make use of map accessors dealing with road ground types (including roadworks). 19 years ago
tron bbf4f982a0 (svn r4166) Sprinkle several map accessors with assert()s 19 years ago
celestar db9706cb80 (svn r4088) -Codechange: Introduce {Unb,B}arCrossing and IsCrossingBarred to put and get the status of a level crossing 19 years ago
tron 453a925d72 (svn r3986) Add [GS]etCrossingRoadOwner 19 years ago
tron a2572f91ba (svn r3984) Add a function to get the road axis of a level crossing 19 years ago
tron 273533d4c7 (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 86550c94bc (svn r3795) Add a function to request the orientation of a depot 19 years ago
tron 03254940a4 (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 4da99989b9 (svn r3766) Add a function to get the RoadBits from an arbitrary tile 19 years ago
tron 62abd9c1e2 (svn r3765) Fix some naming glitches in r3763 and add missing svn properties 19 years ago
tron 4efa560ffc (svn r3763) Adapt to the new 'map accessors go in foo_map.h'-scheme 19 years ago