Commit Graph

139 Commits

Author SHA1 Message Date
terkhen b4c22e854f (svn r21214) -Add: Display mail capacity when refitting an aircraft to passengers. 2010-11-16 20:56:04 +00:00
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
yexo fbff80680f (svn r20795) -Codechange: clarify code/documentation of the start/stop bit in CmdMassStartStopVehicle (Krille) 2010-09-13 12:14:22 +00:00
rubidium eeb53fc575 (svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well 2010-09-08 21:40:00 +00:00
rubidium fcb4cfedb0 (svn r20771) -Add: concept of vehicle list identifiers to identify a vehicle list instead of a string of parameters 2010-09-08 21:28:50 +00:00
rubidium 91ea9c969f (svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters 2010-09-08 21:14:41 +00:00
rubidium 56ebc2359e (svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot 2010-09-08 21:02:12 +00:00
rubidium db3a6485d7 (svn r20768) -Codechange: unify send-to-depot commands 2010-09-08 18:55:58 +00:00
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
frosch de1b7fd8de (svn r20595) -Fix (r20536)[FS#4068]: Autoreplace needs refitting of wagons in free wagon chains. 2010-08-22 19:15:47 +00:00
rubidium bbafd249ca (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit 2010-08-19 20:45:29 +00:00
rubidium b07f2beb67 (svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit 2010-08-19 20:42:00 +00:00
rubidium 0d018b5840 (svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit 2010-08-19 20:39:12 +00:00
yexo e7f5780683 (svn r20559) -Fix [FS#4045]: make sure that all vehicles are build in the most northern depot/hangar tile 2010-08-19 13:44:41 +00:00
rubidium 27e45d96a4 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 2010-08-18 20:48:38 +00:00
rubidium d68d83e76a (svn r20537) -Codechange: make RefitVehicle a static (local) function 2010-08-18 00:48:22 +00:00
rubidium 982df3e96b (svn r20536) -Codechange: unify the refitting of vehicles 2010-08-18 00:47:31 +00:00
yexo c144e8e921 (svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings 2010-08-18 00:30:12 +00:00
rubidium 9d814f04dd (svn r20533) -Codechange: shuffle a bit with the bits in the sell command 2010-08-18 00:03:08 +00:00
rubidium c57a5b735a (svn r20532) -Codechange: unify selling of vehicles a bit 2010-08-17 23:55:22 +00:00
rubidium 253080ad64 (svn r20531) -Codechange: unify quite a bit of the vehicle building commands 2010-08-17 23:15:55 +00:00
yexo 29a315640d (svn r20530) -Cleanup (r13507): p2 bit 0 for CmdBUildRailVehicle is no longer valid so don't use it 2010-08-17 22:33:27 +00:00
rubidium b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 2010-08-10 15:54:53 +00:00
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium 8c85b4ce3d (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
terkhen 8540ea26a8 (svn r19964) -Add: Show an error message when trying to start a crashed or destroyed vehicle. 2010-06-11 20:33:33 +00:00
terkhen 814afd80ac (svn r19953) -Fix [FS#3874]: Don't show an error message when trying to start/stop a crashed plane. 2010-06-10 16:32:39 +00:00
smatz 691261674a (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 2010-04-24 20:55:51 +00:00
frosch bf721f39af (svn r19657) -Fix: Add saneness checks for front vehicles. 2010-04-17 14:55:49 +00:00
frosch 91a27a9738 (svn r19656) -Codechange/Fix: Report back if invalid vehicle lists are requested. 2010-04-17 14:47:56 +00:00
frosch ed80045221 (svn r19654) -Codechange: Use Extract<> in more places. 2010-04-17 13:31:41 +00:00
peter1138 33fe8041ab (svn r19498) -Feature [FS#3710]: Keep number padding intact when cloning vehicle names. 2010-03-21 11:35:41 +00:00
alberth 72d62fd6fc (svn r19494) -Codechange: Remove _error_message. 2010-03-20 17:58:24 +00:00
alberth a9926e21dc (svn r19493) -Codechange: Keep track of last error in CmdDepotSellAllVehicles(). 2010-03-20 17:22:15 +00:00
alberth 5dec903d5c (svn r19489) -Codechange: Introduce a had_success variable in SendAllVehiclesToDepot(). 2010-03-20 17:10:14 +00:00
alberth 68ee4aa7d6 (svn r19482) -Doc: Doxygen additions/updates. 2010-03-20 15:23:26 +00:00
alberth d5fe3f96c7 (svn r19405) -Codechange: CheckOwnership() returns a CommandCost. 2010-03-13 17:11:28 +00:00
terkhen 544b9e1f5d (svn r19338) -Codechange: Move the acceleration cache to GroundVehicle. 2010-03-06 12:42:53 +00:00
rubidium b47cc028ed (svn r19024) -Fix [FS#3577]: mass stopping/starting/autoreplacing gave empty errors when there were no vehicles 2010-02-05 21:51:26 +00:00
rubidium f618acfb7d (svn r18866) -Codechange: remove the CmdFailed(ret)/CmdSucceeded(ret) wrapper functions 2010-01-18 22:57:21 +00:00
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
rubidium 9313532ddd (svn r18783) -Codechange: make CheckCompanyHasMoney set an error on the CommandCost it tests when you don't have enough money instead of setting a global variable. 2010-01-11 20:21:56 +00:00
yexo b1c19315e7 (svn r18724) -Fix [FS#3475] (r17899): refitting a non-refittable vehicle to it's default cargotype failed, causing problems for AIs 2010-01-04 18:50:50 +00:00
rubidium 12732cf39d (svn r18498) -Fix [FS#2616]: cloning of vehicles could create vehicles with invalid cargo sub types for the build year of the vehicle. Fall back to another cargo sub type with the exact same name, otherwise fallback to cargo sub type 0. 2009-12-14 19:17:18 +00:00
rubidium e80eabcc2c (svn r18465) -Codechange: simplify CheckTrainInDepot and remove some unneeded wrapper functions 2009-12-11 22:04:57 +00:00
frosch f60a437d36 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 2009-11-24 13:15:58 +00:00
frosch fe65c7f833 (svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost. 2009-11-24 13:12:34 +00:00
frosch 040404c5d3 (svn r18005) -Codechange: Convert the Prices struct into an array and an enum. 2009-11-07 22:47:54 +00:00
frosch 9fafef56d0 (svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail consistent. Now always the cargo class decides. 2009-10-31 17:48:09 +00:00
frosch 020c53fc7e (svn r17899) -Codechange: Deduplicate code for refitting vehicles. 2009-10-28 21:09:37 +00:00