| 
							
							
								 frosch | 1059a1814b | (svn r23137) -Change: [NewGRF v8] New result format for callback 16. | 2011-11-08 17:22:49 +00:00 |  | 
			
				
					| 
							
							
								 frosch | ad38f27242 | (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. | 2011-11-01 00:23:41 +00:00 |  | 
			
				
					| 
							
							
								 frosch | e57ba5d0ae | (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. | 2011-11-01 00:21:08 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | d946841eff | (svn r22413) -Document: even more stuff | 2011-05-02 20:59:54 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 5629248736 | (svn r22205) -Codechange: replace magic number with constant | 2011-03-05 21:52:45 +00:00 |  | 
			
				
					| 
							
							
								 glx | 1490eafb62 | (svn r22048) -Fix (r4495): company 0 does not always exist, so put temporary vehicles in a valid company | 2011-02-10 15:58:22 +00:00 |  | 
			
				
					| 
							
							
								 terkhen | 0e51dab6a6 | (svn r21924) -Codechange: Unify some parts of the articulated vehicle code. -Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required. | 2011-01-29 17:30:25 +00:00 |  | 
			
				
					| 
							
							
								 terkhen | 44a10ac857 | (svn r21858) -Codechange: Give more similar names to ArticulatedPart functions. | 2011-01-19 18:41:53 +00:00 |  | 
			
				
					| 
							
							
								 terkhen | f69d280f14 | (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. | 2010-12-14 21:33:53 +00:00 |  | 
			
				
					| 
							
							
								 terkhen | 14100e9798 | (svn r21517) -Codechange: Add IsGroundVehicle function to the Engine class. | 2010-12-14 21:27:30 +00:00 |  | 
			
				
					| 
							
							
								 terkhen | c7a2d1f883 | (svn r21123) -Codechange: Remove max_speed from the Vehicle class. | 2010-11-09 17:43:05 +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 |  | 
			
				
					| 
							
							
								 rubidium | 8c85b4ce3d | (svn r20281) -Codechange: unify case scope closure + break coding style | 2010-08-01 18:53:30 +00:00 |  | 
			
				
					| 
							
							
								 alberth | e3b24801e2 | (svn r19132) -Codechange: No need to end a line with ;;. | 2010-02-14 16:31:35 +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 |  | 
			
				
					| 
							
							
								 frosch | bc19dd6a25 | (svn r18566) -Codechange: When both the union and intersection of refit masks of articulated vehicles are needed, they can be determined at once. | 2009-12-20 14:28:55 +00:00 |  | 
			
				
					| 
							
							
								 peter1138 | d2ee7941f5 | (svn r17911) -Codechange: bool * is a pointer, not a bool | 2009-10-31 08:15:46 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 1996e93edf | (svn r17907) -Codechange: Deduplicate result interpretation of articulated vehicle callback. | 2009-10-30 21:51:36 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 241415e76a | (svn r17728) -Cleanup: Remove some more unneeded/unused parameters. | 2009-10-06 19:52:38 +00:00 |  | 
			
				
					| 
							
							
								 frosch | b25f03a447 | (svn r17726) -Cleanup: Remove some unneeded/unused parameters. | 2009-10-06 19:30:31 +00:00 |  | 
			
				
					| 
							
							
								 frosch | 2adc2f4324 | (svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into EngineInfo::refit_mask during initialisation. | 2009-10-04 20:33:18 +00:00 |  | 
			
				
					| 
							
							
								 frosch | a9717da0d3 | (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 | c2c0f4403e | (svn r17534) -Codechange: unify the naming of callback masks/flags | 2009-09-14 12:22:57 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 99d46e0ad7 | (svn r17248) -Fix: add GPL license notice where appropriate | 2009-08-21 20:21:05 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 32bf91aa41 | (svn r16723) -Codechange: make GetNextArticPart(), GetLastEnginePart(), GetNextVehicle(), GetPrevVehicle(), GetNextUnit(), GetPrevUnit() members of Train | 2009-07-02 12:10:39 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | 18fbe0aac4 | (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions | 2009-07-02 09:06:15 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | f97bd41ed4 | (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. | 2009-07-02 08:59:27 +00:00 |  | 
			
				
					| 
							
							
								 smatz | 9b10bc9cdf | (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 | 1e1f0ab2cf | (svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train | 2009-07-01 23:57:20 +00:00 |  | 
			
				
					| 
							
							
								 frosch | ce55eda3e1 | (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 | af85994f7f | (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 | 37b391901a | (svn r16426) -Fix [FS#2921] (r16390): articulated parts got the wrong image assigned | 2009-05-26 08:51:33 +00:00 |  | 
			
				
					| 
							
							
								 rubidium | c496a3e014 | (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. | 2009-05-24 20:29:04 +00:00 |  | 
			
				
					| 
							
							
								 frosch | e60a1ec090 | (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 |  | 
			
				
					| 
							
							
								 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 | 4c0542c17f | (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 | 1324100d69 | (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 |  | 
			
				
					| 
							
							
								 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 | d495dc5dbc | (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 |  | 
			
				
					| 
							
							
								 smatz | c189a15e3e | (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 | 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 |  | 
			
				
					| 
							
							
								 rubidium | b003536ea8 | (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 |  | 
			
				
					| 
							
							
								 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 | da78726e0c | (svn r15592) -Fix: Refit-info in purchase list did only check the first articulated part. | 2009-02-27 20:40:39 +00:00 |  |