summaryrefslogtreecommitdiff
path: root/rail_map.h
AgeCommit message (Collapse)Author
2006-08-22(svn r6045) -Cleanup: align all table-like structures using spaces, i.e. ↵rubidium
whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
2006-07-27(svn r5624) Use {IsPlainRailTile,IsRailDepot,IsRailWaypoint,HasSignals}() ↵tron
instead of GetRailTile{T,Subt}ype() - this is more concise and a bit more flexible if/when the rail tile encoding changes
2006-07-22(svn r5582) Add and use AxisToTrack{Bits,}()tron
2006-06-27(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectaculartron
2006-06-21(svn r5326) Remove the indicator bit for custom waypoint graphics, because ↵tron
it just contains redundant information Yup-yup-ed by: peter1138
2006-06-19(svn r5313) Move IsRailWaypoint() to rail_map.h and remove unused enumtron
2006-06-18(svn r5309) Partially fix the rail header dependency fiasco: rail_map.h now ↵tron
depends on rail.h and not the other way round anymore
2006-06-07(svn r5155) - Remove the bridge branch merge (revision r5070)tron
2006-06-02(svn r5070) Merged the bridge branchcelestar
-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-05-27(svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous ↵KUDr
support and users for testing.
2006-05-09(svn r4788) - Codechange: RAILTYPE_{NORMAL,ELECTRIC,...} and ↵rubidium
RAIL_TYPE_{NORMAL,SIGNAL,...} have nearly the same name, rename RAIL_TYPE_* to RAIL_TILE_* of extra clarity
2006-05-07(svn r4764) Move some functions from rail.h to rail_map.htron
2006-04-17(svn r4461) -Codechange: Add and make use of map accessor functions for ↵celestar
signal drawing. Includes some basic cleanup of the drawing functions
2006-04-12(svn r4386) -Codechange: Add and make use of IsCustomWaypointcelestar
2006-04-12(svn r4384) -Codechange: rail drawing codecelestar
-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(svn r4379) -Codechange: Add and make use of map accessor functions ↵celestar
concerning rail ground types
2006-04-12(svn r4378) -Add and make use of an accessor function two-way => one-way => ↵celestar
one-way => two-way signal cycling
2006-04-12(svn r4377) -Add and make use of a function that finds out whether a signal ↵celestar
is an entry or and exit signal to a presignal block (as combos act as both)
2006-04-05(svn r4286) -Fix: Typo in 4280celestar
2006-04-05(svn r4280) -Codechange: Add and make use of map accessors concerning ↵celestar
railway waypoints
2006-03-29(svn r4150) -Feature: Merged elrails into trunk. Thanks to Tron for lots of ↵celestar
code and proofreading, thanks to peter1138 for another lot of code and ideas.
2006-03-19(svn r3985) Make CmdBuildSingleRail() a bit more comprehensibletron
2006-03-19(svn r3979) Move GetRailFoundation() to rail_map.h and use it and friends to ↵tron
get information about rail tiles
2006-03-18(svn r3946) Add short hand names for common track combinationstron
2006-03-17(svn r3916) Get/Set the rail type by [GS]etRailType{Crossing,OnBridge,}()tron
2006-03-17(svn r3913) Move declarations to rail_map.h so rail.h is dependent on ↵tron
rail_map.h and not the other way round
2006-03-17(svn r3912) Move the signal type enum and GetSignalType() to rail_map.h; ↵tron
also add SetSignalType() and use the functions
2006-03-16(svn r3911) Add functions to retrieve/set the signal variant ↵tron
(electric/semaphore)
2006-03-12(svn r3831) Add and use GetRailDepotDirection()tron
2006-03-01(svn r3697) Rename DIAG1/DIAG2 to X resp. Y as this conveys a bit better in ↵tron
which direction a pieces of rail goes
2006-03-01(svn r3696) Add functions to turn a tile into a normal rail ↵tron
tile/depot/waypoint. This is just a tiny step, the rail code needs way more love and caring