Peter Nelson 
							
						 
					 
					
						
						
							
						
						8931e90302 
					 
					
						
						
							
							Cleanup: No need to cound actual cargo to get scroll count.  
						
						
						
						
					 
					
						2023-05-23 19:07:36 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						f177ce7c9a 
					 
					
						
						
							
							Codechange: Base CargoArray off std::array.  
						
						... 
						
						
						
						This avoids needing to define array accessors and allows use of
default value initialization. 
						
						
					 
					
						2023-05-23 19:07:36 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						74e42e39a8 
					 
					
						
						
							
							Codechange: Use CargoArray::GetCount()  
						
						
						
						
					 
					
						2023-05-23 19:07:36 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						76516d7f70 
					 
					
						
						
							
							Codechange: Use IsValidCargoID/IsValidCargoType.  
						
						... 
						
						
						
						IsValidCargoType() is used only for unmapped IDs. 
						
						
					 
					
						2023-05-22 20:43:40 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						0880616851 
					 
					
						
						
							
							Codechange: Remove various STRING strings.  
						
						
						
						
					 
					
						2023-05-05 07:07:54 +01:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						c73b88ddca 
					 
					
						
						
							
							Fix: Don't send unused tile field over the network ( #10507 )  
						
						
						
						
					 
					
						2023-02-24 22:50:11 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						05ed9f56fd 
					 
					
						
						
							
							Feature: [NewGRF] Engine name callback.  
						
						
						
						
					 
					
						2023-01-30 22:00:56 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						f001e84e5e 
					 
					
						
						
							
							Codechange: use RAII to automatically restore _cur_dpi after use  
						
						
						
						
					 
					
						2023-01-28 20:33:02 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						10e76b2788 
					 
					
						
						
							
							Fix   #10032 : Capacities of articulated vehicles in build window  
						
						... 
						
						
						
						See also: #9954  
						
						
					 
					
						2023-01-14 18:52:01 +01:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						1131608eb4 
					 
					
						
						
							
							Fix   #10114 : Incorrect drag-highlight position with non-power-of-2 scaling. ( #10211 )  
						
						
						
						
					 
					
						2022-12-03 09:31:52 +00:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						53682b4b6b 
					 
					
						
						
							
							Fix   #10114 : Wonky depot layout. ( #10191 )  
						
						... 
						
						
						
						Depot lists internal layout was not handled well. This is improved by
throwing more Rects at it:
- Vehicle images are now be vertically centred in the rect.
- Image clipping is relaxed to cover the rect, improving larger sprites.
- Outline highlight is now aware of bevel thickness. 
						
						
					 
					
						2022-11-23 21:01:09 +00:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						920e588334 
					 
					
						
						
							
							Change: Use standard dimensions instead of custom widths.  
						
						
						
						
					 
					
						2022-11-12 18:28:39 +00:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						ed60c88b0a 
					 
					
						
						
							
							Change: Use power-of-2 scaling for some dimensions in GUI.  
						
						... 
						
						
						
						These are related to drawing sprites that are normally drawn on the
