Patric Stout 
							
						 
					 
					
						
						
							
						
						31ad990831 
					 
					
						
						
							
							Codechange: move tick-counter into TimerGameTick ( #10712 )  
						
						
						
						
					 
					
						2023-04-24 16:55:40 +00:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						e8af8daa68 
					 
					
						
						
							
							Codechange: pass "ground vehicle" to GetTileSlopeZ since for tunnel/bridges there are two states  
						
						... 
						
						
						
						Previously it checked the position in non-driving direction to "guess" whether
a ground vehicle was using the function, so on tunnels/bridges it could either
return the Z of the (virtual) ground compared to the Z of the path the vehicle
would take. 
						
						
					 
					
						2023-04-09 19:00:26 +02:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						b0542c8c49 
					 
					
						
						
							
							Codechange: Don't store tree counter in the map array ( #10018 )  
						
						
						
						
					 
					
						2023-02-26 16:39:44 -05:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						fe2bcd2a58 
					 
					
						
						
							
							Codechange: migrate size related functions to Map structure  
						
						
						
						
					 
					
						2023-01-21 17:11:40 +01:00 
						 
				 
			
				
					
						
							
							
								Rubidium 
							
						 
					 
					
						
						
							
						
						3373128233 
					 
					
						
						
							
							Codechange: pass the randomizer directly to the town name generation  
						
						
						
						
					 
					
						2023-01-14 22:00:11 +01:00 
						 
				 
			
				
					
						
							
							
								Tyler Trahan 
							
						 
					 
					
						
						
							
						
						5c64cdcb79 
					 
					
						
						
							
							Feature: Press Ctrl to build a diagonal area of trees ( #10342 )  
						
						
						
						
					 
					
						2023-01-13 18:04:30 -05:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						58cff7b081 
					 
					
						
						
							
							Codechange: Un-bitstuff the remaining on-map commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						c6d7b98808 
					 
					
						
						
							
							Codechange: Un-bitstuff landscape commands.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						e740c24eb7 
					 
					
						
						
							
							Codechange: Template DoCommand 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 
							
						 
					 
					
						
						
							
						
						b0990fcff7 
					 
					
						
						
							
							Codechange: Make TileIndex a "strong" typedef to give it a distinct type.  
						
						... 
						
						
						
						This is accomplished by changing it to a single member struct with the
appropriate operator overloads to make it all work with not too much
source modifications. 
						
						
					 
					
						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 
						 
				 
			
				
					
						
							
							
								Michael Lutz 
							
						 
					 
					
						
						
							
						
						b6933a2ebd 
					 
					
						
						
							
							Codechange: Move command arguments to the back of the DoCommand function call.  
						
						
						
						
					 
					
						2021-12-16 22:28:32 +01:00 
						 
				 
			
				
					
						
							
							
								Vít Šefl 
							
						 
					 
					
						
						
							
						
						710b758b81 
					 
					
						
						
							
							Fix   #9241 : Grove and forest tree brushes also create rainforests ( #9542 )  
						
						
						
						
					 
					
						2021-09-12 08:42:24 +02:00 
						 
				 
			
				
					
						
							
							
								Vít Šefl 
							
						 
					 
					
						
						
							
						
						30f5938eed 
					 
					
						
						
							
							Fix  b791ffc6: use the correct name in CmdPlantTree  
						
						
						
						
					 
					
						2021-06-01 18:26:35 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						2e136285e1 
					 
					
						
						
							
							Codechange: move from C-string to std::string for DoCommand  
						
						
						
						
					 
					
						2021-05-29 19:02:18 +02:00 
						 
				 
			
				
					
						
							
							
								rubidium42 
							
						 
					 
					
						
						
							
						
						b791ffc6de 
					 
					
						
						
							
							Fix: do not hide parameter by local variable with the same name  
						
						
						
						
					 
					
						2021-05-27 18:30:56 +02:00 
						 
				 
			
				
					
						
							
							
								glx22 
							
						 
					 
					
						
						
							
						
						38c97e1492 
					 
					
						
						
							
							Codechange: Replace TILE_AREA_LOOP with range-based for loops  
						
						
						
						
					 
					
						2021-05-13 00:13:54 +02:00 
						 
				 
			
				
					
						
							
							
								PeterN 
							
						 
					 
					
						
						
							
						
						b972ed8604 
					 
					
						
						
							
							Fix   #9242 : Tree tick handler did not scale by map size. ( #9246 )  
						
						... 
						
						
						
						This means that random tree generation density is higher on small maps and lower on large maps. This difference is enough to make the Lumber Mill impractical to use on large maps.
This change skips ticks on maps smaller than 256x256 and increases iterations or shortens the interval on maps larger than 256x256. 
						
						
					 
					
						2021-05-12 18:17:57 +01:00 
						 
				 
			
				
					
						
							
							
								Patric Stout 
							
						 
					 
					
						
						
							
						
						970fedd78c 
					 
					
						
						
							
							Add: make modal windows update more smooth  
						
						... 
						
						
						
						Basically, modal windows had their own thread-locking for what
drawing was possible. This is a bit nonsense now we have a
game-thread. And it makes much more sense to do things like
NewGRFScan and GenerateWorld in the game-thread, and not in a
thread next to the game-thread.
This commit changes that: it removes the threads for NewGRFScan
and GenerateWorld, and just runs the code in the game-thread.
On regular intervals it allows the draw-thread to do a tick,
which gives a much smoother look and feel.
It does slow down NewGRFScan and GenerateWorld ever so slightly
as it spends more time on drawing. But the slowdown is not
measureable on my machines (with 700+ NewGRFs / 4kx4k map and
a Debug build).
Running without a game-thread means NewGRFScan and GenerateWorld
are now blocking. 
						
						
					 
					
						2021-03-10 13:41:18 +01:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						d9b4413bc9 
					 
					
						
						
							
							Codechange: rename sound ids to make more sense. ( #8701 )  
						
						
						
						
					 
					
						2021-02-20 19:01:04 +01:00 
						 
				 
			
				
					
						
							
							
								SamuXarick 
							
						 
					 
					
						
						
							
						
						a4035af337 
					 
					
						
						
							
							Codechange: Apply coding style ( #8640 )  
						
						... 
						
						
						
						* Fix: Missing or needed spaces
* Codechange: Remove space
* Codechange: Remove space
* Codechange: More missing spaces
* Codechange: Missing spaces
* Codechange: Remove space
* Codechange: Remove space 
						
						
					 
					
						2021-02-05 11:00:36 +01:00 
						 
				 
			
				
					
						
							
							
								Charles Pigott 
							
						 
					 
					
						
						
							
						
						9b800a96ed 
					 
					
						
						
							
							Codechange: Remove min/max functions in favour of STL variants ( #8502 )  
						
						
						
						
					 
					
						2021-01-08 11:16:18 +01:00 
						 
				 
			
				
					
						
							
							
								Niels Martin Hansen 
							
						 
					 
					
						
						
							
						
						2d9fa81bd0 
					 
					
						
						
							
							Feature: Plant clumps of trees in editor by dragging on the landscape  
						
						
						
						
					 
					
						2020-12-27 01:03:27 +01:00 
						 
				 
			
				
					
						
							
							
								Pavel Stupnikov 
							
						 
					 
					
						
						
							
						
						22b9dec960 
					 
					
						
						
							
							Feature: Add an option to disable tree growth completely ( #8415 )  
						
						
						
						
					 
					
						2020-12-25 00:36:54 +01:00 
						 
				 
			
				
					
						
							
							
								Pavel Stupnikov 
							
						 
					 
					
						
						
							
						
						04e572933d 
					 
					
						
						
							
							Fix: Don't lower tree density if spreading is not enabled ( #8413 )  
						
						
						
						
					 
					
						2020-12-25 00:36:45 +01:00 
						 
				 
			
				
					
						
							
							
								dP 
							
						 
					 
					
						
						
							
						
						82572754dd 
					 
					
						
						
							
							Fix: Trees disappear completely after a few years when they're not allowed to spread  
						
						
						
						
					 
					
						2020-05-20 13:16:55 +02:00 
						 
				 
			
				
					
						
							
							
								S. D. Cloudt 
							
						 
					 
					
						
						
							
						
						13cc8a0cee 
					 
					
						
						
							
							Cleanup: Removed SVN  headers  
						
						
						
						
					 
					
						2019-11-10 17:59:20 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Wilson 
							
						 
					 
					
						
						
							
						
						7c8e7c6b6e 
					 
					
						
						
							
							Codechange: Use null pointer literal instead of the NULL macro  
						
						
						
						
					 
					
						2019-04-10 23:22:20 +02:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						b4b98e5165 
					 
					
						
						
							
							(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)  
						
						
						
						
					 
					
						2017-08-13 18:38:42 +00:00 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						bfa3528069 
					 
					
						
						
							
							(svn r27406) -Doc: Use same start/end tile convention in CmdPlantTree as in other TileArea commands. (HackaLittleBit)  
						
						
						
						
					 
					
						2015-09-30 17:28:58 +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 
						 
				 
			
				
					
						
							
							
								frosch 
							
						 
					 
					
						
						
							
						
						3ce8d2ce70 
					 
					
						
						
							
							(svn r24846) -Add: Advanced settings to disable certain sound effects.  
						
						
						
						
					 
					
						2012-12-23 21:09:09 +00:00 
						 
				 
			
				
					
						
							
							
								michi_cc 
							
						 
					 
					
						
						
							
						
						f3e295b4ec 
					 
					
						
						
							
							(svn r24134) -Add: Configurable limits for tree planting.  
						
						
						
						
					 
					
						2012-04-17 19:43:52 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						6d6be50ae0 
					 
					
						
						
							
							(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files  
						
						
						
						
					 
					
						2012-01-03 21:32:51 +00:00 
						 
				 
			
				
					
						
							
							
								yexo 
							
						 
					 
					
						
						
							
						
						5f79b4c5d1 
					 
					
						
						
							
							(svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check  
						
						
						
						
					 
					
						2012-01-03 00:45:22 +00:00 
						 
				 
			
				
					
						
							
							
								yexo 
							
						 
					 
					
						
						
							
						
						5c838ff1c3 
					 
					
						
						
							
							(svn r23168) -Feature [FS#1824]: always draw fences around field tiles  
						
						
						
						
					 
					
						2011-11-08 19:48:47 +00:00 
						 
				 
			
				
					
						
							
							
								yexo 
							
						 
					 
					
						
						
							
						
						6a272233b3 
					 
					
						
						
							
							(svn r23160) -Fix: wrong comments in a lot of TileTypeProcs definitions  
						
						
						
						
					 
					
						2011-11-08 17:37:32 +00:00 
						 
				 
			
				
					
						
							
							
								michi_cc 
							
						 
					 
					
						
						
							
						
						3e016e4254 
					 
					
						
						
							
							(svn r23116) -Fix (r23114): Ambient sound effect callback was called for unsupported tile types.  
						
						
						
						
					 
					
						2011-11-04 22:59:23 +00:00 
						 
				 
			
				
					
						
							
							
								michi_cc 
							
						 
					 
					
						
						
							
						
						707b0f48e6 
					 
					
						
						
							
							(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.  
						
						
						
						
					 
					
						2011-11-04 21:05:08 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						2a2c102b0b 
					 
					
						
						
							
							(svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables  
						
						
						
						
					 
					
						2011-11-04 11:52:19 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						459c9523e8 
					 
					
						
						
							
							(svn r23107) -Codechange: let GetSlopePixelZ and TerraformTile tile type functions use int z as well  
						
						
						
						
					 
					
						2011-11-04 11:36:10 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						19eabdba2c 
					 
					
						
						
							
							(svn r23106) -Codechange: pass int* to GetTileSlope and friends  
						
						
						
						
					 
					
						2011-11-04 11:30:37 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						69162621d8 
					 
					
						
						
							
							(svn r23096) -Codechange: remove useless divisions and multiplications by TILE_HEIGHT for the snow line code  
						
						
						
						
					 
					
						2011-11-04 10:25:58 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						2ed0f93bfb 
					 
					
						
						
							
							(svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it  
						
						
						
						
					 
					
						2011-11-04 10:22:27 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						7757a2ed40 
					 
					
						
						
							
							(svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight)  
						
						
						
						
					 
					
						2011-11-04 10:18:13 +00:00 
						 
				 
			
				
					
						
							
							
								rubidium 
							
						 
					 
					
						
						
							
						
						0395aab420 
					 
					
						
						
							
							(svn r22019) -Codechange: s/functions.h/clear_func.h/  
						
						
						
						
					 
					
						2011-02-07 22:38:02 +00:00 
						 
				 
			
				
					
						
							
							
								terkhen 
							
						 
					 
					
						
						
							
						
						9a7dd40006 
					 
					
						
						
							
							(svn r20829) -Fix [FS#4094]: Place less trees at once when planting random trees at the scenario editor.  
						
						
						
						
					 
					
						2010-09-18 20:48:40 +00:00 
						 
				 
			
				
					
						
							
							
								terkhen 
							
						 
					 
					
						
						
							
						
						ee8272bacc 
					 
					
						
						
							
							(svn r20828) -Add: Take into account tree group placement at the world generation progress bar.  
						
						
						
						
					 
					
						2010-09-18 20:44:13 +00:00 
						 
				 
			
				
					
						
							
							
								terkhen 
							
						 
					 
					
						
						
							
						
						95e5e59f37 
					 
					
						
						
							
							(svn r20827) -Codechange: Simplify code for placement of tree groups.  
						
						
						
						
					 
					
						2010-09-18 20:41:06 +00:00