src/tgp.cpp
changeset 10438 51bff16a04c9
parent 9615 d532e3ba44c0
child 10440 0a91ea45b0e8
equal deleted inserted replaced
10437:6d64230b9fb9 10438:51bff16a04c9
   709 	const height_t h_max_new = I2H(_max_height[_settings_game.difficulty.terrain_type]);
   709 	const height_t h_max_new = I2H(_max_height[_settings_game.difficulty.terrain_type]);
   710 	const height_t roughness = 7 + 3 * _settings_game.game_creation.tgen_smoothness;
   710 	const height_t roughness = 7 + 3 * _settings_game.game_creation.tgen_smoothness;
   711 
   711 
   712 	HeightMapAdjustWaterLevel(water_percent, h_max_new);
   712 	HeightMapAdjustWaterLevel(water_percent, h_max_new);
   713 
   713 
   714 	HeightMapCoastLines();
   714 	//HeightMapCoastLines();
   715 	HeightMapSmoothSlopes(roughness);
   715 	HeightMapSmoothSlopes(roughness);
   716 
   716 
   717 	HeightMapSmoothCoasts();
   717 	//HeightMapSmoothCoasts();
   718 	HeightMapSmoothSlopes(roughness);
   718 	HeightMapSmoothSlopes(roughness);
   719 
   719 
   720 	HeightMapSineTransform(12, h_max_new);
   720 	HeightMapSineTransform(12, h_max_new);
   721 	HeightMapSmoothSlopes(16);
   721 	HeightMapSmoothSlopes(16);
   722 }
   722 }