Commit Graph

34 Commits (acb4f49de02e7f77494c7d6b8e5a7f67f17b504e)

Author SHA1 Message Date
peter1138 192137258a (svn r6560) - Codechange: Minor fix; add missing #include guards and comments, and correct svn properties on bmp.[ch] 18 years ago
tron a400582d61 (svn r6259) Extract the axis directly, don't use a trinary operator 18 years ago
tron d0a0786ef1 (svn r6251) Replace 2 bool variables by a simple switch 18 years ago
rubidium 908d3bcfe6 (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct. 18 years ago
tron 3c368fc05e (svn r5624) Use {IsPlainRailTile,IsRailDepot,IsRailWaypoint,HasSignals}() instead of GetRailTile{T,Subt}ype() - this is more concise and a bit more flexible if/when the rail tile encoding changes 18 years ago
tron d7cc128c96 (svn r5582) Add and use AxisToTrack{Bits,}() 18 years ago
tron 772fbda3e3 (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular 18 years ago
tron 5d1ae07dc5 (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
Yup-yup-ed by: peter1138
18 years ago
tron fc4a046fe2 (svn r5313) Move IsRailWaypoint() to rail_map.h and remove unused enum 18 years ago
tron 000497273c (svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now depends on rail.h and not the other way round anymore 18 years ago
tron 7fd88e5798 (svn r5155) - Remove the bridge branch merge (revision r5070) 18 years ago
celestar b618b75c9b (svn r5070) Merged the bridge branch
-Feature: Bridges can now be placed above:
	Any railway track combination (excluding depots and waypoints)
	Any road combination (excluding depots)
	Clear tiles (duh), including fields
	Tunnel entrances
	Bridge heads

Thanks to Tron for idea and implementation, KUDr for the yapf synchronization and many others for hours of testing

There are still a number of visual problems remaining, especially when electric railways are on or under the bridge.
DO NOT REPORT THOSE BUGS FOR THE TIME BEING please.
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 3dae1a9bba (svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity 18 years ago
tron ec7e431cf6 (svn r4764) Move some functions from rail.h to rail_map.h 18 years ago
celestar 01cd0f6fd3 (svn r4461) -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions 18 years ago
celestar cb001ea14d (svn r4386) -Codechange: Add and make use of IsCustomWaypoint 18 years ago
celestar e81a1821f1 (svn r4384) -Codechange: rail drawing code
-Added a function to obtain the axis of a waypoint
    -Moved the waypoint layout tables from the depot layout tables into an own one
    -Use GetRailTileSubtype
18 years ago
celestar 7109274de4 (svn r4379) -Codechange: Add and make use of map accessor functions concerning rail ground types 18 years ago
celestar ce320ceb55 (svn r4378) -Add and make use of an accessor function two-way => one-way => one-way => two-way signal cycling 18 years ago
celestar 3207d63244 (svn r4377) -Add and make use of a function that finds out whether a signal is an entry or and exit signal to a presignal block (as combos act as both) 18 years ago
celestar 051ef7a793 (svn r4286) -Fix: Typo in 4280 19 years ago
celestar 167faea09e (svn r4280) -Codechange: Add and make use of map accessors concerning railway waypoints 19 years ago
celestar 6c44bf5012 (svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of code and proofreading, thanks to peter1138 for another lot of code and ideas. 19 years ago
tron 1f1d30cb92 (svn r3985) Make CmdBuildSingleRail() a bit more comprehensible 19 years ago
tron bf3811122d (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles 19 years ago
tron 76ae9585dd (svn r3946) Add short hand names for common track combinations 19 years ago
tron 7b1c7c31fb (svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}() 19 years ago
tron 853a9b2da4 (svn r3913) Move declarations to rail_map.h so rail.h is dependent on rail_map.h and not the other way round 19 years ago
tron 4fb11f23ad (svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; also add SetSignalType() and use the functions 19 years ago
tron 0e3699bd5c (svn r3911) Add functions to retrieve/set the signal variant (electric/semaphore) 19 years ago
tron eeb5bf41a1 (svn r3831) Add and use GetRailDepotDirection() 19 years ago
tron 7b106a3d8f (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes 19 years ago
tron 28fc670fe2 (svn r3696) Add functions to turn a tile into a normal rail tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring 19 years ago