elrail.c
Sun, 10 Jun 2007 19:59:34 +0000 rubidium (svn r10083) [0.5] -Fix [FS#836]: "Deactivate Electrified Railways" didn't work. 0.5
Mon, 19 Mar 2007 19:56:16 +0000 rubidium (svn r9347) [0.5] -Backport from trunk (r9019, r9076, r9077): 0.5
Sun, 10 Dec 2006 15:21:48 +0000 Darkvater (svn r7470) -Codechange: Leave elrails enabled after loading old (pre-optional) and very old (pre-elrails) games. Let the user manually disable if if undesired.
Fri, 17 Nov 2006 19:31:44 +0000 KUDr (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
Tue, 05 Sep 2006 23:21:41 +0000 Darkvater (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Thu, 31 Aug 2006 11:18:30 +0000 tron (svn r6265) Check whether to draw catenary at all once before the drawing loop instead of on every iteration
Thu, 31 Aug 2006 07:29:19 +0000 tron (svn r6255) Simplify drawing of catenary in depots
Tue, 29 Aug 2006 21:34:02 +0000 glx (svn r6226) -Fix(r5864): an assertion was triggered when drawing catenary on steep slopes (TrueLight)
Thu, 27 Jul 2006 05:30:53 +0000 tron (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
Wed, 26 Jul 2006 03:33:12 +0000 belugas (svn r5609) CodeChange : Apply coding style
Sat, 22 Jul 2006 09:08:34 +0000 tron (svn r5584) When drawing catenary on a bridge calculate its height only once
Sat, 22 Jul 2006 08:59:52 +0000 tron (svn r5582) Add and use AxisToTrack{Bits,}()
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Wed, 14 Jun 2006 09:01:21 +0000 tron (svn r5259) -Codechange: GetBridgeHeight{Ramp,}() now returns the height of the bridge, not one level lower
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Fri, 09 Jun 2006 15:24:04 +0000 tron (svn r5198) Fix some strange control flow: the case for MP_RAILWAY fell through the case for MP_TUNNELBRIDGE
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Mon, 05 Jun 2006 18:10:43 +0000 tron (svn r5136) Fix various style bugs:
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
Sat, 20 May 2006 21:04:43 +0000 celestar (svn r4934) -Fix: Correct a misleading comment, and remove an unneeded condition from the corresponding if (thans Tron for pointing it out)
Tue, 09 May 2006 08:25:31 +0000 rubidium (svn r4789) - Codechange: rename RoadType to RoadTileType and ROAD_{NORMAL,CROSSING,DEPOT} to ROAD_TILE_* for consistency
Tue, 09 May 2006 08:17:33 +0000 rubidium (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
Mon, 08 May 2006 21:59:36 +0000 glx (svn r4785) - Newstations: don't draw catenary on non-track tiles
Sun, 23 Apr 2006 19:35:36 +0000 tron (svn r4554) Replace magic numbers by TILE_{HEIGHT,SIZE}
Sun, 23 Apr 2006 13:48:16 +0000 tron (svn r4541) Add a type for slopes and replace many magic numbers by the appropriate enums
Fri, 07 Apr 2006 07:40:44 +0000 celestar (svn r4307) -Fix: Coding style in previous commit. Thanks to Tron for instant notice
Fri, 07 Apr 2006 07:39:03 +0000 celestar (svn r4306) -Fix (103). Assertion when removing elrails under bridges. Thanks to Rubidium for reporting and fixing
Fri, 07 Apr 2006 07:19:14 +0000 celestar (svn r4305) -Codechange: Minor elrail cleanup (Tron)
Wed, 05 Apr 2006 09:28:57 +0000 celestar (svn r4284) -Fix: Tunnel portals no longer have a pylon ON them if there is a track right above the portal
Wed, 05 Apr 2006 09:17:43 +0000 celestar (svn r4283) -Cleanup: More elrail housekeeping, remove code dublication, more meaningful variable names, simplify control flow..
Wed, 05 Apr 2006 08:28:03 +0000 celestar (svn r4281) -Cleanup: Begun cleaning up elrail code a bit, mostly comments and enum/array alignment
Tue, 04 Apr 2006 12:31:29 +0000 celestar (svn r4276) -Codechange: Cleaned DrawCatenaryOnBridge a bit (requested by Tron)
Fri, 31 Mar 2006 19:14:17 +0000 celestar (svn r4216) -Fix: Fixed revision 4214, did a bad error there. Thanks MiHaMiX for pointing it out
Fri, 31 Mar 2006 19:01:57 +0000 celestar (svn r4214) -Fix: Do not try to obtain Trackbits for normal rails, bus stops, airports and other non-rail tiles
Fri, 31 Mar 2006 16:01:59 +0000 orudge (svn r4204) - Get trunk compiling again on OS/2
Thu, 30 Mar 2006 15:47:18 +0000 celestar (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...
Thu, 30 Mar 2006 13:12:36 +0000 celestar (svn r4178) -Fix: Draw catenary inside waypoints as well
Thu, 30 Mar 2006 13:06:16 +0000 celestar (svn r4177) -Fix: GetRailTrackBitsUniversal needs Trackbits, not Track. While at it, remove an unused variable
Thu, 30 Mar 2006 09:26:17 +0000 celestar (svn r4165) -Do not use GetBridgeAxis on bridge ramps (request by Tron)
Thu, 30 Mar 2006 09:08:43 +0000 tron (svn r4164) Use acessor functions
Wed, 29 Mar 2006 16:30:26 +0000 celestar (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.