aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine
diff options
context:
space:
mode:
authoralondria2008-01-12 03:23:11 +0000
committeralondria2008-01-12 03:23:11 +0000
commitc2ca98519b4c43b1a4f98f12621ea241053ac05f (patch)
tree08c95665c7a11dde29142daf352056398d675d6f /OpenSim/Region/ScriptEngine/DotNetEngine
parent* For your enjoyment, some RAdmin improvements, namely a new LoadHeightmap me... (diff)
downloadopensim-SC_OLD-c2ca98519b4c43b1a4f98f12621ea241053ac05f.zip
opensim-SC_OLD-c2ca98519b4c43b1a4f98f12621ea241053ac05f.tar.gz
opensim-SC_OLD-c2ca98519b4c43b1a4f98f12621ea241053ac05f.tar.bz2
opensim-SC_OLD-c2ca98519b4c43b1a4f98f12621ea241053ac05f.tar.xz
Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to LSL_BaseClass to allow them to be called in LSL scripts.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
index b86552b..7c1d66e 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
@@ -1819,6 +1819,21 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
1819 return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer); 1819 return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer);
1820 } 1820 }
1821 1821
1822 public double osTerrainGetHeight(int x, int y)
1823 {
1824 return m_LSL_Functions.osTerrainGetHeight(x, y);
1825 }
1826
1827 public int osTerrainSetHeight(int x, int y, double val)
1828 {
1829 return m_LSL_Functions.osTerrainSetHeight(x, y, val);
1830 }
1831
1832 public int osRegionRestart(double seconds)
1833 {
1834 return m_LSL_Functions.osRegionRestart(seconds);
1835 }
1836
1822 // LSL CONSTANTS 1837 // LSL CONSTANTS
1823 public const int TRUE = 1; 1838 public const int TRUE = 1;
1824 public const int FALSE = 0; 1839 public const int FALSE = 0;