summaryrefslogtreecommitdiff
path: root/elrail.c
AgeCommit message (Collapse)Author
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-20(svn r4934) -Fix: Correct a misleading comment, and remove an unneeded ↵celestar
condition from the corresponding if (thans Tron for pointing it out)
2006-05-09(svn r4789) - Codechange: rename RoadType to RoadTileType and ↵rubidium
ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
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-08(svn r4785) - Newstations: don't draw catenary on non-track tilesglx
2006-04-23(svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}tron
2006-04-23(svn r4541) Add a type for slopes and replace many magic numbers by the ↵tron
appropriate enums
2006-04-07(svn r4307) -Fix: Coding style in previous commit. Thanks to Tron for ↵celestar
instant notice
2006-04-07(svn r4306) -Fix (103). Assertion when removing elrails under bridges. ↵celestar
Thanks to Rubidium for reporting and fixing
2006-04-07(svn r4305) -Codechange: Minor elrail cleanup (Tron)celestar
2006-04-05(svn r4284) -Fix: Tunnel portals no longer have a pylon ON them if there is ↵celestar
a track right above the portal
2006-04-05(svn r4283) -Cleanup: More elrail housekeeping, remove code dublication, ↵celestar
more meaningful variable names, simplify control flow..
2006-04-05(svn r4281) -Cleanup: Begun cleaning up elrail code a bit, mostly comments ↵celestar
and enum/array alignment
2006-04-04(svn r4276) -Codechange: Cleaned DrawCatenaryOnBridge a bit (requested by Tron)celestar
2006-03-31(svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX ↵celestar
for pointing it out
2006-03-31(svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus ↵celestar
stops, airports and other non-rail tiles
2006-03-31(svn r4204) - Get trunk compiling again on OS/2orudge
2006-03-30(svn r4180) -Fix: Fixed an assert in the elrail drawing code due to passing ↵celestar
of a wrong variable. I wish the compiler would warn about different enum types used...
2006-03-30(svn r4178) -Fix: Draw catenary inside waypoints as wellcelestar
2006-03-30(svn r4177) -Fix: GetRailTrackBitsUniversal needs Trackbits, not Track. ↵celestar
While at it, remove an unused variable
2006-03-30(svn r4165) -Do not use GetBridgeAxis on bridge ramps (request by Tron)celestar
2006-03-30(svn r4164) Use acessor functionstron
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.