aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/OpenSim.RegionServer/RegionInfoBase.cs
diff options
context:
space:
mode:
authorAdam Frisby2007-05-27 06:36:33 +0000
committerAdam Frisby2007-05-27 06:36:33 +0000
commit7a2abbb8484c8ceba990b3f5b79a0b5291c71e46 (patch)
tree9b940ab87255cfba9062c46ead6efbae80dfa640 /OpenSim/OpenSim.RegionServer/RegionInfoBase.cs
parent* Terrain now resends when it's been tainted. This means you should be able t... (diff)
downloadopensim-SC_OLD-7a2abbb8484c8ceba990b3f5b79a0b5291c71e46.zip
opensim-SC_OLD-7a2abbb8484c8ceba990b3f5b79a0b5291c71e46.tar.gz
opensim-SC_OLD-7a2abbb8484c8ceba990b3f5b79a0b5291c71e46.tar.bz2
opensim-SC_OLD-7a2abbb8484c8ceba990b3f5b79a0b5291c71e46.tar.xz
* Added ability to set default terrain to a file in region config. If unable to open, terrain will be procedurally generated instead. (also needs testing.). Default file must be in R32 format. Use "terrain save f32 default.r32" on the region console to make a default file you can use.
Diffstat (limited to 'OpenSim/OpenSim.RegionServer/RegionInfoBase.cs')
-rw-r--r--OpenSim/OpenSim.RegionServer/RegionInfoBase.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/OpenSim.RegionServer/RegionInfoBase.cs b/OpenSim/OpenSim.RegionServer/RegionInfoBase.cs
index 42d3030..afad245 100644
--- a/OpenSim/OpenSim.RegionServer/RegionInfoBase.cs
+++ b/OpenSim/OpenSim.RegionServer/RegionInfoBase.cs
@@ -23,6 +23,29 @@ namespace OpenSim
23 public int IPListenPort; 23 public int IPListenPort;
24 public string IPListenAddr; 24 public string IPListenAddr;
25 25
26 // Region Information
27 public LLUUID TerrainBase0 = new LLUUID(); // Insert default here
28 public LLUUID TerrainBase1 = new LLUUID();
29 public LLUUID TerrainBase2 = new LLUUID();
30 public LLUUID TerrainBase3 = new LLUUID();
31 public LLUUID TerrainDetail0 = new LLUUID();
32 public LLUUID TerrainDetail1 = new LLUUID();
33 public LLUUID TerrainDetail2 = new LLUUID();
34 public LLUUID TerrainDetail3 = new LLUUID();
35 public float TerrainStartHeight00 = 0.0f;
36 public float TerrainStartHeight01 = 0.0f;
37 public float TerrainStartHeight10 = 0.0f;
38 public float TerrainStartHeight11 = 0.0f;
39 public float TerrainHeightRange00 = 40.0f;
40 public float TerrainHeightRange01 = 40.0f;
41 public float TerrainHeightRange10 = 40.0f;
42 public float TerrainHeightRange11 = 40.0f;
43
44 // Terrain Default (Must be in F32 Format!)
45 public string TerrainFile = "default.r32";
46 public double TerrainMultiplier = 60.0;
47
48
26 public RegionInfoBase() 49 public RegionInfoBase()
27 { 50 {
28 51