frosch 
							
						 
					 
					
						
						
							
						
						855edb0839 
					 
					
						
						
							
							(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them.  
						
						
						
						
					 
					
						2009-05-24 12:05:27 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						8ae1c5d908 
					 
					
						
						
							
							(svn r16411) -Fix (r16390): Building articulated roadvehicles caused infinite loop due to v->Next() pointing to v itself.  
						
						
						
						
					 
					
						2009-05-24 11:39:35 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						0337485284 
					 
					
						
						
							
							(svn r16411) -Fix (r16390): Building articulated roadvehicles caused infinite loop due to v->Next() pointing to v itself.  
						
						
						
						
					 
					
						2009-05-24 11:39:35 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						cd382b28a3 
					 
					
						
						
							
							(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.  
						
						
						
						
					 
					
						2009-05-23 09:10:56 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6237fe1462 
					 
					
						
						
							
							(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.  
						
						
						
						
					 
					
						2009-05-23 09:10:56 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						4c0542c17f 
					 
					
						
						
							
							(svn r16393) -Codechange: move VehicleRail to Train.  
						
						
						
						
					 
					
						2009-05-22 22:55:41 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						da5661a0c8 
					 
					
						
						
							
							(svn r16393) -Codechange: move VehicleRail to Train.  
						
						
						
						
					 
					
						2009-05-22 22:55:41 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6350648a6c 
					 
					
						
						
							
							(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train  
						
						
						
						
					 
					
						2009-05-22 22:33:05 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						c4b627af42 
					 
					
						
						
							
							(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train  
						
						
						
						
					 
					
						2009-05-22 22:33:05 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						1324100d69 
					 
					
						
						
							
							(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.  
						
						
						
						
					 
					
						2009-05-22 22:22:46 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						80e94b9bb1 
					 
					
						
						
							
							(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.  
						
						
						
						
					 
					
						2009-05-22 22:22:46 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						489253b630 
					 
					
						
						
							
							(svn r16390) -Codechange: move u.road to RoadVehicle.  
						
						
						
						
					 
					
						2009-05-22 20:22:20 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7a37220881 
					 
					
						
						
							
							(svn r16390) -Codechange: move u.road to RoadVehicle.  
						
						
						
						
					 
					
						2009-05-22 20:22:20 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						50624d5c0f 
					 
					
						
						
							
							(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved  
						
						
						
						
					 
					
						2009-05-22 15:13:50 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						62a7948af0 
					 
					
						
						
							
							(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved  
						
						
						
						
					 
					
						2009-05-22 15:13:50 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						d495dc5dbc 
					 
					
						
						
							
							(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)  
						
						
						
						
					 
					
						2009-05-16 23:34:14 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						6221d74644 
					 
					
						
						
							
							(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)  
						
						
						
						
					 
					
						2009-05-16 23:34:14 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						2431cc099e 
					 
					
						
						
							
							(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)  
						
						
						
						
					 
					
						2009-05-13 21:45:56 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						32ecc48ec8 
					 
					
						
						
							
							(svn r16303) -Codechange: Use the question mark as default sprite when creating vehicles, instead of arbitrary sprites not related to the vehicle. (though that also applies to the question mark)  
						
						
						
						
					 
					
						2009-05-13 21:45:56 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						c189a15e3e 
					 
					
						
						
							
							(svn r16302) -Codechange: remove Vehicle::AllocateList  
						
						
						
						
					 
					
						2009-05-13 21:38:23 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						a1addc1d95 
					 
					
						
						
							
							(svn r16302) -Codechange: remove Vehicle::AllocateList  
						
						
						
						
					 
					
						2009-05-13 21:38:23 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						c297a99eff 
					 
					
						
						
							
							(svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere.  
						
						
						
						
					 
					
						2009-03-18 19:32:13 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						6dd04a9a78 
					 
					
						
						
							
							(svn r15763) -Codechange/Fix: Add Engine::GetDisplayDefaultCapacity() and use it everywhere, so CB 36 is also used everywhere.  
						
						
						
						
					 
					
						2009-03-18 19:32:13 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						d86e821f53 
					 
					
						
						
							
							(svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing.  
						
						
						
						
					 
					
						2009-03-13 21:28:40 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						4129b418cc 
					 
					
						
						
							
							(svn r15701) -Fix [FS#2595]: Blame NewGRFs returning inconsistent information in purchase-list/after building before users have a chance to blame OpenTTD for incorrectly autorenewing/-replacing.  
						
						
						
						
					 
					
						2009-03-13 21:28:40 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						b003536ea8 
					 
					
						
						
							
							(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.  
						
						
						
						
					 
					
						2009-03-11 20:43:14 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						655b0ccc2e 
					 
					
						
						
							
							(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.  
						
						
						
						
					 
					
						2009-03-11 20:43:14 +00:00 
						 
				 
			
				
					
						
							
							
								michi_cc 
							
						 
					 
					
						
						
							
						
						1c9749dba8 
					 
					
						
						
							
							(svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values.  
						
						
						
						
					 
					
						2009-03-09 19:14:36 +00:00 
						 
				 
			
				
					
						
							
							
								michi_cc 
							
						 
					 
					
						
						
							
						
						e982100fe6 
					 
					
						
						
							
							(svn r15655) -Codechange: Initialise vehicle vars only after a placement new so possible default constructors don't overwrite the values.  
						
						
						
						
					 
					
						2009-03-09 19:14:36 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						90a81da62b 
					 
					
						
						
							
							(svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16)  
						
						
						
						
					 
					
						2009-03-09 18:56:50 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						cfea2d428b 
					 
					
						
						
							
							(svn r15654) -Fix: Only ever call any vehicle callbacks after the whole articulated engine has been built. (except 0x16)  
						
						
						
						
					 
					
						2009-03-09 18:56:50 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						da78726e0c 
					 
					
						
						
							
							(svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part.  
						
						
						
						
					 
					
						2009-02-27 20:40:39 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						e01106f66b 
					 
					
						
						
							
							(svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part.  
						
						
						
						
					 
					
						2009-02-27 20:40:39 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						abe4692da2 
					 
					
						
						
							
							(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.  
						
						... 
						
						
						
						-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
  Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
  Note: It is intentional that you cannot control refittability by CB 36. 
						
						
					 
					
						2009-02-21 12:52:41 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						d3850e101c 
					 
					
						
						
							
							(svn r15541) -Revert (r15399): 'v->cargo_type' is also used in other places, which cannot accept CT_INVALID.  
						
						... 
						
						
						
						-Codechange: Add Engine::GetDefaultCargoType() and Engine::CanCarryCargo() and use them.
-Fix [FS#2617]: When articulated parts have no available default cargo, use the cargo type of the first part for livery selection.
-Change: To decide whether a vehicle is refittable do not test its current capacity for being zero, but always use the 'capacity property'.
  Note: The property is used unmodifed without calling CB 15/36. By setting it to a non-zero value and returning zero in the callback vehicles can be refitted to/from zero capacity for e.g. livery effects.
  Note: It is intentional that you cannot control refittability by CB 36. 
						
						
					 
					
						2009-02-21 12:52:41 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						9021c20b5e 
					 
					
						
						
							
							(svn r15299) -Cleanup: remove many redundant includes  
						
						
						
						
					 
					
						2009-01-31 20:16:06 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0d3f5e6e74 
					 
					
						
						
							
							(svn r15299) -Cleanup: remove many redundant includes  
						
						
						
						
					 
					
						2009-01-31 20:16:06 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d197060137 
					 
					
						
						
							
							(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.  
						
						
						
						
					 
					
						2009-01-09 14:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						f0b0691bfe 
					 
					
						
						
							
							(svn r14933) -Codechange: check the whether a pool item can be constructed instead of trying to make it and check for NULL.  
						
						
						
						
					 
					
						2009-01-09 14:59:02 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						62f3aa89f2 
					 
					
						
						
							
							(svn r14903) -Fix: First create all articulated parts of roadvehicles, then call callback 36 capacity, also call it for all articulated parts.  
						
						
						
						
					 
					
						2009-01-07 17:50:20 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						aedc0c1302 
					 
					
						
						
							
							(svn r14903) -Fix: First create all articulated parts of roadvehicles, then call callback 36 capacity, also call it for all articulated parts.  
						
						
						
						
					 
					
						2009-01-07 17:50:20 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						a3662216ee 
					 
					
						
						
							
							(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.  
						
						
						
						
					 
					
						2008-07-27 15:17:16 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						1f31e117f0 
					 
					
						
						
							
							(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.  
						
						
						
						
					 
					
						2008-07-27 15:17:16 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						ab31260386 
					 
					
						
						
							
							(svn r13847) -Codechange: Add MAX_ARTICULATED_PARTS and set it to 100.  
						
						
						
						
					 
					
						2008-07-27 12:35:14 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						80725edc3d 
					 
					
						
						
							
							(svn r13847) -Codechange: Add MAX_ARTICULATED_PARTS and set it to 100.  
						
						
						
						
					 
					
						2008-07-27 12:35:14 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						ecfac35ccc 
					 
					
						
						
							
							(svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles.  
						
						
						
						
					 
					
						2008-06-05 07:38:22 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						9b971dab60 
					 
					
						
						
							
							(svn r13385) -Fix (r12137): In the purchase list, CB36 for capacity was not called for the first part of rail and road vehicles.  
						
						
						
						
					 
					
						2008-06-05 07:38:22 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						1ce0b03bf0 
					 
					
						
						
							
							(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.  
						
						
						
						
					 
					
						2008-05-06 15:11:33 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						d03994098b 
					 
					
						
						
							
							(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.  
						
						
						
						
					 
					
						2008-05-06 15:11:33 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						c8e10ac1f8 
					 
					
						
						
							
							(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.  
						
						
						
						
					 
					
						2008-04-30 17:42:08 +00:00