mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 05:45:37 +08:00
Linking osTerrainGetHeight, osTerrainSetHeight, and osRegionRestart to LSL_BaseClass to allow them to be called in LSL scripts.
This commit is contained in:
@@ -1819,6 +1819,21 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||
return m_LSL_Functions.osSetDynamicTextureURL(dynamicID, contentType, url, extraParams, timer);
|
||||
}
|
||||
|
||||
public double osTerrainGetHeight(int x, int y)
|
||||
{
|
||||
return m_LSL_Functions.osTerrainGetHeight(x, y);
|
||||
}
|
||||
|
||||
public int osTerrainSetHeight(int x, int y, double val)
|
||||
{
|
||||
return m_LSL_Functions.osTerrainSetHeight(x, y, val);
|
||||
}
|
||||
|
||||
public int osRegionRestart(double seconds)
|
||||
{
|
||||
return m_LSL_Functions.osRegionRestart(seconds);
|
||||
}
|
||||
|
||||
// LSL CONSTANTS
|
||||
public const int TRUE = 1;
|
||||
public const int FALSE = 0;
|
||||
|
||||
Reference in New Issue
Block a user