aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Interfaces/ITerrain.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces/ITerrain.cs')
-rw-r--r--OpenSim/Region/Environment/Interfaces/ITerrain.cs92
1 files changed, 46 insertions, 46 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/ITerrain.cs b/OpenSim/Region/Environment/Interfaces/ITerrain.cs
index a07168e..576c5b4 100644
--- a/OpenSim/Region/Environment/Interfaces/ITerrain.cs
+++ b/OpenSim/Region/Environment/Interfaces/ITerrain.cs
@@ -1,46 +1,46 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using OpenSim.Framework.Interfaces; 4using OpenSim.Framework.Interfaces;
5 5
6namespace OpenSim.Region.Environment.Interfaces 6namespace OpenSim.Region.Environment.Interfaces
7{ 7{
8 public interface ITerrain 8 public interface ITerrain
9 { 9 {
10 bool Tainted(); 10 bool Tainted();
11 bool Tainted(int x, int y); 11 bool Tainted(int x, int y);
12 void ResetTaint(); 12 void ResetTaint();
13 void ModifyTerrain(float height, float seconds, byte brushsize, byte action, float north, float west, IClientAPI remoteUser); 13 void ModifyTerrain(float height, float seconds, byte brushsize, byte action, float north, float west, IClientAPI remoteUser);
14 void CheckHeightValues(); 14 void CheckHeightValues();
15 float[] GetHeights1D(); 15 float[] GetHeights1D();
16 float[,] GetHeights2D(); 16 float[,] GetHeights2D();
17 double[,] GetHeights2DD(); 17 double[,] GetHeights2DD();
18 void GetHeights1D(float[] heights); 18 void GetHeights1D(float[] heights);
19 void SetHeights2D(float[,] heights); 19 void SetHeights2D(float[,] heights);
20 void SetHeights2D(double[,] heights); 20 void SetHeights2D(double[,] heights);
21 void SwapRevertMaps(); 21 void SwapRevertMaps();
22 void SaveRevertMap(); 22 void SaveRevertMap();
23 bool RunTerrainCmd(string[] args, ref string resultText, string simName); 23 bool RunTerrainCmd(string[] args, ref string resultText, string simName);
24 void SetRange(float min, float max); 24 void SetRange(float min, float max);
25 void LoadFromFileF64(string filename); 25 void LoadFromFileF64(string filename);
26 void LoadFromFileF32(string filename); 26 void LoadFromFileF32(string filename);
27 void LoadFromFileF32(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY); 27 void LoadFromFileF32(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY);
28 void LoadFromFileIMG(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY); 28 void LoadFromFileIMG(string filename, int dimensionX, int dimensionY, int lowerboundX, int lowerboundY);
29 void LoadFromFileSLRAW(string filename); 29 void LoadFromFileSLRAW(string filename);
30 void WriteToFileF64(string filename); 30 void WriteToFileF64(string filename);
31 void WriteToFileF32(string filename); 31 void WriteToFileF32(string filename);
32 void WriteToFileRAW(string filename); 32 void WriteToFileRAW(string filename);
33 void WriteToFileHiRAW(string filename); 33 void WriteToFileHiRAW(string filename);
34 void SetSeed(int val); 34 void SetSeed(int val);
35 void RaiseTerrain(double rx, double ry, double size, double amount); 35 void RaiseTerrain(double rx, double ry, double size, double amount);
36 void LowerTerrain(double rx, double ry, double size, double amount); 36 void LowerTerrain(double rx, double ry, double size, double amount);
37 void FlattenTerrain(double rx, double ry, double size, double amount); 37 void FlattenTerrain(double rx, double ry, double size, double amount);
38 void NoiseTerrain(double rx, double ry, double size, double amount); 38 void NoiseTerrain(double rx, double ry, double size, double amount);
39 void RevertTerrain(double rx, double ry, double size, double amount); 39 void RevertTerrain(double rx, double ry, double size, double amount);
40 void SmoothTerrain(double rx, double ry, double size, double amount); 40 void SmoothTerrain(double rx, double ry, double size, double amount);
41 void HillsGenerator(); 41 void HillsGenerator();
42 double GetHeight(int x, int y); 42 double GetHeight(int x, int y);
43 void ExportImage(string filename, string gradientmap); 43 void ExportImage(string filename, string gradientmap);
44 byte[] ExportJpegImage(string gradientmap); 44 byte[] ExportJpegImage(string gradientmap);
45 } 45 }
46} 46}