vehicle.c
Wed, 27 Sep 2006 18:17:01 +0000 peter1138 (svn r6532) - Feature: Add support for NewGRF sound effects. Currently sound priority isn't supported.
Wed, 27 Sep 2006 12:17:33 +0000 bjarni (svn r6524) -Code cleanup r6515: cleaned up the command to start/stop all vehicles in a depot.
Tue, 26 Sep 2006 19:20:35 +0000 bjarni (svn r6515) -Feature: added "start all" and "stop all" buttons to the depot windows
Sun, 24 Sep 2006 15:01:02 +0000 bjarni (svn r6503) -Codechange: added a function to tell what vehicles a depot contains
Sun, 17 Sep 2006 20:52:54 +0000 peter1138 (svn r6474) - Add a patch option to control display of liveries, allowing none, your
Sat, 16 Sep 2006 22:09:26 +0000 bjarni (svn r6468) -Codechange r6464: now use error() when failing refit in autoreplace to ensure that such a failure will not break a game
Sat, 16 Sep 2006 16:21:47 +0000 bjarni (svn r6464) -Fix r6393: killed a warning when compiling without asserts
Fri, 15 Sep 2006 17:36:54 +0000 peter1138 (svn r6456) - Replace single colour scheme for passenger wagons with separate schemes for each of steam, diesel or electric engines. Savegames from the previous revision will not load.
Fri, 15 Sep 2006 12:27:00 +0000 peter1138 (svn r6455) - Feature: Add 2cc (two company colours) livery schemes. This replaces the original colour selection window and bumps the saveload version. Liveries are supported for all vehicles, not just those with 2cc support. Thanks to lakie for GUI inspiration.
Fri, 08 Sep 2006 10:47:39 +0000 bjarni (svn r6424) -Codechange: [autoreplace] removed a loop though all vehicles from each time the window is redrawn
Tue, 05 Sep 2006 23:43:42 +0000 Darkvater (svn r6407) -Fix: Check return values of DoCommand() with CmdFailed and that of DoCommandP
Tue, 05 Sep 2006 13:39:38 +0000 bjarni (svn r6394) -Fix r6393: removed a warning originally removed in r6376 accidentally readded in r6393
Tue, 05 Sep 2006 12:46:14 +0000 bjarni (svn r6393) -Fix: [autoreplace] now refit costs are added to the estimated costs (could spend more than allowed when estimate and actual cost were not the same)
Mon, 04 Sep 2006 22:22:38 +0000 glx (svn r6386) -Fix(r6376): removed a warning
Mon, 04 Sep 2006 20:40:33 +0000 rubidium (svn r6381) -Cleanup: make the '/* */' comments that span multiple lines more uniform.
Mon, 04 Sep 2006 09:07:52 +0000 bjarni (svn r6376) -Codechange: [vehicle refit] moved all refit cost calculations into GetRefitCost()
Sun, 03 Sep 2006 08:25:27 +0000 tron (svn r6353) -Codechange: Make DestinationID a typedef of uin16, which is as large as any type of destinataion (StationID, DepotID, WaypointID) it can hold
Fri, 01 Sep 2006 18:35:36 +0000 bjarni (svn r6300) -Fix: FS#321 autoreplace / wagon removal
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
Thu, 31 Aug 2006 19:15:01 +0000 bjarni (svn r6284) -Code Cleanup r6282: cleaned up the code a bit
Thu, 31 Aug 2006 17:42:27 +0000 bjarni (svn r6282) -Codechange: made a function to create the vehicle list for vehicle list windows
Thu, 31 Aug 2006 15:57:38 +0000 Darkvater (svn r6280) -Codechange: Use the same naming for trains as for other vehicles:
Wed, 30 Aug 2006 23:01:45 +0000 bjarni (svn r6249) -Fix: fixed assert when pressing goto depot in an empty list (forgot to disable the button in this condition)
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.
Sat, 26 Aug 2006 20:09:25 +0000 truelight (svn r6157) -Codechange: DeleteVehicle removes a vehicle from the pool
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 15:33:35 +0000 truelight (svn r6047) -Codechange: FOR_ALL now _only_ loops valid items, and skips invalid ones
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 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
Tue, 15 Aug 2006 15:27:30 +0000 bjarni (svn r5917) -Fix: [clone vehicles] FS#275 Bugfix: Cloned Road Vehicles Are Not Refitted To Correct Cargo (Mart3p)
Mon, 14 Aug 2006 22:34:43 +0000 Darkvater (svn r5898) -Fix [FS#249]: Bugfix: Goto Depot not always working for road vehicles. (mart3p)
Mon, 14 Aug 2006 16:18:41 +0000 bjarni (svn r5891) -Code cleanup: cleaned up the code added in revision 5888
Mon, 14 Aug 2006 15:03:01 +0000 bjarni (svn r5888) -Fix: [autoreplace] if vehicles breakdowns and service are turned off, the vehicles failed to enter any depots
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Wed, 26 Jul 2006 08:41:14 +0000 tron (svn r5614) Move a type declaration to its only user
Wed, 26 Jul 2006 08:32:20 +0000 tron (svn r5613) Rename VS_DISASTER to VS_SHADOW, because this is what this flag actually means
Wed, 26 Jul 2006 08:27:05 +0000 tron (svn r5612) Restructure some code which uses the vehicle position hash to make it a bit clearer what's going on
Sun, 23 Jul 2006 17:17:43 +0000 tron (svn r5599) GetPrevVehicleInChain() may never fail to find a valid vehicle. Reflect this in the code
Tue, 11 Jul 2006 19:04:50 +0000 KUDr (svn r5483) -Fix: [YAPF] desync - for MP games invalidate YAPF cache on every tick to keep it exactly the same on server and clients (it doesn't fix the real source of the problem, but should solve it). Thanks TrueLight for hunting this bug.
Fri, 07 Jul 2006 17:16:52 +0000 bjarni (svn r5468) -Fix: fixed declaration after statement added in 5465 (I wonder why the makefile failed to warn about this)
Fri, 07 Jul 2006 07:19:38 +0000 bjarni (svn r5465) -Feature: [autoreplace] replacing from a train engine without cargo capacity to one with cargo capacity will now make autoreplace refit the engine to carry the cargo type from the last wagon in the train
Thu, 29 Jun 2006 09:05:30 +0000 bjarni (svn r5428) -Fix: [vehicles] sovled crash when trying to build a vehicle type, that is set to max 0 (spotted by roboman)
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Fri, 09 Jun 2006 07:45:26 +0000 peter1138 (svn r5191) - NewGRF: add cargo refit support for road vehicles
Wed, 07 Jun 2006 07:20:28 +0000 peter1138 (svn r5146) - NewGRF: Support selection of aircraft default cargo type by checking its refit mask. If aircraft can be refitted to passengers, no change happens, else the first refittable type is chosen. Also use refit capacity to determine the default capacity.
Mon, 05 Jun 2006 11:28:00 +0000 tron (svn r5120) Add IsShipInDepot{Stopped,}() and remove some redundant checks
Mon, 05 Jun 2006 10:23:18 +0000 tron (svn r5118) Add IsRoadVehInDepot{Stopped,}()
Mon, 05 Jun 2006 08:34:39 +0000 tron (svn r5116) Move the overly generic GetDepotDirection() from a header to its only consumer
Sun, 04 Jun 2006 16:04:15 +0000 tron (svn r5101) Add a function to convert an axis and a flag for north/south into a DiagDirection. Use it for bridge ramps and ship depots
Sun, 04 Jun 2006 09:28:33 +0000 tron (svn r5094) Remove _new_{aircraft,roadveh,ship,train,wagon}_id. _new_vehicle_id is enough.
Tue, 23 May 2006 21:49:18 +0000 bjarni (svn r4967) -Fix: [clone vehicles] a cloned train engine heads the same way as the original (pointed out by bobingabout)
Sun, 21 May 2006 11:34:08 +0000 tron (svn r4937) Reduce the use of _error_message a bit
Thu, 11 May 2006 14:24:33 +0000 bjarni (svn r4829) -Codechage: [clone vehilces] only check for a free unitnumber for the first engine in the test run as well as execute run (to improve speed. The result should be unchanged)
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 09:56:09 +0000 tron (svn r4790) Remove slope magic from EnsureNoVehicleZ() and rename it to EnsureNoVehicleOnGround() to make more clear what it does
Thu, 27 Apr 2006 23:11:43 +0000 bjarni (svn r4599) -Fix: [Cloning, autoreplace] FS#141 clone service-interval