Commit Graph

21 Commits

Author SHA1 Message Date
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 2006-05-09 08:17:33 +00:00
tron
ec7e431cf6 (svn r4764) Move some functions from rail.h to rail_map.h 2006-05-07 07:01:48 +00:00
celestar
01cd0f6fd3 (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
cb001ea14d (svn r4386) -Codechange: Add and make use of IsCustomWaypoint 2006-04-12 13:25:32 +00:00
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
2006-04-12 12:50:40 +00:00
celestar
7109274de4 (svn r4379) -Codechange: Add and make use of map accessor functions concerning rail ground types 2006-04-12 11:58:07 +00:00
celestar
ce320ceb55 (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
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) 2006-04-12 09:12:33 +00:00
celestar
051ef7a793 (svn r4286) -Fix: Typo in 4280 2006-04-05 10:19:59 +00:00
celestar
167faea09e (svn r4280) -Codechange: Add and make use of map accessors concerning railway waypoints 2006-04-05 05:22:42 +00:00
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. 2006-03-29 16:30:26 +00:00
tron
1f1d30cb92 (svn r3985) Make CmdBuildSingleRail() a bit more comprehensible 2006-03-19 17:52:02 +00:00
tron
bf3811122d (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
76ae9585dd (svn r3946) Add short hand names for common track combinations 2006-03-18 13:20:50 +00:00
tron
7b1c7c31fb (svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}() 2006-03-17 10:10:31 +00:00
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 2006-03-17 07:02:34 +00:00
tron
4fb11f23ad (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
0e3699bd5c (svn r3911) Add functions to retrieve/set the signal variant (electric/semaphore) 2006-03-16 21:44:58 +00:00
tron
eeb5bf41a1 (svn r3831) Add and use GetRailDepotDirection() 2006-03-12 16:13:16 +00:00
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 2006-03-01 09:40:34 +00:00
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 2006-03-01 08:56:38 +00:00