KUDr
ff7e46f378
(svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
...
(original patch by maedhros, ideas: peter1138, Darkvater, Rubidium, Patrick, Eddi|zuHause, ..)
18 years ago
Darkvater
7e4d0f112e
(svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
...
DiagDirections, and add TileOffsByDir that handles Directions.
-Codechange: Make the treeloop use TileOffsByDir().
18 years ago
rubidium
21ac20aeca
(svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
...
-Cleanup: whitespace alignment of a few tables.
18 years ago
tron
1bb62bdef7
(svn r6265) Check whether to draw catenary at all once before the drawing loop instead of on every iteration
18 years ago
tron
f1a9bda2d5
(svn r6255) Simplify drawing of catenary in depots
18 years ago
glx
9247868696
(svn r6226) -Fix(r5864): an assertion was triggered when drawing catenary on steep slopes (TrueLight)
18 years ago
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
19 years ago
belugas
40a8964911
(svn r5609) CodeChange : Apply coding style
19 years ago
tron
07de965e0c
(svn r5584) When drawing catenary on a bridge calculate its height only once
19 years ago
tron
d7cc128c96
(svn r5582) Add and use AxisToTrack{Bits,}()
19 years ago
tron
772fbda3e3
(svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
19 years ago
tron
e12ea73ec4
(svn r5259) -Codechange: GetBridgeHeight{Ramp,}() now returns the height of the bridge, not one level lower
19 years ago
tron
a2362674e3
(svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
19 years ago
tron
e6b5a07962
(svn r5198) Fix some strange control flow: the case for MP_RAILWAY fell through the case for MP_TUNNELBRIDGE
19 years ago
tron
7fd88e5798
(svn r5155) - Remove the bridge branch merge (revision r5070)
19 years ago
tron
020721565a
(svn r5136) Fix various style bugs:
...
- Trailing whitespace
- Trailing empty lines
- Missing newline at EOF
- Missing svn:eol-style native
19 years ago
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.
19 years ago
celestar
14d347b426
(svn r4934) -Fix: Correct a misleading comment, and remove an unneeded condition from the corresponding if (thans Tron for pointing it out)
19 years ago
rubidium
2a337ab009
(svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
19 years ago
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
19 years ago
glx
8bb61ca472
(svn r4785) - Newstations: don't draw catenary on non-track tiles
19 years ago
tron
6dbc9c9ced
(svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
19 years ago
tron
dd180a1e18
(svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
19 years ago
celestar
a251b9373f
(svn r4307) -Fix: Coding style in previous commit. Thanks to Tron for instant notice
19 years ago
celestar
f2cb8b8bd6
(svn r4306) -Fix (103). Assertion when removing elrails under bridges. Thanks to Rubidium for reporting and fixing
19 years ago
celestar
c7915be541
(svn r4305) -Codechange: Minor elrail cleanup (Tron)
19 years ago
celestar
f3e650a7d1
(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
0d0f2f6d98
(svn r4283) -Cleanup: More elrail housekeeping, remove code dublication, more meaningful variable names, simplify control flow..
19 years ago
celestar
0a79bc8357
(svn r4281) -Cleanup: Begun cleaning up elrail code a bit, mostly comments and enum/array alignment
19 years ago
celestar
39460c5e0a
(svn r4276) -Codechange: Cleaned DrawCatenaryOnBridge a bit (requested by Tron)
19 years ago
celestar
ca0c73e4ea
(svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out
19 years ago
celestar
bb8bdcb5d9
(svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles
19 years ago
orudge
ff3c61b011
(svn r4204) - Get trunk compiling again on OS/2
19 years ago
celestar
1f17d91b47
(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
e2e633665e
(svn r4178) -Fix: Draw catenary inside waypoints as well
19 years ago
celestar
79d594313e
(svn r4177) -Fix: GetRailTrackBitsUniversal needs Trackbits, not Track. While at it, remove an unused variable
19 years ago
celestar
5476fd4b96
(svn r4165) -Do not use GetBridgeAxis on bridge ramps (request by Tron)
19 years ago
tron
410b5569fe
(svn r4164) Use acessor functions
19 years ago
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.
19 years ago