Commit Graph

23 Commits

Author SHA1 Message Date
celestar 25a63ec7af (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.
2006-06-02 13:05: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 9b1bbf72ee (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 2006-05-09 08:17:33 +00:00
tron 4f092c8de8 (svn r4764) Move some functions from rail.h to rail_map.h 2006-05-07 07:01:48 +00:00
celestar 6935fb6455 (svn r4461) -Codechange: Add and make use of map accessor functions for signal drawing. Includes some basic cleanup of the drawing functions 2006-04-17 19:09:30 +00:00
celestar b03bd97b47 (svn r4386) -Codechange: Add and make use of IsCustomWaypoint 2006-04-12 13:25:32 +00:00
celestar bdcb4bbf1d (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
2006-04-12 12:50:40 +00:00
celestar ee7eaef29d (svn r4379) -Codechange: Add and make use of map accessor functions concerning rail ground types 2006-04-12 11:58:07 +00:00
celestar 923a0e60d6 (svn r4378) -Add and make use of an accessor function two-way => one-way => one-way => two-way signal cycling 2006-04-12 09:36:27 +00:00
celestar 5ae9a03a1f (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) 2006-04-12 09:12:33 +00:00
celestar 38be3dbb58 (svn r4286) -Fix: Typo in 4280 2006-04-05 10:19:59 +00:00
celestar 8362990f8c (svn r4280) -Codechange: Add and make use of map accessors concerning railway waypoints 2006-04-05 05:22:42 +00:00
celestar a7d8ad0004 (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. 2006-03-29 16:30:26 +00:00
tron 9f3aa9057d (svn r3985) Make CmdBuildSingleRail() a bit more comprehensible 2006-03-19 17:52:02 +00:00
tron 77e5cf4bc1 (svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to get information about rail tiles 2006-03-19 12:06:12 +00:00
tron d8dcedcfd2 (svn r3946) Add short hand names for common track combinations 2006-03-18 13:20:50 +00:00
tron 89090790c2 (svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}() 2006-03-17 10:10:31 +00:00
tron 27d7d42404 (svn r3913) Move declarations to rail_map.h so rail.h is dependent on rail_map.h and not the other way round 2006-03-17 07:02:34 +00:00
tron 41ee22ed99 (svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; also add SetSignalType() and use the functions 2006-03-17 06:26:37 +00:00
tron 2232412f59 (svn r3911) Add functions to retrieve/set the signal variant (electric/semaphore) 2006-03-16 21:44:58 +00:00
tron 12d252d9bd (svn r3831) Add and use GetRailDepotDirection() 2006-03-12 16:13:16 +00:00
tron 793613a286 (svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in which direction a pieces of rail goes 2006-03-01 09:40:34 +00:00
tron b404072ccc (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 2006-03-01 08:56:38 +00:00