aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorHomer Horwitz2009-04-19 13:33:46 +0000
committerHomer Horwitz2009-04-19 13:33:46 +0000
commit9c3ec87b976edb37114a489ce83b1e8f8e9a6851 (patch)
treef959012150e6bffae5e7874fef9b9e089f0f1abc /OpenSim/Region/Framework
parentKeep IsColliding updated for the recent changes in ScenePresence so that walk... (diff)
downloadopensim-SC-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.zip
opensim-SC-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.tar.gz
opensim-SC-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.tar.bz2
opensim-SC-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.tar.xz
Moved ITerrainModule and ITerainEffect to OpenSim.Region.Framework.Interfaces and added a TaintTerrain method
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Interfaces/ITerrainEffect.cs (renamed from OpenSim/Region/CoreModules/World/Terrain/ITerrainEffect.cs)4
-rw-r--r--OpenSim/Region/Framework/Interfaces/ITerrainModule.cs (renamed from OpenSim/Region/CoreModules/World/Terrain/ITerrainModule.cs)8
2 files changed, 8 insertions, 4 deletions
diff --git a/OpenSim/Region/CoreModules/World/Terrain/ITerrainEffect.cs b/OpenSim/Region/Framework/Interfaces/ITerrainEffect.cs
index 40b9f5a..454aaaa 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/ITerrainEffect.cs
+++ b/OpenSim/Region/Framework/Interfaces/ITerrainEffect.cs
@@ -25,9 +25,7 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using OpenSim.Region.Framework.Interfaces; 28namespace OpenSim.Region.Framework.Interfaces
29
30namespace OpenSim.Region.CoreModules.World.Terrain
31{ 29{
32 public interface ITerrainEffect 30 public interface ITerrainEffect
33 { 31 {
diff --git a/OpenSim/Region/CoreModules/World/Terrain/ITerrainModule.cs b/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs
index 9ca7de0..378a80d 100644
--- a/OpenSim/Region/CoreModules/World/Terrain/ITerrainModule.cs
+++ b/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs
@@ -29,13 +29,19 @@
29using System.IO; 29using System.IO;
30using OpenMetaverse; 30using OpenMetaverse;
31 31
32namespace OpenSim.Region.CoreModules.World.Terrain 32namespace OpenSim.Region.Framework.Interfaces
33{ 33{
34 public interface ITerrainModule 34 public interface ITerrainModule
35 { 35 {
36 void LoadFromFile(string filename); 36 void LoadFromFile(string filename);
37 void SaveToFile(string filename); 37 void SaveToFile(string filename);
38 void ModifyTerrain(UUID user, Vector3 pos, byte size, byte action, UUID agentId); 38 void ModifyTerrain(UUID user, Vector3 pos, byte size, byte action, UUID agentId);
39
40 /// <summary>
41 /// Taint the terrain. This will lead to sending the terrain data to the clients again.
42 /// Use this if you change terrain data outside of the terrain module (e.g. in osTerrainSetHeight)
43 /// </summary>
44 void TaintTerrain();
39 45
40 /// <summary> 46 /// <summary>
41 /// Load a terrain from a stream. 47 /// Load a terrain from a stream.