vehicle.c
Sun, 08 Oct 2006 22:16:30 +0000 bjarni (svn r6698) -Code cleanup r6697: simplified getting the string of the vehicle type
Sun, 08 Oct 2006 21:46:05 +0000 bjarni (svn r6697) -Fix: [order refit] if an order refit fails, the vehicle is now stopped and the player gets a message (like vehicle stopped in depot)
Sun, 08 Oct 2006 21:10:00 +0000 bjarni (svn r6696) -Codechange: changed all comparision for refit cargo in orders against CT_NO_REFIT to checks for valid cargo IDs
Sat, 07 Oct 2006 08:24:11 +0000 bjarni (svn r6676) -Fix: [vehicle list windows] mass start/stop now works correctly in shared orders and station lists
Thu, 05 Oct 2006 14:04:24 +0000 bjarni (svn r6653) -Fix r6624: [autoreplace] autoreplace will no longer replace a vehicle if the old type can refit to the cargo types being used in the refit orders and the new one lacks one or more of those refit capabilities
Thu, 05 Oct 2006 12:59:28 +0000 bjarni (svn r6651) -Coding feature: added the windowevent WE_INVALIDATE_DATA
Thu, 05 Oct 2006 08:39:16 +0000 bjarni (svn r6648) -Codechange: simplified CmdDepotMassAutoReplace() by changing a switch-case into using a function, that was added in r6647
Thu, 05 Oct 2006 08:15:51 +0000 bjarni (svn r6646) -Codechange: [vehicle list window] Cleaned up the drawing code
Wed, 04 Oct 2006 19:15:25 +0000 bjarni (svn r6640) -Fix: [autoreplace] autoreplace can now use the money for selling the old vehicle to build the new one
Wed, 04 Oct 2006 12:01:59 +0000 bjarni (svn r6637) -Codechange: merged all (vehicle type)EnterDepot into VehicleEnterDepot()
Tue, 03 Oct 2006 14:52:39 +0000 bjarni (svn r6624) -Feature: added ability to add refit commands to vehicle orders (can only be done in goto depot orders)
Sun, 01 Oct 2006 12:25:31 +0000 peter1138 (svn r6602) - Feature: we now support NewGRF livery refits, as used by DBsetXL, amongst others. This requires a savegame bump to save the cargo subtype.
Sat, 30 Sep 2006 19:21:39 +0000 glx (svn r6590) -Fix r6588: killed MSVC warnings for real
Sat, 30 Sep 2006 17:13:39 +0000 bjarni (svn r6588) -Fix r6582: killed some windows only warnings (thanks webfreakz for testing)
Sat, 30 Sep 2006 13:39:34 +0000 bjarni (svn r6586) -Feature: [depot window] added a vehicle list window with all vehicles having a certain depot in their orders
Fri, 29 Sep 2006 20:41:28 +0000 bjarni (svn r6582) -Codechange: changed GenerateVehicleSortList() to reuse the same allocation over and over if possible (like BuildDepotVehicleList() )
Fri, 29 Sep 2006 18:39:20 +0000 bjarni (svn r6580) -Fix r6552: [depot window] fixed issue where vehicles sometimes failed to restart after being replaced
Fri, 29 Sep 2006 17:41:00 +0000 bjarni (svn r6579) -Fix r6552: [depot window] solved a condition where pressing autoreplace in a depot window could result in asserts
Fri, 29 Sep 2006 11:30:48 +0000 bjarni (svn r6570) -Feature: added "start all" and "stop all" buttons to the vehicle lists
Thu, 28 Sep 2006 14:17:08 +0000 bjarni (svn r6552) -Feature: [depot window] added a "autoreplace all vehicles in depot" button
Wed, 27 Sep 2006 22:44:39 +0000 bjarni (svn r6542) -Feature: [depot window] added a "sell all vehicles in depot" button
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