peter1138 
							
						 
					 
					
						
						
							
						
						bcb33b50ac 
					 
					
						
						
							
							(svn r17911) -Codechange: bool * is a pointer, not a bool  
						
						
						
						
					 
					
						2009-10-31 08:15:46 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						abbaed60d3 
					 
					
						
						
							
							(svn r17907) -Codechange: Deduplicate result interpretation of articulated vehicle callback.  
						
						
						
						
					 
					
						2009-10-30 21:51:36 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						9a9d0ee7c0 
					 
					
						
						
							
							(svn r17728) -Cleanup: Remove some more unneeded/unused parameters.  
						
						
						
						
					 
					
						2009-10-06 19:52:38 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						7a8a97e68a 
					 
					
						
						
							
							(svn r17726) -Cleanup: Remove some unneeded/unused parameters.  
						
						
						
						
					 
					
						2009-10-06 19:30:31 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						b243f6ca97 
					 
					
						
						
							
							(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation.  
						
						
						
						
					 
					
						2009-10-04 20:33:18 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						12a814f487 
					 
					
						
						
							
							(svn r17684) -Fix: tcache.first_engine and rcache.first_engine need to be set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.  
						
						
						
						
					 
					
						2009-10-03 14:46:48 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						64bafcbe18 
					 
					
						
						
							
							(svn r17534) -Codechange: unify the naming of callback masks/flags  
						
						
						
						
					 
					
						2009-09-14 12:22:57 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7fbc33dae1 
					 
					
						
						
							
							(svn r17248) -Fix: add GPL license notice where appropriate  
						
						
						
						
					 
					
						2009-08-21 20:21:05 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						6a0855f0d1 
					 
					
						
						
							
							(svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train  
						
						
						
						
					 
					
						2009-07-02 12:10:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						4d14c1b534 
					 
					
						
						
							
							(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions  
						
						
						
						
					 
					
						2009-07-02 09:06:15 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						61e735ba4c 
					 
					
						
						
							
							(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.  
						
						
						
						
					 
					
						2009-07-02 08:59:27 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						77eaefb61c 
					 
					
						
						
							
							(svn r16720) -Codechange: make Set/ClearFrontEngine(), Set/ClearArticulatedPart(), Set/ClearWagon(), Set/ClearEngine(), Set/ClearFreeWagon() and Set/ClearMultiheaded() members of Train  
						
						
						
						
					 
					
						2009-07-02 00:17:27 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						d86e17d65a 
					 
					
						
						
							
							(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train  
						
						
						
						
					 
					
						2009-07-01 23:57:20 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						1e09854cb7 
					 
					
						
						
							
							(svn r16679) -Codechange: Let GetCapacityOfArticulatedParts() return a CargoArray instead of a pointer to a static array.  
						
						
						
						
					 
					
						2009-06-27 21:36:04 +00:00 
						 
				 
			
				
					
						
							
							
								smatz 
							
						 
					 
					
						
						
							
						
						0c10006907 
					 
					
						
						
							
							(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check  
						
						
						
						
					 
					
						2009-06-06 16:54:22 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						462c1ec4f3 
					 
					
						
						
							
							(svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned  
						
						
						
						
					 
					
						2009-05-26 08:51:33 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0d99b6c71c 
					 
					
						
						
							
							(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.  
						
						
						
						
					 
					
						2009-05-24 20:29:04 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						855edb0839 
					 
					
						
						
							
							(svn r16412) -Cleanup: Shuffle vehicle pointers in AddArticulatedParts(), and remove two of them.  
						
						
						
						
					 
					
						2009-05-24 12:05:27 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						da5661a0c8 
					 
					
						
						
							
							(svn r16393) -Codechange: move VehicleRail to Train.  
						
						
						
						
					 
					
						2009-05-22 22:55:41 +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 
							
						 
					 
					
						
						
							
						
						80e94b9bb1 
					 
					
						
						
							
							(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.  
						
						
						
						
					 
					
						2009-05-22 22:22:46 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7a37220881 
					 
					
						
						
							
							(svn r16390) -Codechange: move u.road to RoadVehicle.  
						
						
						
						
					 
					
						2009-05-22 20:22:20 +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 
							
						 
					 
					
						
						
							
						
						6221d74644 
					 
					
						
						
							
							(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)  
						
						
						
						
					 
					
						2009-05-16 23:34:14 +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 
							
						 
					 
					
						
						
							
						
						a1addc1d95 
					 
					
						
						
							
							(svn r16302) -Codechange: remove Vehicle::AllocateList  
						
						
						
						
					 
					
						2009-05-13 21:38:23 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						655b0ccc2e 
					 
					
						
						
							
							(svn r15676) -Codechange: remove the need for BeginVehicleMove and merge VehiclePositionChanged and EndVehicleMove.  
						
						
						
						
					 
					
						2009-03-11 20:43:14 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						0d3f5e6e74 
					 
					
						
						
							
							(svn r15299) -Cleanup: remove many redundant includes  
						
						
						
						
					 
					
						2009-01-31 20:16:06 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						1f31e117f0 
					 
					
						
						
							
							(svn r13850) -Fix [FS#2146]: Fix resp. implement refitting of articulated vehicles during autoreplace.  
						
						
						
						
					 
					
						2008-07-27 15:17:16 +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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						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 
							
						 
					 
					
						
						
							
						
						3e0b6199c4 
					 
					
						
						
							
							(svn r12932) -Fix [FS#1970]: Articulated engines ignored GRF engine overrides.  
						
						
						
						
					 
					
						2008-04-30 17:42:08 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						a00371c8db 
					 
					
						
						
							
							(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.  
						
						
						
						
					 
					
						2008-04-29 21:31:29 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						5ef8c01ce7 
					 
					
						
						
							
							(svn r12819) -Codechange: handle more NewGRFs in the same way as TTDP does it, i.e. testing the low bits for 0xFF or 0 instead of all bits.  
						
						
						
						
					 
					
						2008-04-21 14:33:33 +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 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						3371d02449 
					 
					
						
						
							
							(svn r12137) -Fix [FS#1769]: Show cargo capacity for articulated vehicles correctly in the purchase list. Multiple cargo types can also now been shown.  
						
						
						
						
					 
					
						2008-02-14 07:25:24 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						384503e7d3 
					 
					
						
						
							
							(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.  
						
						
						
						
					 
					
						2007-12-27 13:35:39 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						429521a7d1 
					 
					
						
						
							
							(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'  
						
						
						
						
					 
					
						2007-12-25 11:26:07 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9e9cfe6e59 
					 
					
						
						
							
							(svn r11677) -Codechange: move price and command related types/functions to their respective places.  
						
						
						
						
					 
					
						2007-12-21 21:50:46 +00:00