aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
authorAdam Frisby2007-12-27 05:20:03 +0000
committerAdam Frisby2007-12-27 05:20:03 +0000
commit8b6dd623bd7e7a1ea3de196ea6bc4d8979c7e921 (patch)
tree7f8ae3971f9ae7038d80b5dc3dc0b5a2aa1f495c /OpenSim/Region/ScriptEngine/DotNetEngine
parent* Added slightly better object sit handling (diff)
downloadopensim-SC_OLD-8b6dd623bd7e7a1ea3de196ea6bc4d8979c7e921.zip
opensim-SC_OLD-8b6dd623bd7e7a1ea3de196ea6bc4d8979c7e921.tar.gz
opensim-SC_OLD-8b6dd623bd7e7a1ea3de196ea6bc4d8979c7e921.tar.bz2
opensim-SC_OLD-8b6dd623bd7e7a1ea3de196ea6bc4d8979c7e921.tar.xz
* Added osTerrainSetHeight(int x, int y, double val) to LSL commands
* Added osTerrainGetHeight(int x, int y) to LSL commands
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
index fb521df..14f66e8 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
@@ -2876,6 +2876,17 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
2876 // 2876 //
2877 // OpenSim functions 2877 // OpenSim functions
2878 // 2878 //
2879 public int osTerrainSetHeight(int x, int y, double val)
2880 {
2881 World.Terrain.Set(x, y, val);
2882 return 1;
2883 }
2884
2885 public double osTerrainGetHeight(int x, int y)
2886 {
2887 return World.Terrain.GetHeight(x, y);
2888 }
2889
2879 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, 2890 public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
2880 int timer) 2891 int timer)
2881 { 2892 {