train_cmd.c
Sun, 29 Jan 2006 23:04:51 +0000 bjarni (svn r3484) -fix: fixed issue in last commit where loading savegame versions 18 and 19 didn't init the multiheaded engine pointers
Sun, 29 Jan 2006 18:57:26 +0000 Darkvater (svn r3472) - [PBS] Remove from trunk. Anyone interested can still find it in branch/pbs. This reverts revisions r3158, r3140, r3075, r2977, r2674, r2625, r2621, r2529, r2528, r2525, r2524, r2519, r2517, r2516, r2507, r2499. (in conjunction with Tron)
Wed, 25 Jan 2006 21:33:57 +0000 peter1138 (svn r3431) - Fix crash when moving vehicles around in a train depot under certain conditions.
Mon, 23 Jan 2006 21:05:05 +0000 peter1138 (svn r3422) - Fix: If an engine reaches the rear of a depot, make the engine turn around before it reaches the tile end (same as a normal end of line.) This fixes a bug whereby the engine could poke into the depot and crash with another engine just leaving it.
Wed, 18 Jan 2006 15:05:01 +0000 bjarni (svn r3403) -Codechange: [multiheaded engines] the references between the front and rear engines are no longer saved
Wed, 18 Jan 2006 14:12:26 +0000 bjarni (svn r3402) -Fix: [building/cloning] added a string telling if build failed due to not being able to build a vehicle. Triggered when cloning a retired design
Sun, 08 Jan 2006 16:56:41 +0000 peter1138 (svn r3392) Train depot fixes:
Sat, 07 Jan 2006 16:47:59 +0000 peter1138 (svn r3388) - NewGRF: Allow train running cost class to differ from engine class. Also fix typo in r3384.
Sat, 07 Jan 2006 10:57:32 +0000 truelight (svn r3381) -Fix: r3374 left one bug: allow moving around wagons in a 100 long train
Fri, 06 Jan 2006 22:49:00 +0000 peter1138 (svn r3378) - NewGRF Fix: Use order status to determine whether a vehicle is loading instead
Fri, 06 Jan 2006 21:10:58 +0000 truelight (svn r3374) -Fix: [ FS#36 ] Don't allow trains to get bigger than 100 via drag and drop
Fri, 06 Jan 2006 18:26:02 +0000 truelight (svn r3373) -Fix: don't link a wagon to itself, which resulted in a wagon disapearing, and a depot which was unable to remove
Thu, 05 Jan 2006 21:35:54 +0000 tron (svn r3367) Unify the 4 distinct CMD_CHANGE_{AIRCRAFT,ROADVEH,SHIP,TRAIN}_SERVICE_INT commands into one CMD_CHANGE_SERVICE_INT command.
Thu, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Thu, 29 Dec 2005 12:42:59 +0000 tron (svn r3353) Simplify the automatic length adjustment algorithm for replacing trains: Use the length of the train before the replacement as reference length
Wed, 28 Dec 2005 22:29:59 +0000 peter1138 (svn r3352) - NewGRF: Move initialization of vehicle random_bits to DC_EXEC blocks to allow use of Random() instead of InteractiveRandom(), which will alleviate some possible network desyncs.
Wed, 14 Dec 2005 09:15:06 +0000 peter1138 (svn r3303) Change #if PF_BENCHMARK to #ifdef PF_BENCHMARK
Wed, 14 Dec 2005 06:20:23 +0000 tron (svn r3297) Staticise
Tue, 29 Nov 2005 22:29:59 +0000 peter1138 (svn r3248) - Codechange: Change interface of CanRefitTo() to supply the engine type directly instead of getting it from a vehicle. This allows the function to be used before vehicles are involved.
Sat, 19 Nov 2005 00:10:20 +0000 bjarni (svn r3219) -Codechange: removed the now obsolite code in the build train command to make half multiheaded engines
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Wed, 16 Nov 2005 14:07:34 +0000 tron (svn r3208) Don't explicitly pass the engine type to look for to GetRearEngine(), because it's the engine type of the vehicle which gets passed as first parameter
Wed, 16 Nov 2005 12:52:01 +0000 tron (svn r3204) Make handling of clicking on vehicles a bit less ugly by avoiding function declarations in .c files and unnecessary indirection
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Mon, 14 Nov 2005 09:21:05 +0000 tron (svn r3179) - RandomRange() and RandomTile() instead of home brewed versions
Mon, 14 Nov 2005 08:09:57 +0000 tron (svn r3177) GB, CLRBIT, HASBIT, TOGGLEBIT
Sun, 13 Nov 2005 21:16:34 +0000 tron (svn r3176) Use proper types, not some variants of int
Sun, 13 Nov 2005 13:43:55 +0000 tron (svn r3172) static, const
Tue, 08 Nov 2005 23:18:09 +0000 bjarni (svn r3156) -Fix: removed some cases where autoreplace windows were redrawn when nothing was changed
Mon, 07 Nov 2005 23:20:47 +0000 bjarni (svn r3155) -Feature: [autoreplace] autoreplace can now remove cars from too long trains
Mon, 07 Nov 2005 13:02:33 +0000 peter1138 (svn r3150) Unify some code duplication in HandleLocomotiveSmokeCloud()
Sun, 06 Nov 2005 13:29:28 +0000 peter1138 (svn r3147) Fix crash when building dual-head rail vehicles...
Sun, 06 Nov 2005 12:39:30 +0000 peter1138 (svn r3146) Avoid use of variable size declared arrays when allocating articulated rail vehicles.
Sun, 06 Nov 2005 10:17:20 +0000 peter1138 (svn r3145) Fix two off-by-one errors in building articulated rail vehicles.
Sun, 06 Nov 2005 01:15:10 +0000 bjarni (svn r3144) -Fix: a new train is now made if the front unit is an engine and the former front engine is moved away (Meush)
Sat, 05 Nov 2005 16:07:26 +0000 peter1138 (svn r3139) -NewGRF, Feature: support for articulated rail vehicles. This is used, for example, by coal tenders.
Fri, 04 Nov 2005 20:52:03 +0000 bjarni (svn r3136) -Fix: [autoreplace] all cargo in engines that consists of more than one vehicle will try to move cargo from all vehicles
Fri, 04 Nov 2005 12:58:18 +0000 peter1138 (svn r3132) -NewGRF: support positioning of rail vehicle visual effects.
Thu, 03 Nov 2005 09:22:24 +0000 peter1138 (svn r3124) Alter train loading/unloading time to use the actual length of the train instead of the number of wagons. The actual length is cached in the first vehicle of the train.
Mon, 31 Oct 2005 12:59:47 +0000 bjarni (svn r3111) -Fix: [autoreplace] [ 1341783 ] Assertion failure in vehicle.c line 378
Sun, 30 Oct 2005 21:47:42 +0000 peter1138 (svn r3107) -NewGRF: Move train y-position offset adjustment to remove code duplication, and make it apply only to vehicles with a custom image.
Sat, 29 Oct 2005 21:54:28 +0000 bjarni (svn r3101) -Codechange: added _new_vehicle_id
Fri, 28 Oct 2005 20:04:54 +0000 tron (svn r3098) static, const, uint -> TileIndex, indentation, bracing, unused return values, ... mostly related to the clone vehicle GUI
Mon, 24 Oct 2005 19:40:48 +0000 bjarni (svn r3081) -Codechange: [autoreplace] complete rewrite of autoreplace
Sun, 23 Oct 2005 13:04:44 +0000 tron (svn r3078) Some more stuff, which piled up:
Tue, 18 Oct 2005 07:01:00 +0000 tron (svn r3058) The default AI may not build dual headed trains under certain circumstances.
Sun, 16 Oct 2005 14:12:21 +0000 tron (svn r3052) Fix last commit *grml*
Sun, 16 Oct 2005 14:07:11 +0000 tron (svn r3051) Remove the unused function RemoteSubsidyAdd()
Sun, 16 Oct 2005 07:58:15 +0000 tron (svn r3048) Replace 0/1/2 by RAILTYPE_RAIL/MONO/MAGLEV where appropriate
Thu, 13 Oct 2005 14:44:03 +0000 tron (svn r3036) Use IsCompatibleRail() to check the rail type of level crossings (not a fix, because the old == method works so far)
Wed, 05 Oct 2005 07:20:26 +0000 tron (svn r3019) -Codechange: Replace explicit shifting/anding/oring with GB and SB
Mon, 03 Oct 2005 21:20:01 +0000 tron (svn r3010) Get rid of quite some dubious casts, either by using GB(), proper types or just removing them
Sun, 02 Oct 2005 22:39:56 +0000 Darkvater (svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)
Sat, 01 Oct 2005 12:43:34 +0000 tron (svn r3003) Change int, uint, uin16 and byte to EngineID where appropriate, plus some related changes (mostly casts)
Fri, 30 Sep 2005 20:37:25 +0000 tron (svn r3001) s/Player*/const Player*/
Mon, 26 Sep 2005 19:01:49 +0000 peter1138 (svn r2990) Remove _engine_original_sprites and replace all uses with references to our (new) original engine/vehicle tables.
Mon, 26 Sep 2005 18:43:58 +0000 peter1138 (svn r2989) - Make engine/vehicle information tables constant. Duplicate them so NewGRF data can be loaded without wiping out the default data.
Sat, 24 Sep 2005 13:56:39 +0000 peter1138 (svn r2982) Newgrf: Added patch option for wagon speed limits. This is enabled by default.
Fri, 23 Sep 2005 17:37:21 +0000 hackykid (svn r2977) - CodeChange: [pbs] Use a check to see if a rail segment is a pbs segment, instead of letting the pathfinder determine this.
Tue, 20 Sep 2005 19:35:52 +0000 peter1138 (svn r2967) Fix: newgrf: Wagon speed limits don't apply for wagons with livery overrides. Fixes max speed in dbsetxl etc.