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
2006-07-27 05:30:53 +00:00
tron
d7cc128c96
(svn r5582) Add and use AxisToTrack{Bits,}()
2006-07-22 08:59:52 +00:00
tron
772fbda3e3
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
2006-06-27 21:25:53 +00:00
tron
5d1ae07dc5
(svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information
...
Yup-yup-ed by: peter1138
2006-06-21 11:30:28 +00:00
tron
fc4a046fe2
(svn r5313) Move IsRailWaypoint() to rail_map.h and remove unused enum
2006-06-19 09:15:16 +00:00
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
2006-06-18 15:28:29 +00:00
tron
7fd88e5798
(svn r5155) - Remove the bridge branch merge (revision r5070)
2006-06-07 19:35:21 +00:00
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.
2006-06-02 13:05:41 +00:00
KUDr
308f27a3de
(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
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