aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces/ITerrainModule.cs
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/Interfaces/ITerrainModule.cs
parentKeep IsColliding updated for the recent changes in ScenePresence so that walk... (diff)
downloadopensim-SC_OLD-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.zip
opensim-SC_OLD-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.tar.gz
opensim-SC_OLD-9c3ec87b976edb37114a489ce83b1e8f8e9a6851.tar.bz2
opensim-SC_OLD-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/ITerrainModule.cs (renamed from OpenSim/Region/CoreModules/World/Terrain/ITerrainModule.cs)8
1 files changed, 7 insertions, 1 deletions
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.