Darkvater 
							
						 
					 
					
						
						
							
						
						84c36a481c 
					 
					
						
						
							
							(svn r7418) -Codechange/Feature: Put back the 'New Vehicles' button in the vehicle list window. As  
						
						... 
						
						
						
						things won't fit now because of too many buttons, move 'send to depot' and 'autoreplace'
 to a dropdown box (and seperate 'send to depot' and 'send for servicing').
 The 'New Vehicles' button shows a list of all engines you have available for that vehicle
 type (in case of trains all railtypes). Button is only enabled for global list. 
						
						
					 
					
						2006-12-07 14:03:55 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						616028a453 
					 
					
						
						
							
							(svn r7415) -Codechange: Don't use typedef enum for simple widget enumerators when we will never use  
						
						... 
						
						
						
						their type anyways. 
						
						
					 
					
						2006-12-07 13:00:41 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						00e9e3e9e6 
					 
					
						
						
							
							(svn r7330) -Fix (r7304): Data invalidation doesn't always happen as the local  
						
						... 
						
						
						
						player, resulting in an empty vehicle purchase list. Specify the player 
as an argument to IsEngineBuildable() 
						
						
					 
					
						2006-12-03 15:48:21 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						672d45d8f6 
					 
					
						
						
							
							(svn r7316) -Codechange: Make train-build-gui and aircraft-build-gui (unified) look more alike.  
						
						
						
						
					 
					
						2006-12-01 00:28:15 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						efd1e877f0 
					 
					
						
						
							
							(svn r7315) -Fix: Have the first engine in the list be selected once again when the window is opened  
						
						... 
						
						
						
						and remove a useless loop that tested if selected engine is still in list (moved to list
 generation). 
						
						
					 
					
						2006-12-01 00:26:42 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						8eb6ed2825 
					 
					
						
						
							
							(svn r7314) -Cleanup: const, whitespace, coding style and variable usage.  
						
						
						
						
					 
					
						2006-12-01 00:14:10 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						fc1a90b663 
					 
					
						
						
							
							(svn r7313) -Codechange: Calling invalidate data on a window will surely warrant a redraw, so call  
						
						... 
						
						
						
						that after the WE_INVALIDATE_DATA event and remove (some of) the superflouous calls. 
						
						
					 
					
						2006-12-01 00:09:13 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						5ab10031bc 
					 
					
						
						
							
							(svn r7308) -Codechange: call GenerateBuildList() only when needed instead of on each redraw (peter1138)  
						
						
						
						
					 
					
						2006-11-30 21:33:09 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						4f8f438ea4 
					 
					
						
						
							
							(svn r7306) -Codechange: constness (Darkvater)  
						
						
						
						
					 
					
						2006-11-30 19:37:16 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						b6854d7e21 
					 
					
						
						
							
							(svn r7305) -Codestyle: Indentation fixes  
						
						
						
						
					 
					
						2006-11-30 18:47:57 +00:00 
						 
				 
			
				
					
						
							
							
								KUDr 
							
						 
					 
					
						
						
							
						
						acf4891180 
					 
					
						
						
							
							(svn r7299) -CodeChange: Train and Aircraft Build window GUI code simplified a bit:  
						
						... 
						
						
						
						- using one engine list instead of 3
- removed engine filters (loco, wagons, helicopters, etc.)
- EngineList code isolated from GUI (moved to helpers.cpp - reusing CBlobT code which does exactly what is needed for EngineList)
- removed unnecessary  "optimization" (rebuild and sort engine list on each WE_PAINT) 
						
						
					 
					
						2006-11-30 16:03:12 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						e786cd5c6b 
					 
					
						
						
							
							(svn r7128) -Codechange: Replace magic numbers by magic enums (windowdesc positioning WDP_AUTO = -1)  
						
						
						
						
					 
					
						2006-11-10 19:24:14 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						6b3abe6508 
					 
					
						
						
							
							(svn r6912) - Feature: Show a list of cargo types that a vehicle is refittable to in the purchase information window. (mart3p)  
						
						
						
						
					 
					
						2006-10-23 21:39:15 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						259cad1985 
					 
					
						
						
							
							(svn r6911) - Codechange: Add extra space to all purchase windows (and the replace window) to allow room for more text. (mart3p)  
						
						
						
						
					 
					
						2006-10-23 21:25:30 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						4c11b5aef5 
					 
					
						
						
							
							(svn r6910) - Codechange: Supply width of area when drawing purchase info instead of using hardcoded values. (mart3p)  
						
						
						
						
					 
					
						2006-10-23 18:45:43 +00:00 
						 
				 
			
				
					
						
							
							
								Darkvater 
							
						 
					 
					
						
						
							
						
						494c56475f 
					 
					
						
						
							
							(svn r6884) -Codechange: Add strict bounds checking in string formatting system.  
						
						... 
						
						
						
						The last parameter should point to the end of the buffer (eg lastof(buf))
 Courtesy of Tron. 
						
						
					 
					
						2006-10-21 23:31:34 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						68dda86c5b 
					 
					
						
						
							
							(svn r6855) - Codechange: When displaying a "quantity of cargo" string, use the {CARGO} command and supply the cargo type and quantity, instead of manually looking up the cargo type's string.  
						
						
						
						
					 
					
						2006-10-20 11:53:29 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						7954b834df 
					 
					
						
						
							
							(svn r6729) -Fix r6707: [build aircraft window] solved a crash when using a grf set with a buildable helicopter with a lower EngineID than the first buildable plane  
						
						... 
						
						
						
						Also removed a lot of const cast as they mess up the code and didn't help much 
						
						
					 
					
						2006-10-10 20:11:48 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						54259301d9 
					 
					
						
						
							
							(svn r6726) -Codechange: [vehicle build window] cleaned up the name sorter (mainly by peter1138)  
						
						... 
						
						
						
						Now both names are checked against the cache (instead of just one of them) and we got rid of some global vars 
						
						
					 
					
						2006-10-10 15:46:03 +00:00 
						 
				 
			
				
					
						
							
							
								bjarni 
							
						 
					 
					
						
						
							
						
						95f5034da1 
					 
					
						
						
							
							(svn r6722) -Codechange: [aircraft build window] moved aircraft build window to a file of it's own  
						
						... 
						
						
						
						Also made some changes to it so it should be easier to unify all the build vehicle windows 
						
						
					 
					
						2006-10-10 15:02:38 +00:00