Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						ac9749d015 
					 
					
						
						
							
							Merge PR  #283  (max city height) into jgrpp  
						
						
						
						
					 
					
						2021-06-19 13:37:21 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						24834c86f7 
					 
					
						
						
							
							Allow changing max town height level setting in-game (for town founding)  
						
						
						
						
					 
					
						2021-06-19 13:33:39 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						5fe1963feb 
					 
					
						
						
							
							Lower minimum to 2  
						
						
						
						
					 
					
						2021-06-19 13:23:19 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						a17efcd7d5 
					 
					
						
						
							
							Introduce setting for a max height level for towns  
						
						... 
						
						
						
						Prior to this change, the game tended to place towns on mountain tops. Realistic heightmaps had limitations because of this.
This change allows the player to specify that the towns should be generated in the valleys. 
						
						
					 
					
						2021-06-19 13:23:19 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						073d3bb88c 
					 
					
						
						
							
							Merge PR  #272  (public roads) into jgrpp  
						
						
						
						
					 
					
						2021-06-19 13:16:16 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						c475fb12c0 
					 
					
						
						
							
							Add sanity check  
						
						
						
						
					 
					
						2021-06-19 13:11:03 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						7a0150735e 
					 
					
						
						
							
							Adjust the cost function again for better bridge and tunnel use  
						
						
						
						
					 
					
						2021-06-19 13:11:03 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						d4fd7f62d1 
					 
					
						
						
							
							Build a couple of cycles in the network by connecting each town to the three closest ones in its network  
						
						
						
						
					 
					
						2021-06-19 13:11:03 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						f53ed56200 
					 
					
						
						
							
							Increase bridge/tunnel per-tile cost  
						
						
						
						
					 
					
						2021-06-19 13:11:03 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						3a67065332 
					 
					
						
						
							
							Add a build public roads button to the scenario editor  
						
						
						
						
					 
					
						2021-06-19 13:11:03 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						9683676df1 
					 
					
						
						
							
							Use GetTileMaxZ for slope cost check to avoid overly penalising foundations  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						5e7b8ccd43 
					 
					
						
						
							
							Only calculate input points once in IsBlockedByPreviousBridgeOrTunnel  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						90e75871ad 
					 
					
						
						
							
							Fix bridge/tunnel building not using DC_AUTO  
						
						... 
						
						
						
						This could result in existing infrastructure being removed at
the bridge/tunnel far end 
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						724474e435 
					 
					
						
						
							
							Use MayTownBuildBridgeType/BSCF_NOT_AVAILABLE_TOWN for bridge type check  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						96bfcd587b 
					 
					
						
						
							
							Fix signedness mismatch warning in tunnel length check  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						a3d1b916d1 
					 
					
						
						
							
							Limit tunnel length at the proper place  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						3e771dc18d 
					 
					
						
						
							
							Revert bug inducing change  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						b175203d54 
					 
					
						
						
							
							Add comment  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						a73cb99695 
					 
					
						
						
							
							Do not build bridges with additional specs  
						
						... 
						
						
						
						Prior to this change, additional bridge sets like modular bridges would be used.
Those might not be suitable for public roads. Those bridges should be left to the player. 
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						198ef11a2b 
					 
					
						
						
							
							Force the pathfinder to build serpentine roads  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						bd41cb618a 
					 
					
						
						
							
							Allow using and building trivial foundations  
						
						... 
						
						
						
						(3 corners raised and 2 opposite corners raised) 
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						0f336bba57 
					 
					
						
						
							
							Give bridges over the sea a more generous length limit  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						bfdabf4cb2 
					 
					
						
						
							
							Allow building on coast tiles  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						63534f97bd 
					 
					
						
						
							
							Make bridges and tunnels significantly more costly  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						a6f7478873 
					 
					
						
						
							
							Adjust comment for BASE_COST_PER_TILE  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						d182b0b138 
					 
					
						
						
							
							Remove "using namespace std"  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						1647f9a616 
					 
					
						
						
							
							Avoid redundant calls to DistanceManhattan in town_network_distance  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e95447edac 
					 
					
						
						
							
							Avoid unnecessarily converting lambda to std::function  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						e46fb1aa99 
					 
					
						
						
							
							Fix loading of build public roads setting from JokerPP savegames  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Jonathan G Rennison 
							
						 
					 
					
						
						
							
						
						1732e0a366 
					 
					
						
						
							
							Remove trailing whitespace  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						ac8da77d0b 
					 
					
						
						
							
							Fixing a stupid error  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						35a98fae7d 
					 
					
						
						
							
							Try and fix another assertion failure  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						a6dae1426c 
					 
					
						
						
							
							Re-implement the cost function  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						5d51909c36 
					 
					
						
						
							
							Reorganize file  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						2b1d73cb3d 
					 
					
						
						
							
							Fix tunnel glitch  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						7601720ff7 
					 
					
						
						
							
							landscape.cpp fixes  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						44fe1ca00b 
					 
					
						
						
							
							Tweak the bridge generation  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						a1df69be87 
					 
					
						
						
							
							Check for overlaps and intersections of planned bridges and tunnels  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						1899b1877d 
					 
					
						
						
							
							Improve performance even more  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						7b7b74e21e 
					 
					
						
						
							
							Adjust values  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						b89afbdff3 
					 
					
						
						
							
							Reintroduce base cost to make A* admissible  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						b3044cc482 
					 
					
						
						
							
							Improve performance  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						953be43301 
					 
					
						
						
							
							Prevent numeric overflow  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						af29085e42 
					 
					
						
						
							
							Only build bridges over water  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						8d584990aa 
					 
					
						
						
							
							Remove unused hash functions and start the road building from the map center  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						4542410b41 
					 
					
						
						
							
							Revert "Replace original algorithm with a simpler one"  
						
						... 
						
						
						
						This reverts commit 8cb3d80402f626034c08a162b8956dce03eb79f6. 
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						9d6d41e457 
					 
					
						
						
							
							Update src/lang/english.txt  
						
						... 
						
						
						
						Co-authored-by: stormcone <48624099+stormcone@users.noreply.github.com > 
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						35ebeff874 
					 
					
						
						
							
							Remove low performance containers with standard library ones  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						83ea6e9fd8 
					 
					
						
						
							
							Replace original algorithm with a simpler one  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00 
						 
				 
			
				
					
						
							
							
								Andreas Schmitt 
							
						 
					 
					
						
						
							
						
						150e502cf9 
					 
					
						
						
							
							Add generation of public roads linking towns  
						
						
						
						
					 
					
						2021-06-19 13:02:36 +01:00