rail_cmd.c
Wed, 22 Mar 2006 11:23:22 +0000 celestar (svn r4016) -Backport from trunk (3998): When removing rail track from a tile where only X and Y pieces exist, explicitly update signals in both directions. 0.4.5
Wed, 22 Mar 2006 10:32:07 +0000 celestar (svn r4012) -Backport from trunk (3992, 3995): Rewrote the code to determine whether a rail-tile can be terraformed. 0.4.5
Sat, 18 Mar 2006 16:00:02 +0000 Darkvater (svn r3967) - Fix: Properly set back the owner of a crossing/road-under bridge after removing it. For crossings we can always use .m2 because it is already 0 when not owned by a town. Backport of r3876, r3893 from trunk 0.4.5
Fri, 29 Dec 2006 16:40:22 +0000 rubidium (svn r7617) -Fix (7609): GetTrackBits only works (as intended) for plain rail tiles, so get the trackbits if it is certain it is a plain rail tile. Noticed by Tron.
Fri, 29 Dec 2006 10:16:36 +0000 rubidium (svn r7609) -Codechange: remove some direct map accesses to m5 and some unneeded signal removal code in ClearTileTrack as it is done in CmdRemoveSingleRail too, which is called for every removed trackbit.
Tue, 02 Jan 2007 11:51:07 +0000 celestar (svn r7745) [cbh] - Fix: SetSignalsEnumProc can set signals on bridge heads custombridgeheads
Tue, 02 Jan 2007 09:54:03 +0000 celestar (svn r7739) [cbh] - Feature: Allow the construction and removal of signals on bridge heads. Warning: the signals are only displayed, they do not work yet custombridgeheads
Mon, 01 Jan 2007 16:31:13 +0000 celestar (svn r7721) [cbh] - Sync with 7607:7720 from trunk custombridgeheads
Sat, 30 Dec 2006 13:15:15 +0000 celestar (svn r7648) [cbh] - Feature: Allow removal of tracks from bridge heads. However, trains on the bridge must still be able to access the bridge head custombridgeheads
Sat, 30 Dec 2006 12:55:45 +0000 celestar (svn r7646) [cbh] - Feature: Allow building additional tracks on a (horizontal) bridge ramp using normal building tools custombridgeheads
Sat, 30 Dec 2006 12:05:05 +0000 celestar (svn r7644) [cbh] - Codechange: For custombridgeheads (those that have more than just one straight piece of track) use a foundation and the normal track drawing code custombridgeheads
Sat, 30 Dec 2006 11:57:57 +0000 celestar (svn r7643) [cbh] - Codechange: Railway bridges now store track bits just like normal rail tiles. For railway bridges, GetTileTrackStatus_Bridge just calls GetTileTrackStatus_Track custombridgeheads
Fri, 29 Dec 2006 12:18:43 +0000 celestar (svn r7613) [cbh] - Codechange: Removed tunnel-specific functions from bridge_cmd.c and bridge-specific functions from tunnel_cmd.c custombridgeheads
Thu, 28 Dec 2006 17:21:22 +0000 celestar (svn r7597) [cbh] - Codechange: Remove MP_TUNNELBRIDGE and introduce three new TileTypes: MP_TUNNEL, MP_STREET_BRIDGE, MP_RAILWAY_BRIDGE custombridgeheads
Wed, 27 Dec 2006 18:29:34 +0000 peter1138 (svn r7583) -Fix (r7573): Merging of bridge branch broke (partially reverted?) automatic railtype conversion when building track on existing rail.
Wed, 27 Dec 2006 12:38:02 +0000 celestar (svn r7573) -Merged the bridge branch. Allows to build bridges of arbitrary rail/road combinations (including signals)
Tue, 26 Dec 2006 17:36:18 +0000 Darkvater (svn r7565) -Codechange: Rework DEBUG functionality. Look for appropiate debugging levels to
Fri, 22 Jun 2007 20:01:02 +0000 rubidium (svn r10274) [0.5] -Backport from trunk (r9961, r10023, r10028, r10030, r10038, r10147): 0.5
Tue, 17 Apr 2007 18:09:12 +0000 rubidium (svn r9656) [0.5] -Backport from trunk (r9602, r9641, r9647): 0.5
Tue, 10 Apr 2007 09:57:35 +0000 truelight (svn r9584) [0.5] -Backport frmo trunk (r9542, r9565, r9573): 0.5
Tue, 10 Apr 2007 09:40:36 +0000 truelight (svn r9582) [0.5] -Backport from trunk (r9425, r9437, r9455, r9519): 0.5
Fri, 01 Dec 2006 00:09:13 +0000 Darkvater (svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call
Fri, 17 Nov 2006 19:31:44 +0000 KUDr (svn r7195) -Feature: [FS#297, optional elrails] New patches/vehicles option 'disable electrified railways'.
Fri, 10 Nov 2006 19:04:27 +0000 Darkvater (svn r7127) -Codechange [FS#149]: Improve the usability of the signal-dragger, do not bail out
Wed, 08 Nov 2006 10:09:46 +0000 peter1138 (svn r7112) -Codechange (r7106): Improve the test for determining if the rail type should be converted
Wed, 08 Nov 2006 09:18:27 +0000 tron (svn r7111) After checking p1 in CmdBuildSingleRail() assign it to a variable railtype instead of using p1 in the function. Also assign p2 to track only after it has been checked for validity
Tue, 07 Nov 2006 23:25:27 +0000 Darkvater (svn r7108) -Fix (r7106): signed/unsigned comparison warning
Tue, 07 Nov 2006 22:34:59 +0000 peter1138 (svn r7106) -Feature: Allow over-building of compatible railtypes, i.e. normal and
Fri, 03 Nov 2006 01:18:40 +0000 Darkvater (svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG instead of printf and the
Sat, 14 Oct 2006 15:49:43 +0000 Darkvater (svn r6774) -Codechange: Rename the badly named OWNER_SPECTATOR to PLAYER_SPECTATOR and
Tue, 10 Oct 2006 08:14:30 +0000 bjarni (svn r6714) -Codechange: replaced a direct manipulation of windows with InvalidateWindowData() in rail_cmd.c
Tue, 10 Oct 2006 07:56:23 +0000 bjarni (svn r6712) -Code cleanup: renamed buildtrain_d to buildvehicle_d as it's used for all vehicle types
Thu, 05 Oct 2006 12:59:28 +0000 bjarni (svn r6651) -Coding feature: added the windowevent WE_INVALIDATE_DATA
Wed, 04 Oct 2006 12:01:59 +0000 bjarni (svn r6637) -Codechange: merged all (vehicle type)EnterDepot into VehicleEnterDepot()
Tue, 26 Sep 2006 16:47:51 +0000 bjarni (svn r6513) -Codechange: unified the code to draw depot windows
Tue, 05 Sep 2006 23:21:41 +0000 Darkvater (svn r6406) -Codechange: Rename TileOffsByDir to TileOffsByDiagDir because it accepts
Tue, 05 Sep 2006 16:40:23 +0000 glx (svn r6395) -Fix: when converting a depot from/to elrail, update the power of trains that are in it
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 12:19:32 +0000 tron (svn r6268) Remove now pointless assignment (followup of r6267)
Thu, 31 Aug 2006 11:42:16 +0000 tron (svn r6267) Simplify the control flow in the rail tile loop by eliminating a bool flag and replacing it by a simple goto
Thu, 31 Aug 2006 10:36:59 +0000 tron (svn r6264) Get rid of a cast
Thu, 31 Aug 2006 06:46:52 +0000 tron (svn r6251) Replace 2 bool variables by a simple switch
Tue, 29 Aug 2006 06:50:47 +0000 tron (svn r6212) Remove dependency on window.h from station.h
Mon, 28 Aug 2006 18:53:03 +0000 rubidium (svn r6204) -Cleanup: replace non-indentation with spaces; like '}<TAB>else {' -> '} else {', tabs between code and comment, etc.
Sat, 26 Aug 2006 14:44:55 +0000 truelight (svn r6141) -Codechange: introduced DepotID and used it as much as possible
Tue, 22 Aug 2006 14:38:37 +0000 rubidium (svn r6045) -Cleanup: align all table-like structures using spaces, i.e. whitespace fixes only except for a few comments to make them uniform for the whole enum/struct.
Sat, 12 Aug 2006 12:56:45 +0000 tron (svn r5864) -Feature: Also allow horizontal and vertical rails on steep slopes
Thu, 10 Aug 2006 14:44:32 +0000 tron (svn r5833) -Feature: Allow building of (certain) rails, roads and bridge ramps on steep sloped tiles
Sun, 06 Aug 2006 16:32:49 +0000 tron (svn r5794) Pass the TileIndex plus x and y coordinates into GetSlopeZ_* instead of a TileInfo
Sun, 06 Aug 2006 08:23:19 +0000 tron (svn r5787) Rename width, height and unk of struct DrawTileSeqStruct to size_{x,y,z}
Sat, 05 Aug 2006 16:54:55 +0000 tron (svn r5771) Unify several code paths and data structures for drawing train depots and waypoints
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 12:11:52 +0000 tron (svn r5618) Remove a redundant check, CheckTrackCombination() a few lines above performs the same test
Sat, 22 Jul 2006 08:59:52 +0000 tron (svn r5582) Add and use AxisToTrack{Bits,}()
Sat, 15 Jul 2006 09:29:39 +0000 tron (svn r5500) Undo r4597, because it breaks the intended change of r5315 to prohibit building rails on a road tile while road works are in progress
Fri, 14 Jul 2006 18:14:08 +0000 truelight (svn r5497) -Fix: somehow in r5315 slipped some wrong logic, allowed you to build rail on all road pieces without really building it ;)
Wed, 28 Jun 2006 06:10:20 +0000 tron (svn r5396) - Remove two fixed parameters
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sun, 25 Jun 2006 17:39:19 +0000 tron (svn r5363) Revert 5312, 5288, 5248, 3992, 3249, 3228
Wed, 21 Jun 2006 11:30:28 +0000 tron (svn r5326) Remove the indicator bit for custom waypoint graphics, because it just contains redundant information