diff options
Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to LSL_BaseClass to allow them to be called in LSL scripts.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 15 |
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; |