remove odd ossl function
parent
9be4663d3c
commit
ba87ba9c47
|
@ -1812,26 +1812,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public double osList2Double(LSL_Types.list src, int index)
|
|
||||||
{
|
|
||||||
// There is really no double type in OSSL. C# and other
|
|
||||||
// have one, but the current implementation of LSL_Types.list
|
|
||||||
// is not allowed to contain any.
|
|
||||||
// This really should be removed.
|
|
||||||
//
|
|
||||||
CheckThreatLevel();
|
|
||||||
|
|
||||||
if (index < 0)
|
|
||||||
{
|
|
||||||
index = src.Length + index;
|
|
||||||
}
|
|
||||||
if (index >= src.Length)
|
|
||||||
{
|
|
||||||
return 0.0;
|
|
||||||
}
|
|
||||||
return Convert.ToDouble(src.Data[index]);
|
|
||||||
}
|
|
||||||
|
|
||||||
public void osSetParcelMediaURL(string url)
|
public void osSetParcelMediaURL(string url)
|
||||||
{
|
{
|
||||||
// What actually is the difference to the LL function?
|
// What actually is the difference to the LL function?
|
||||||
|
|
|
@ -244,8 +244,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
||||||
vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize);
|
vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize);
|
||||||
void osSetStateEvents(int events);
|
void osSetStateEvents(int events);
|
||||||
|
|
||||||
double osList2Double(LSL_Types.list src, int index);
|
|
||||||
|
|
||||||
void osSetRegionWaterHeight(double height);
|
void osSetRegionWaterHeight(double height);
|
||||||
void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
|
void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour);
|
||||||
void osSetEstateSunSettings(bool sunFixed, double sunHour);
|
void osSetEstateSunSettings(bool sunFixed, double sunHour);
|
||||||
|
|
|
@ -136,11 +136,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
|
||||||
m_OSSL_Functions.osParcelSetDetails(pos,rules);
|
m_OSSL_Functions.osParcelSetDetails(pos,rules);
|
||||||
}
|
}
|
||||||
|
|
||||||
public double osList2Double(LSL_Types.list src, int index)
|
|
||||||
{
|
|
||||||
return m_OSSL_Functions.osList2Double(src, index);
|
|
||||||
}
|
|
||||||
|
|
||||||
public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
|
public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams,
|
||||||
int timer)
|
int timer)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue