aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorAdam Frisby2007-08-01 21:51:02 +0000
committerAdam Frisby2007-08-01 21:51:02 +0000
commita2d71904f1c24e598c58ada90476bae17b11c4bf (patch)
tree4ec15133b4142240b9a1758b0a4c70742c8ed228 /OpenSim/Region
parent* F32 Terrain load function written to support loading tiles from a larger he... (diff)
downloadopensim-SC_OLD-a2d71904f1c24e598c58ada90476bae17b11c4bf.zip
opensim-SC_OLD-a2d71904f1c24e598c58ada90476bae17b11c4bf.tar.gz
opensim-SC_OLD-a2d71904f1c24e598c58ada90476bae17b11c4bf.tar.bz2
opensim-SC_OLD-a2d71904f1c24e598c58ada90476bae17b11c4bf.tar.xz
* Added load-tile terrain command to correspond with previous commit.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
index bfb4941..74e44ec 100644
--- a/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
+++ b/OpenSim/Region/Terrain.BasicTerrain/TerrainEngine.cs
@@ -371,6 +371,19 @@ namespace OpenSim.Region.Terrain
371 } 371 }
372 break; 372 break;
373 373
374 case "load-tile":
375 switch (args[1].ToLower())
376 {
377 case "f32":
378 LoadFromFileF32(args[2], Convert.ToInt32(args[3]), Convert.ToInt32(args[4]),
379 Convert.ToInt32(args[5]), Convert.ToInt32(args[6]));
380 break;
381 default:
382 resultText = "Unknown or unsupported image or data format";
383 return false;
384 }
385 break;
386
374 case "save": 387 case "save":
375 args[2].Replace("%name%", simName); 388 args[2].Replace("%name%", simName);
376 switch (args[1].ToLower()) 389 switch (args[1].ToLower())