PeterN 
							
						 
					 
					
						
						
							
						
						584faaf064 
					 
					
						
						
							
							Change: Reorganise industry accept/produce arrays. ( #10853 )  
						
						... 
						
						
						
						Use a array of struct for each cargo instead of an array for each statistic.
This makes iterating for acceptance and production much simpler.
pct_transported is now calculated when needed. 
						
						
					 
					
						2023-05-25 21:25:46 +01:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						09408e8e46 
					 
					
						
						
							
							Codechange: Add IsCargoAccepted/Produced() helpers.  
						
						
						
						
					 
					
						2023-05-24 17:34:11 +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 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						3323402aaa 
					 
					
						
						
							
							Codechange: rename smallvec_type to container_func and use only when needed  
						
						
						
						
					 
					
						2023-05-20 16:53:10 +02:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						e97bf271dc 
					 
					
						
						
							
							Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. ( #10663 )  
						
						... 
						
						
						
						This avoids a (soft) namespace conflict between the four ST_* enums. 
						
						
					 
					
						2023-04-16 20:00:55 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						3ebc7ad16e 
					 
					
						
						
							
							Codechange: migrate all game-time-related timers to the new framework  
						
						
						
						
					 
					
						2023-04-15 13:58:55 +02:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						36bee83864 
					 
					
						
						
							
							Change: Deliver cargo to the closest industry first ( #9536 )  
						
						
						
						
					 
					
						2022-02-19 19:08:23 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						13528bfcd0 
					 
					
						
						
							
							Codechange: Un-bitstuff all remaining commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						7048e1522f 
					 
					
						
						
							
							Codechange: Move flags in CommandProc in front of the command arguments.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						33ca4f2b99 
					 
					
						
						
							
							Codechange: Let the compile generate the master command table out of templated command traits.  
						
						... 
						
						
						
						This is using a non-intrusive type-traits like templated system, which
allows compile-time validation that the command table and the command
enum match up. 
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						53e17d07d2 
					 
					
						
						
							
							Fix   #9595 : Always use plural forms of cargo for subsidy strings ( #9619 )  
						
						
						
						
					 
					
						2021-10-18 09:43:14 +01:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						979783f90e 
					 
					
						
						
							
							Codechange: replace InjectDParam/ShiftParameters by setting the right parameter values in the first place  
						
						
						
						
					 
					
						2021-07-03 11:26:13 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						aa9818db90 
					 
					
						
						
							
							Codechange: create a type for the "free_data" of NewsItems and (de)allocate it with new and delete  
						
						
						
						
					 
					
						2021-07-01 19:04:38 +02:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						d09210e1c6 
					 
					
						
						
							
							Feature: Configurable subsidy duration  
						
						
						
						
					 
					
						2021-06-10 23:26:16 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						2e136285e1 
					 
					
						
						
							
							Codechange: move from C-string to std::string for DoCommand  
						
						
						
						
					 
					
						2021-05-29 19:02:18 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						38c97e1492 
					 
					
						
						
							
							Codechange: Replace TILE_AREA_LOOP with range-based for loops  
						
						
						
						
					 
					
						2021-05-13 00:13:54 +02:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						5ff15443e9 
					 
					
						
						
							
							Cleanup: Replace single-use Pair struct with std::pair.  
						
						... 
						
						
						
						This struct is defined in geometry_type but not used by any geometry-related
code, only for subsidy code where both parameters are cast from int to
NewsReferenceType. 
						
						
					 
					
						2021-04-21 21:39:00 +02:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						3ad4a6e3da 
					 
					
						
						
							
							Fix  380fd8c: Only check houses for cargo when generating subsidies with towns  
						
						
						
						
					 
					
						2020-09-24 17:57:09 +01:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						7045186594 
					 
					
						
						
							
							Change  #8159 : Remove now unused town cargo caches without bumping the savegame version  
						
						
						
						
					 
					
						2020-06-28 18:23:59 +02:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						380fd8cab4 
					 
					
						
						
							
							Fix: Make subsidies scan tiles for town acceptance and production instead of using desync-prone town caches  
						
						
						
						
					 
					
						2020-06-28 18:23:59 +02:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						ee7a8eebca 
					 
					
						
						
							
							Codechange: Replace FOR_ALL_TOWNS with range-based for loops  
						
						
						
						
					 
					
						2019-12-21 20:13:03 +01:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						0b489f9924 
					 
					
						
						
							
							Codechange: Replace FOR_ALL_SUBSIDIES with range-based for loops  
						
						
						
						
					 
					
						2019-12-21 20:13:03 +01:00 
						 
				 
			
				
					
						
							
							
								glx 
							
						 
					 
					
						
						
							
						
						00c2a98cf3 
					 
					
						
						
							
							Codechange: Replace FOR_ALL_INDUSTRIES 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 
						 
				 
			
				
					
						
							
							
								SamuXarick 
							
						 
					 
					
						
						
							
						
						4ad981a98e 
					 
					
						
						
							
							Fix  50e08f333a: Creating a cargo subsidy with town as source did not consider min population. ( #7493 )  
						
						
						
						
					 
					
						2019-04-11 07:35:46 +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 
							
						 
					 
					
						
						
							
						
						297fd3dda3 
					 
					
						
						
							
							Codechange: Replaced SmallVector::Include() with include()  
						
						
						
						
					 
					
						2019-03-26 20:15:57 +00:00 
						 
				 
			
				
					
						
							
							
								Peter Nelson 
							
						 
					 
					
						
						
							
						
						8b1b3fd0f9 
					 
					
						
						
							
							Feature: Non-rectangular sparse station catchment area.  
						
						
						
						
					 
					
						2019-03-09 16:33:47 +00:00 
						 
				 
			
				
					
						
							
							
								peter1138 
							
						 
					 
					
						
						
							
						
						94b40fd530 
					 
					
						
						
							
							Codechange: Convert IndustryVector to a std::set.  
						
						
						
						
					 
					
						2019-03-09 16:33:47 +00:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						e66cec8f86 
					 
					
						
						
							
							Add: NewGRF support for 16-in-16-out industries  
						
						
						
						
					 
					
						2018-11-03 21:43:54 +01:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						8859381d30 
					 
					
						
						
							
							Add: Industries can produce and accept up to 16 different cargoes  
						
						
						
						
					 
					
						2018-11-03 21:43:54 +01:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						4cebebcf68 
					 
					
						
						
							
							Change: Add CargoTypes type for cargo masks. ( #6790 )  
						
						
						
						
					 
					
						2018-05-21 22:08:39 +01:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						9ed12b0f07 
					 
					
						
						
							
							(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)  
						
						
						
						
					 
					
						2014-04-25 15:40:32 +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 
						 
				 
			
				
					
						
							
							
								fonsinchen 
							
						 
					 
					
						
						
							
						
						8fff781ca0 
					 
					
						
						
							
							(svn r25882) -Change [FS#5766]: Don't offer subsidies for auto-distributed cargo.  
						
						
						
						
					 
					
						2013-10-19 11:17:29 +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 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						2ab7c82b31 
					 
					
						
						
							
							(svn r24395) -Doc: Fixed argument references in @param descriptions.  
						
						
						
						
					 
					
						2012-07-10 18:37:54 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						a8c88f43b6 
					 
					
						
						
							
							(svn r24284) -Codechange: Remove NewsSubtypes and directly use NewsTypes and NewsFlag instead.  
						
						
						
						
					 
					
						2012-05-26 14:16:03 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						41e5c839e0 
					 
					
						
						
							
							(svn r24179) -Codechange: move some variables of Town to TownCache  
						
						
						
						
					 
					
						2012-04-25 20:50:13 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						c8ec47130d 
					 
					
						
						
							
							(svn r24158) -Fix (r23408): Town producing no cargo at all could spawn passenger subsidies.  
						
						
						
						
					 
					
						2012-04-21 20:03:58 +00:00 
						 
				 
			
				
					
						
							
							
								terkhen 
							
						 
					 
					
						
						
							
						
						cf6abeac69 
					 
					
						
						
							
							(svn r23876) -Fix (r23408) [FS#5039]: Generate industry subsidies again. (Emmeran)  
						
						
						
						
					 
					
						2012-02-02 19:31:11 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6d6be50ae0 
					 
					
						
						
							
							(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files  
						
						
						
						
					 
					
						2012-01-03 21:32:51 +00:00 
						 
				 
			
				
					
						
							
							
								alberth 
							
						 
					 
					
						
						
							
						
						4af8c2d5e1 
					 
					
						
						
							
							(svn r23704) -Doc: Doxygen comment fixes and additions.  
						
						
						
						
					 
					
						2012-01-01 17:22:32 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						5858c53420 
					 
					
						
						
							
							(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)  
						
						
						
						
					 
					
						2011-12-19 21:01:12 +00:00 
						 
				 
			
				
					
						
							
							
								truebrain 
							
						 
					 
					
						
						
							
						
						77b7366c29 
					 
					
						
						
							
							(svn r23622) -Add: a set of events to trigger in a GameScript  
						
						
						
						
					 
					
						2011-12-19 20:59:36 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						3d88c74389 
					 
					
						
						
							
							(svn r23526) -Codechange: unify cargos vs cargoes  
						
						
						
						
					 
					
						2011-12-15 21:56:00 +00:00