rubidium 
							
						 
					 
					
						
						
							
						
						8ff56af53d 
					 
					
						
						
							
							(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h.  
						
						
						
						
					 
					
						2008-05-17 20:54:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9717e1ef07 
					 
					
						
						
							
							(svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h.  
						
						
						
						
					 
					
						2008-05-17 20:54:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						373343cef6 
					 
					
						
						
							
							(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.  
						
						
						
						
					 
					
						2008-05-15 13:39:36 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						76b8970a33 
					 
					
						
						
							
							(svn r13100) -Codechange: reduce the amount of parameters passed via AddNewsMessage as there is (for each news message type) a tuple of 4 parameters that is the same for all calls.  
						
						
						
						
					 
					
						2008-05-15 13:39:36 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						5a7fcf9aa3 
					 
					
						
						
							
							(svn r13002) -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases  
						
						... 
						
						
						
						Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not) 
						
						
					 
					
						2008-05-07 23:00:11 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						d3650ecb3a 
					 
					
						
						
							
							(svn r13002) -Fix (r13001): [autoreplace] previous fix broke updating of a pointer to the front vehicle in certain cases  
						
						... 
						
						
						
						Now it's updated when it's the front vehicle and it's every time it's the front vehicle and only if it's the front vehicle (nomatter if the replacement works or not) 
						
						
					 
					
						2008-05-07 23:00:11 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						addcd2bb2e 
					 
					
						
						
							
							(svn r13001) -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid  
						
						
						
						
					 
					
						2008-05-07 22:08:20 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						02709df7e3 
					 
					
						
						
							
							(svn r13001) -Fix [FS#1994](r12913): [autoreplace] we should stop working on vehicles right away if we fail to replace them and certainly not presume their data is valid  
						
						
						
						
					 
					
						2008-05-07 22:08:20 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						63fea0790b 
					 
					
						
						
							
							(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well  
						
						
						
						
					 
					
						2008-05-04 10:05:35 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						dbf6e344a4 
					 
					
						
						
							
							(svn r12940) -Fix [FS#1974](r12913): [autoreplace] a vehicle backup should include the cargo packets in the vehicle as well  
						
						
						
						
					 
					
						2008-05-04 10:05:35 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						783e20a263 
					 
					
						
						
							
							(svn r12913) -Add: ability to backup and restore a player's economic data and data for a vehicle (or chain of vehicles)  
						
						... 
						
						
						
						Autoreplace uses this with the following benefits:
  -Mass autoreplace (the button in the depot window) will now estimate costs correctly
  -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains)
  Thanks to Ammler for testing this 
						
						
					 
					
						2008-04-27 20:09:29 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						757de2bdf5 
					 
					
						
						
							
							(svn r12913) -Add: ability to backup and restore a player's economic data and data for a vehicle (or chain of vehicles)  
						
						... 
						
						
						
						Autoreplace uses this with the following benefits:
  -Mass autoreplace (the button in the depot window) will now estimate costs correctly
  -Autoreplace now either replaces correctly or manages to keep the original vehicle (no more broken trains)
  Thanks to Ammler for testing this 
						
						
					 
					
						2008-04-27 20:09:29 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						fa4967d845 
					 
					
						
						
							
							(svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of it's own  
						
						
						
						
					 
					
						2008-04-19 22:51:52 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						de015fbf90 
					 
					
						
						
							
							(svn r12797) -Codechange: [autoreplace] moved wagon removal to a function of it's own  
						
						
						
						
					 
					
						2008-04-19 22:51:52 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						fa549be09e 
					 
					
						
						
							
							(svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cpp  
						
						
						
						
					 
					
						2008-04-19 19:01:57 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						c360e71e3c 
					 
					
						
						
							
							(svn r12794) -Doc: added missing doxygen comment in autoreplace_cmd.cpp  
						
						
						
						
					 
					
						2008-04-19 19:01:57 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						db403cbe92 
					 
					
						
						
							
							(svn r12792) -Codechange: [autoreplace] added a function to figure out if a replacement is needed and if so, to which EngineID  
						
						... 
						
						
						
						It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle) 
						
						
					 
					
						2008-04-19 17:47:56 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						01549e1574 
					 
					
						
						
							
							(svn r12792) -Codechange: [autoreplace] added a function to figure out if a replacement is needed and if so, to which EngineID  
						
						... 
						
						
						
						It's designed to save a bit of CPU time, specially if the replacement isn't buildable (think autorenew of old vehicle) 
						
						
					 
					
						2008-04-19 17:47:56 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						44145548ea 
					 
					
						
						
							
							(svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost  
						
						... 
						
						
						
						This allowed cleaning up the code in MaybeReplaceVehicle() 
						
						
					 
					
						2008-04-19 15:14:20 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						ad3ef0fb26 
					 
					
						
						
							
							(svn r12791) -Codechange: [autoreplace] Added a flag parameter (listens for DC_EXEC and DC_QUERY_COST) and included more info when returning CommandCost  
						
						... 
						
						
						
						This allowed cleaning up the code in MaybeReplaceVehicle() 
						
						
					 
					
						2008-04-19 15:14:20 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6d063c3ad6 
					 
					
						
						
							
							(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.  
						
						
						
						
					 
					
						2008-04-17 19:10:30 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						02cdf01507 
					 
					
						
						
							
							(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.  
						
						
						
						
					 
					
						2008-04-17 19:10:30 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						3edb967ecf 
					 
					
						
						
							
							(svn r12586) -Codechange: do not access an order's refit variables directly.  
						
						
						
						
					 
					
						2008-04-06 07:07:21 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						e68b2088ce 
					 
					
						
						
							
							(svn r12586) -Codechange: do not access an order's refit variables directly.  
						
						
						
						
					 
					
						2008-04-06 07:07:21 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						df1d9bd880 
					 
					
						
						
							
							(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.  
						
						
						
						
					 
					
						2008-03-31 00:17:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						ef2be7d0fc 
					 
					
						
						
							
							(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.  
						
						
						
						
					 
					
						2008-03-31 00:17:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b84b16cfcd 
					 
					
						
						
							
							(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.  
						
						
						
						
					 
					
						2008-03-30 23:24:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						4a1035ab95 
					 
					
						
						
							
							(svn r12488) -Codechange: split order.h into order_base.h and order_func.h.  
						
						
						
						
					 
					
						2008-03-30 23:24:18 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						2426f5342f 
					 
					
						
						
							
							(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.  
						
						
						
						
					 
					
						2008-03-28 08:53:36 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						eeabab4555 
					 
					
						
						
							
							(svn r12459) -Codechange: split news.h into news_type.h and news_func.h.  
						
						
						
						
					 
					
						2008-03-28 08:53:36 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						b05919cc5a 
					 
					
						
						
							
							(svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive  
						
						... 
						
						
						
						fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits) 
						
						
					 
					
						2008-03-25 21:58:13 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						06c0e5df5a 
					 
					
						
						
							
							(svn r12421) -Feature: [autoreplace] the autoreplace button in train depots will now also replace wagons even if they aren't connected to a locomotive  
						
						... 
						
						
						
						fixed estimated cost in CmdDepotMassAutoReplace() (will still not estimate wagon removal profits)
  Made it possible to command CmdDepotMassAutoReplace() to either replace everything or nothing (the button will still happily replace just some of the vehicles if cash premits) 
						
						
					 
					
						2008-03-25 21:58:13 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						0689524481 
					 
					
						
						
							
							(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.  
						
						
						
						
					 
					
						2008-03-06 10:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						8f556828f0 
					 
					
						
						
							
							(svn r12346) -Fix [FS#1748, FS#1825](r9874, r11872): Remove duplicated and inconsistent code wrt. autoreplace with rules in both vehicles' group and ALL_GROUP.  
						
						
						
						
					 
					
						2008-03-06 10:39:26 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						801bd045fe 
					 
					
						
						
							
							(svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments  
						
						
						
						
					 
					
						2008-02-23 22:23:06 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						8290a798fc 
					 
					
						
						
							
							(svn r12231) -Cleanup (r12230): [autoreplace] moved Vehicle::NeedsAutorenewing() and added comments  
						
						
						
						
					 
					
						2008-02-23 22:23:06 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						973d1fd6ad 
					 
					
						
						
							
							(svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing  
						
						... 
						
						
						
						This will remove duplicated code and ensure that the check is consistent 
						
						
					 
					
						2008-02-23 22:01:55 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						089969e1ca 
					 
					
						
						
							
							(svn r12230) -Codechange: [autoreplace] made a function to detect if a vehicle needs autorenewing  
						
						... 
						
						
						
						This will remove duplicated code and ensure that the check is consistent 
						
						
					 
					
						2008-02-23 22:01:55 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						33e63a3adc 
					 
					
						
						
							
							(svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz).  
						
						
						
						
					 
					
						2008-02-02 02:45:09 +00:00 
						 
				 
			
				
					
						
							
							
								belugas 
							
						 
					 
					
						
						
							
						
						fc4f6dcfb1 
					 
					
						
						
							
							(svn r12040) -Codechange: Change IsOrderListShared from a simple function to a class member(MagicBuzz).  
						
						
						
						
					 
					
						2008-02-02 02:45:09 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						9fdf784b7c 
					 
					
						
						
							
							(svn r11929) -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a single headed locomotive caused an assert when being replaced to a dualheaded one  
						
						... 
						
						
						
						This triggered if the player had enough money to replace and refit one of them but not enough to refit the last one as well 
						
						
					 
					
						2008-01-19 23:34:52 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						e91230415d 
					 
					
						
						
							
							(svn r11929) -Fix (r9981)[FS#1624]: [autoreplace] fixed a case where a single headed locomotive caused an assert when being replaced to a dualheaded one  
						
						... 
						
						
						
						This triggered if the player had enough money to replace and refit one of them but not enough to refit the last one as well 
						
						
					 
					
						2008-01-19 23:34:52 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						52e5f50158 
					 
					
						
						
							
							(svn r11928) -Fix (r6393): [autoreplace] autoreplace could refit train engines to the wrong cargo type if the old engine had no cargo capacity and the new one had  
						
						... 
						
						
						
						Now autoreplace will always look at the wagons to figure out what to replace to (as originally intended) 
						
						
					 
					
						2008-01-19 22:47:07 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						2f6ee3a4a1 
					 
					
						
						
							
							(svn r11928) -Fix (r6393): [autoreplace] autoreplace could refit train engines to the wrong cargo type if the old engine had no cargo capacity and the new one had  
						
						... 
						
						
						
						Now autoreplace will always look at the wagons to figure out what to replace to (as originally intended) 
						
						
					 
					
						2008-01-19 22:47:07 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						90acd52f22 
					 
					
						
						
							
							(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.  
						
						
						
						
					 
					
						2008-01-13 01:21:35 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d4e6a6bf57 
					 
					
						
						
							
							(svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h.  
						
						
						
						
					 
					
						2008-01-13 01:21:35 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						0f7392bd61 
					 
					
						
						
							
							(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is  
						
						... 
						
						
						
						no limit to the amount of names.
-Fix: NewGRF engines could not be renamed. 
						
						
					 
					
						2008-01-12 19:58:06 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						ab8382c0db 
					 
					
						
						
							
							(svn r11822) -Codechange: Replaced fixed size custom name array. Names are now attached to their object directly and there is  
						
						... 
						
						
						
						no limit to the amount of names.
-Fix: NewGRF engines could not be renamed. 
						
						
					 
					
						2008-01-12 19:58:06 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						2fc62eab05 
					 
					
						
						
							
							(svn r11818) -Codechange: split player.h into smaller pieces.  
						
						
						
						
					 
					
						2008-01-12 14:10:35 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						ac528411df 
					 
					
						
						
							
							(svn r11818) -Codechange: split player.h into smaller pieces.  
						
						
						
						
					 
					
						2008-01-12 14:10:35 +00:00