landscape, and should therefore still follow power-of-2 scaling to fit
correctly. 
						
						
					 
					
						2022-11-12 18:28:39 +00:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						890b2666d3 
					 
					
						
						
							
							Change: Use scaled WidgetDimensions.  
						
						
						
						
					 
					
						2022-11-12 18:28:39 +00:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						c9a81fd67b 
					 
					
						
						
							
							Change: Use Rect for drawing vehicle details.  
						
						
						
						
					 
					
						2022-11-12 18:28:39 +00:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						ebc76a4200 
					 
					
						
						
							
							Change: Use an indent, not a dash, to list train capacity  
						
						
						
						
					 
					
						2022-05-12 16:59:52 +02:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						41fa16f325 
					 
					
						
						
							
							Codechange: Don't use globals for return values from vehicle command procs.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						8503854655 
					 
					
						
						
							
							Codechange: Pass unpacked command arguments to command callbacks (except Script).  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						21675ec7e2 
					 
					
						
						
							
							Codechange: Un-bitstuff vehicle/engine commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						eab18f06a4 
					 
					
						
						
							
							Codechange: Pass additional data as byte stream to command callbacks.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						0f64ee5ce1 
					 
					
						
						
							
							Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.  
						
						... 
						
						
						
						When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing. 
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						4fc055d6e9 
					 
					
						
						
							
							Codechange: Align parameter order of command callbacks to command handlers.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						a38bbefe1b 
					 
					
						
						
							
							Codechange: Untangle command code, flags and error string for DoCommand*.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						549caca39c 
					 
					
						
						
							
							Codechange: Move command arguments to the back of the networked command function calls.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						9b800a96ed 
					 
					
						
						
							
							Codechange: Remove min/max functions in favour of STL variants ( #8502 )  
						
						
						
						
					 
					
						2021-01-08 11:16:18 +01:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						d8a1be48cd 
					 
					
						
						
							
							Codechange: Replace vehicle related FOR_ALL with range-based for loops  
						
						
						
						
					 
					
						2019-12-21 20:13:03 +01:00 
						 
				 
			
				
					
						
							
							
								S. D. Cloudt 
							
						 
					 
					
						
						
							
						
						13cc8a0cee 
					 
					
						
						
							
							Cleanup: Removed SVN  headers  
						
						
						
						
					 
					
						2019-11-10 17:59:20 +00:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						b3fd787959 
					 
					
						
						
							
							Fix   #7188 : check the validity of command callback for scripts ( #7701 )  
						
						
						
						
					 
					
						2019-09-07 17:37:01 +01:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						7c8e7c6b6e 
					 
					
						
						
							
							Codechange: Use null pointer literal instead of the NULL macro  
						
						
						
						
					 
					
						2019-04-10 23:22:20 +02:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						c01a2e2a81 
					 
					
						
						
							
							Codechange: Removed SmallVector completely  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						ab711e6942 
					 
					
						
						
							
							Codechange: Replaced SmallVector::[Begin|End]() with std alternatives  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						a0f36a50e6 
					 
					
						
						
							
							Codechange: Replaced SmallVector::Append() with std::vector::[push|emplace]_back()  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						81315939b9 
					 
					
						
						
							
							Codechange: Replaced SmallVector::Find() non-const with std::find()  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						a690936ed7 
					 
					
						
						
							
							Codechange: Replace SmallVector::Length() with std::vector::size()  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						bfd79e59dc 
					 
					
						
						
							
							Codechange: Replace SmallVector::Clear() with std::vector::clear()  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						6f36c52736 
					 
					
						
						
							
							(svn r27936) -Fix: When moving wagons in the depot, the drag highlight did not exactly match the length of the dragged wagon chain.  
						
						
						
						
					 
					
						2017-12-10 13:45:53 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						149adc9cc1 
					 
					
						
						
							
							(svn r27689) -Fix: MSVC warnings.  
						
						
						
						
					 
					
						2016-12-10 14:33:58 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						c175067ed9 
					 
					
						
						
							
							(svn r27667) -Codechange: Add VehicleSpriteSeq::GetBounds and Draw.  
						
						
						
						
					 
					
						2016-10-16 14:58:38 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						d2393b4f6c 
					 
					
						
						
							
							(svn r27666) -Codechange: Pass vehicle sprites around using a struct VehicleSpriteSeq.  
						
						
						
						
					 
					
						2016-10-16 14:57:56 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						cff2b49365 
					 
					
						
						
							
							(svn r27629) -Fix: When dragging multiple vehicles in the depot, make the destination gap as long as the chain instead of just considering the first vehicle.  
						
						
						
						
					 
					
						2016-08-15 18:33:29 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						a8080b6256 
					 
					
						
						
							
							(svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad().  
						
						
						
						
					 
					
						2015-02-01 20:54:24 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						ce9fab58bc 
					 
					
						
						
							
							(svn r26951) -Codechange: Do the GUI-scale dance for vehicle, depot, and purchase lists.  
						
						
						
						
					 
					
						2014-10-04 16:40:23 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0463dbdc9e 
					 
					
						
						
							
							(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values  
						
						
						
						
					 
					
						2014-04-23 20:13:33 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7c0f34130c 
					 
					
						
						
							
							(svn r25454) -Remove/Fix/Cleanup: SETX(Y) does not work at all with other than default fonts, so get rid of it  
						
						
						
						
					 
					
						2013-06-24 18:39:19 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						5eddbb338b 
					 
					
						
						
							
							(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)  
						
						
						
						
					 
					
						2013-04-13 13:42:08 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						affd456995 
					 
					
						
						
							
							(svn r24987) -Fix: When choosing a train in a depot to attach a newly purchased wagon to, do not consider trains currently moving in and out of the depot.  
						
						
						
						
					 
					
						2013-02-10 21:05:24 +00:00 
						 
				 
			
				
					
						
							
							
								planetmaker 
							
						 
					 
					
						
						
							
						
						c24374f99c 
					 
					
						
						
							
							(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)  
						
						
						
						
					 
					
						2013-01-08 22:46:42 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						9208059e3e 
					 
					
						
						
							
							(svn r24352) -Fix: When highlighting the drop position for vehicles in depots, make space for all articulated parts.  
						
						
						
						
					 
					
						2012-06-23 14:32:34 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						031f6ee611 
					 
					
						
						
							
							(svn r23991) -Fix [FS#5076]: Also display the cargo subtype for vehicles which have no capacity, but a subtype.  
						
						
						
						
					 
					
						2012-02-25 20:47:16 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6d6be50ae0 
					 
					
						
						
							
							(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files  
						
						
						
						
					 
					
						2012-01-03 21:32:51 +00:00