diff options
Diffstat (limited to 'OpenSim/Region/Environment/Interfaces')
6 files changed, 123 insertions, 123 deletions
diff --git a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs index 8fdfa8f..727b386 100644 --- a/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs +++ b/OpenSim/Region/Environment/Interfaces/IDynamicTextureManager.cs | |||
@@ -1,27 +1,27 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using System.IO; | 4 | using System.IO; |
5 | using libsecondlife; | 5 | using libsecondlife; |
6 | 6 | ||
7 | namespace OpenSim.Region.Environment.Interfaces | 7 | namespace OpenSim.Region.Environment.Interfaces |
8 | { | 8 | { |
9 | public interface IDynamicTextureManager | 9 | public interface IDynamicTextureManager |
10 | { | 10 | { |
11 | void RegisterRender(string handleType, IDynamicTextureRender render); | 11 | void RegisterRender(string handleType, IDynamicTextureRender render); |
12 | void ReturnData(LLUUID id, byte[] data); | 12 | void ReturnData(LLUUID id, byte[] data); |
13 | LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer); | 13 | LLUUID AddDynamicTextureURL(LLUUID simID, LLUUID primID, string contentType, string url, string extraParams, int updateTimer); |
14 | LLUUID AddDynamicTextureData(LLUUID simID, LLUUID primID, string contentType, string data, string extraParams, int updateTimer); | 14 | LLUUID AddDynamicTextureData(LLUUID simID, LLUUID primID, string contentType, string data, string extraParams, int updateTimer); |
15 | } | 15 | } |
16 | 16 | ||
17 | public interface IDynamicTextureRender | 17 | public interface IDynamicTextureRender |
18 | { | 18 | { |
19 | string GetName(); | 19 | string GetName(); |
20 | string GetContentType(); | 20 | string GetContentType(); |
21 | bool SupportsAsynchronous(); | 21 | bool SupportsAsynchronous(); |
22 | byte[] ConvertUrl(string url, string extraParams); | 22 | byte[] ConvertUrl(string url, string extraParams); |
23 | byte[] ConvertStream(Stream data, string extraParams); | 23 | byte[] ConvertStream(Stream data, string extraParams); |
24 | bool AsyncConvertUrl(LLUUID id, string url, string extraParams); | 24 | bool AsyncConvertUrl(LLUUID id, string url, string extraParams); |
25 | bool AsyncConvertData(LLUUID id, string bodyData, string extraParams); | 25 | bool AsyncConvertData(LLUUID id, string bodyData, string extraParams); |
26 | } | 26 | } |
27 | } | 27 | } |
diff --git a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs index 2294631..e974e25 100644 --- a/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs +++ b/OpenSim/Region/Environment/Interfaces/IHttpRequests.cs | |||
@@ -1,12 +1,12 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife; | 4 | using libsecondlife; |
5 | 5 | ||
6 | namespace OpenSim.Region.Environment.Interfaces | 6 | namespace OpenSim.Region.Environment.Interfaces |
7 | { | 7 | { |
8 | public interface IHttpRequests | 8 | public interface IHttpRequests |
9 | { | 9 | { |
10 | LLUUID MakeHttpRequest(string url, string type, string body); | 10 | LLUUID MakeHttpRequest(string url, string type, string body); |
11 | } | 11 | } |
12 | } | 12 | } |
diff --git a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs index 11989fe..47f3d92 100644 --- a/OpenSim/Region/Environment/Interfaces/IRegionModule.cs +++ b/OpenSim/Region/Environment/Interfaces/IRegionModule.cs | |||
@@ -1,15 +1,15 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | namespace OpenSim.Region.Environment.Interfaces | 5 | namespace OpenSim.Region.Environment.Interfaces |
6 | { | 6 | { |
7 | public interface IRegionModule | 7 | public interface IRegionModule |
8 | { | 8 | { |
9 | void Initialise(Scenes.Scene scene); | 9 | void Initialise(Scenes.Scene scene); |
10 | void PostInitialise(); | 10 | void PostInitialise(); |
11 | void CloseDown(); | 11 | void CloseDown(); |
12 | string GetName(); | 12 | string GetName(); |
13 | bool IsSharedModule(); | 13 | bool IsSharedModule(); |
14 | } | 14 | } |
15 | } | 15 | } |
diff --git a/OpenSim/Region/Environment/Interfaces/ISimChat.cs b/OpenSim/Region/Environment/Interfaces/ISimChat.cs index 73ef476..f0adabc 100644 --- a/OpenSim/Region/Environment/Interfaces/ISimChat.cs +++ b/OpenSim/Region/Environment/Interfaces/ISimChat.cs | |||
@@ -1,12 +1,12 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using libsecondlife; | 4 | using libsecondlife; |
5 | 5 | ||
6 | namespace OpenSim.Region.Environment.Interfaces | 6 | namespace OpenSim.Region.Environment.Interfaces |
7 | { | 7 | { |
8 | public interface ISimChat | 8 | public interface ISimChat |
9 | { | 9 | { |
10 | void SimChat(byte[] message, byte type, int channel, LLVector3 fromPos, string fromName, LLUUID fromAgentID); | 10 | void SimChat(byte[] message, byte type, int channel, LLVector3 fromPos, string fromName, LLUUID fromAgentID); |
11 | } | 11 | } |
12 | } | 12 | } |
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 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using OpenSim.Framework.Interfaces; | 4 | using OpenSim.Framework.Interfaces; |
5 | 5 | ||
6 | namespace OpenSim.Region.Environment.Interfaces | 6 | namespace 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 | } |
diff --git a/OpenSim/Region/Environment/Interfaces/IXfer.cs b/OpenSim/Region/Environment/Interfaces/IXfer.cs index a19ba8d..7482ec0 100644 --- a/OpenSim/Region/Environment/Interfaces/IXfer.cs +++ b/OpenSim/Region/Environment/Interfaces/IXfer.cs | |||
@@ -1,11 +1,11 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | 4 | ||
5 | namespace OpenSim.Region.Environment.Interfaces | 5 | namespace OpenSim.Region.Environment.Interfaces |
6 | { | 6 | { |
7 | public interface IXfer | 7 | public interface IXfer |
8 | { | 8 | { |
9 | bool AddNewFile(string fileName, byte[] data); | 9 | bool AddNewFile(string fileName, byte[] data); |
10 | } | 10 | } |
11 | } | 11 | } |