train_cmd.c
Fri, 01 Sep 2006 12:37:03 +0000 bjarni (svn r6295) -Feature: using goto depot with a different control selection will now alter the service/stopping in depot flag instead of cancelling the goto depot order
Fri, 01 Sep 2006 10:24:15 +0000 bjarni (svn r6291) -Feature: Vehicle lists from the station window now also got the goto depot button
Wed, 30 Aug 2006 21:39:01 +0000 bjarni (svn r6246) -Feature: added the many times requested "send all vehicle to depot" button
Tue, 29 Aug 2006 23:39:57 +0000 bjarni (svn r6229) -Feature: Shared order lists now got a "goto depot" button
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.
Mon, 28 Aug 2006 10:14:37 +0000 rubidium (svn r6195) -Codechange: do not use '//' in '/* ... */' style comments and '/*' or '*/' in '//' style comments.
Sun, 27 Aug 2006 09:28:52 +0000 bjarni (svn r6165) -Feature: control click Goto Depot will now make the vehicle service
Sat, 26 Aug 2006 21:54:04 +0000 Darkvater (svn r6159) -Fix: FindClosestTrainDepot hardly ever found a depot with NPF off due to absence of distance-normalization (Rojer)
Sat, 26 Aug 2006 16:34:03 +0000 truelight (svn r6142) -Codechange: added WaypointID (sorry DV, couldn't splits it anymore)
Tue, 22 Aug 2006 18:15:17 +0000 truelight (svn r6053) -Codechange: renamed all IsXXXIndex to IsValidXXXID
Tue, 22 Aug 2006 17:13:49 +0000 truelight (svn r6052) -Codechange: change OrderType (order->type) in a typedef
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.
Sun, 20 Aug 2006 19:05:28 +0000 rubidium (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Sat, 12 Aug 2006 11:08:02 +0000 bjarni (svn r5854) -Fix: [elrails] now electric engines are stopped if they enter a non-electrified depot even if they would have left right away if the depot had catenary
Sat, 12 Aug 2006 10:41:29 +0000 bjarni (svn r5853) -Fix: [elrails] FS#178 Electric Trains can leave Conventional Depot
Wed, 09 Aug 2006 21:11:45 +0000 peter1138 (svn r5822) - NewGRF: add support for callback 31, vehicle start/stop check. This allows a set to disallow a vehicle from being started, i.e. to not be able to leave the depot. This is almost a partner to callback 1D.
Wed, 09 Aug 2006 20:44:23 +0000 peter1138 (svn r5819) - NewGRF: add support for refit costs specified in NewGRF. This may affect the default refit costs for the default rail vehicles.
Sun, 30 Jul 2006 22:55:17 +0000 Darkvater (svn r5665) - Codechange: check pointers against NULL, coding style, tabulation; nothing serious.
Sun, 30 Jul 2006 22:43:50 +0000 bjarni (svn r5664) -Fix: [SF 1518090 ] moving train engines in depot - crash (svn r5463)
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
Thu, 29 Jun 2006 08:58:08 +0000 peter1138 (svn r5427) - Codechange: testing for "== true" is redundant.
Mon, 12 Jun 2006 11:38:07 +0000 peter1138 (svn r5240) - NewGRF: when there is more than one engine in a consist, base livery overrides and powered wagon weight/power on the last engine before the wagon.
Fri, 09 Jun 2006 07:03:53 +0000 peter1138 (svn r5187) - NewGRF: temporarily change a vehicle's cargo subtype when calling the refit capacity callback.
Thu, 08 Jun 2006 20:17:19 +0000 bjarni (svn r5176) fixing the typo, that should have been fixed in last commit
Thu, 08 Jun 2006 20:12:07 +0000 bjarni (svn r5175) -Fix: [autoreplace] FS#186 autoreplaced trains can leave all wagons in depot
Wed, 07 Jun 2006 19:35:21 +0000 tron (svn r5155) - Remove the bridge branch merge (revision r5070)
Sun, 04 Jun 2006 18:22:32 +0000 peter1138 (svn r5105) - NewGRF: Move callbackmask from *VehicleInfo to EngineInfo. This simplifies code that works with more than one vehicle type.
Sun, 04 Jun 2006 17:49:16 +0000 peter1138 (svn r5104) - When refitting a vehicle to its existing cargo type, don't lose the cargo onboard (useful when adding wagons to a train)
Sun, 04 Jun 2006 17:38:48 +0000 peter1138 (svn r5103) - Add cargo subtype parameter to refit commands (mart3p)
Sun, 04 Jun 2006 09:28:33 +0000 tron (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Sun, 04 Jun 2006 09:13:59 +0000 KUDr (svn r5093) -CodeChange: [YAPF] min. debug level changed from 1 to 3 and 4 for frequent debug messages (performance stats)
Fri, 02 Jun 2006 13:15:50 +0000 peter1138 (svn r5071) - Fix (FS#184): "Erroneous train reversal on waypoints". When processing the next train order, do not even consider reversing the train if the last order was to a waypoint.
Fri, 02 Jun 2006 13:05:41 +0000 celestar (svn r5070) Merged the bridge branch
Thu, 01 Jun 2006 09:43:39 +0000 celestar (svn r5064) -Fix: Remove stay debug stuff from lat commit. (thanks peter1138)
Thu, 01 Jun 2006 09:41:35 +0000 celestar (svn r5063) -Codechange: Add a function to determine the length of a platform (request by KUDr)
Wed, 31 May 2006 18:00:08 +0000 peter1138 (svn r5061) - NewGRF: always use visual effect callback if it is defined, not just for powered wagons.
Sat, 27 May 2006 16:12:16 +0000 KUDr (svn r4987) Feature: Merged YAPF into trunk. Thanks to devs for continuous support and users for testing.
Fri, 19 May 2006 10:04:03 +0000 peter1138 (svn r4910) - NewGRF: add and initialize cargo subtype for vehicle visual variations
Sat, 13 May 2006 12:03:44 +0000 peter1138 (svn r4860) - NewGRF: remove a missed extern for _traininfo_vehicle_pitch
Thu, 11 May 2006 13:31:14 +0000 bjarni (svn r4826) -Fix: [autoreplace] fixed possible problem when autoreplacing and was number of vehicles (of a type, not total) was reached
Thu, 11 May 2006 12:42:24 +0000 bjarni (svn r4825) - Fix [clone FS#159]: Game crashes when cloning reaches train-limit.
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
Sun, 07 May 2006 07:55:05 +0000 tron (svn r4765) Add GetTileMaxZ(), which returns the height of the highest corner of a tile, and use it to simplify the code in a few places
Sat, 06 May 2006 14:32:16 +0000 tron (svn r4750) -Fix: Trains could enter certain sloped rail tiles under bridges with incompatible rail type
Wed, 03 May 2006 06:24:14 +0000 peter1138 (svn r4706) - NewGRF: add the correct default error message for the wagon attach callback.
Tue, 02 May 2006 21:43:47 +0000 peter1138 (svn r4703) - NewGRF: add support for callback 0x1D, "can wagon be attached". This can be used to disallow freight wagons to be placed in passenger trains, along with other uses.
Tue, 25 Apr 2006 07:32:33 +0000 tron (svn r4572) Remove vehicle_leave_tile_proc
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, 21 Apr 2006 17:15:05 +0000 celestar (svn r4501) -Fix: (FS#129) When, in a train that head multiple engines in front, the _first_ of those engines is sold, all the orders are copied to the second engine (to ensure "seamless" operation). However, during this operation, it was forgotten to update the prev_shared and next_shared pointers of the new head engine AND the next_shared and prev_shared of the share partners.
Wed, 19 Apr 2006 16:10:17 +0000 celestar (svn r4479) -Fix (FS#90) electric engines (or rather their pantographs) no longer emit sparks when engine is pulled on convrail (MeusH)
Sat, 15 Apr 2006 20:07:42 +0000 Darkvater (svn r4435) - Fix: an assertion triggered when trying to remove a bridge with the remove-tool (r4348 surfaced this). In CmdRemoveRoad tiletype was not checked for ownership. Intorudce IsLevelCrossingTile() which checks if a tile is a crossing without knowing the type. Suggested by peter1138 and Tron.
Fri, 14 Apr 2006 10:48:54 +0000 tron (svn r4412) When a vehicle is in a depot or tunnel it's always flagged as VS_HIDDEN. So after checking for VS_HIDDEN and the result is false there's no need to check if it's flagged as being in a depot or tunnel
Mon, 10 Apr 2006 07:15:58 +0000 tron (svn r4342) Change the first two parameters of commands - virtual pixel coordinates of the tile to operate on - to a TileIndex
Sun, 09 Apr 2006 18:01:06 +0000 celestar (svn r4338) -Fix (FS#105): Bug introduced in r4290. IsLevelCrossing does NOT check the tile type, it assumes the tile type IS MP_STREET
Wed, 05 Apr 2006 19:08:09 +0000 celestar (svn r4290) -Fix: fixed power computation for mixed consists on level crossings (michi_cc)
Sat, 01 Apr 2006 14:53:11 +0000 bjarni (svn r4226) -Fix: [elrails] it's no longer possible to build electric engines in non-electric depots
Fri, 31 Mar 2006 10:14:25 +0000 peter1138 (svn r4198) - NewGRF: Rename GetCallBackResult() to GetVehicleCallback(), as other types will exist later, and use separate parameters instead of bitshifting.