diff options
-rw-r--r-- | OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs index 7eb90a8..5ef2963 100644 --- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs +++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs | |||
@@ -262,6 +262,7 @@ namespace OpenSim.Region.Terrain | |||
262 | resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n"; | 262 | resultText += "terrain rescale <min> <max> - rescales a terrain to be between <min> and <max> meters high\n"; |
263 | resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n"; | 263 | resultText += "terrain erode aerobic <windspeed> <pickupmin> <dropmin> <carry> <rounds> <lowest>\n"; |
264 | resultText += "terrain erode thermal <talus> <rounds> <carry>\n"; | 264 | resultText += "terrain erode thermal <talus> <rounds> <carry>\n"; |
265 | resultText += "terrain erode hydraulic <rain> <evaporation> <solubility> <frequency> <rounds>\n"; | ||
265 | resultText += "terrain multiply <val> - multiplies a terrain by <val>\n"; | 266 | resultText += "terrain multiply <val> - multiplies a terrain by <val>\n"; |
266 | resultText += "terrain revert - reverts the terrain to the stored original\n"; | 267 | resultText += "terrain revert - reverts the terrain to the stored original\n"; |
267 | resultText += "terrain bake - saves the current terrain into the revert map\n"; | 268 | resultText += "terrain bake - saves the current terrain into the revert map\n"; |
@@ -413,6 +414,11 @@ namespace OpenSim.Region.Terrain | |||
413 | case "thermal": | 414 | case "thermal": |
414 | heightmap.thermalWeathering(Convert.ToDouble(args[2]), Convert.ToInt32(args[3]), Convert.ToDouble(args[4])); | 415 | heightmap.thermalWeathering(Convert.ToDouble(args[2]), Convert.ToInt32(args[3]), Convert.ToDouble(args[4])); |
415 | break; | 416 | break; |
417 | case "hydraulic": | ||
418 | Channel rainMap = new Channel(w, h); | ||
419 | rainMap.fill(Convert.ToDouble(args[2])); | ||
420 | heightmap.hydraulicErosion(rainMap, Convert.ToDouble(args[3]), Convert.ToDouble(args[4]), Convert.ToInt32(args[5]), Convert.ToInt32(args[6])); | ||
421 | break; | ||
416 | default: | 422 | default: |
417 | resultText = "Unknown erosion type"; | 423 | resultText = "Unknown erosion type"; |
418 | return false; | 424 | return false; |