Commit Graph

25 Commits (da4d1aa292fe01ab2a09e7de4910740bd026b1c2)

Author SHA1 Message Date
tron be88e269b9 (svn r5155) - Remove the bridge branch merge (revision r5070) 18 years ago
tron aada042d57 (svn r5136) Fix various style bugs:
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
18 years ago
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.
18 years ago
celestar e693290ed1 (svn r4934) -Fix: Correct a misleading comment, and remove an unneeded condition from the corresponding if (thans Tron for pointing it out) 18 years ago
rubidium e5bd292dab (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency 18 years ago
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 18 years ago
glx cd3c141336 (svn r4785) - Newstations: don't draw catenary on non-track tiles 18 years ago
tron c1dc517dab (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE} 18 years ago
tron 0347fb2ab6 (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums 18 years ago
celestar 025584ae26 (svn r4307) -Fix: Coding style in previous commit. Thanks to Tron for instant notice 19 years ago
celestar 48b69f1344 (svn r4306) -Fix (103). Assertion when removing elrails under bridges. Thanks to Rubidium for reporting and fixing 19 years ago
celestar cc51832917 (svn r4305) -Codechange: Minor elrail cleanup (Tron) 19 years ago
celestar 6ddb58af6d (svn r4284) -Fix: Tunnel portals no longer have a pylon ON them if there is a track right above the portal 19 years ago
celestar 0c3a0c7ec0 (svn r4283) -Cleanup: More elrail housekeeping, remove code dublication, more meaningful variable names, simplify control flow.. 19 years ago
celestar 4acb8d5364 (svn r4281) -Cleanup: Begun cleaning up elrail code a bit, mostly comments and enum/array alignment 19 years ago
celestar 1be26a510c (svn r4276) -Codechange: Cleaned DrawCatenaryOnBridge a bit (requested by Tron) 19 years ago
celestar ab1ecd7704 (svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out 19 years ago
celestar 1f88ea4ec6 (svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles 19 years ago
orudge 0fe27c16af (svn r4204) - Get trunk compiling again on OS/2 19 years ago
celestar 756212a71e (svn r4180) -Fix: Fixed an assert in the elrail drawing code due to passing of a wrong variable. I wish the compiler would warn about different enum types used... 19 years ago
celestar 3e2edd63c9 (svn r4178) -Fix: Draw catenary inside waypoints as well 19 years ago
celestar 2b8eaa2e81 (svn r4177) -Fix: GetRailTrackBitsUniversal needs Trackbits, not Track. While at it, remove an unused variable 19 years ago
celestar 84de6477b2 (svn r4165) -Do not use GetBridgeAxis on bridge ramps (request by Tron) 19 years ago
tron d9e705ae52 (svn r4164) Use acessor functions 19 years ago
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. 19 years ago