diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
3 files changed, 0 insertions, 27 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2e528f3..e9a3d0b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1812,26 +1812,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1812 | } | 1812 | } |
1813 | } | 1813 | } |
1814 | 1814 | ||
1815 | public double osList2Double(LSL_Types.list src, int index) | ||
1816 | { | ||
1817 | // There is really no double type in OSSL. C# and other | ||
1818 | // have one, but the current implementation of LSL_Types.list | ||
1819 | // is not allowed to contain any. | ||
1820 | // This really should be removed. | ||
1821 | // | ||
1822 | CheckThreatLevel(); | ||
1823 | |||
1824 | if (index < 0) | ||
1825 | { | ||
1826 | index = src.Length + index; | ||
1827 | } | ||
1828 | if (index >= src.Length) | ||
1829 | { | ||
1830 | return 0.0; | ||
1831 | } | ||
1832 | return Convert.ToDouble(src.Data[index]); | ||
1833 | } | ||
1834 | |||
1835 | public void osSetParcelMediaURL(string url) | 1815 | public void osSetParcelMediaURL(string url) |
1836 | { | 1816 | { |
1837 | // What actually is the difference to the LL function? | 1817 | // What actually is the difference to the LL function? |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index fc7b237..2487a21 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -244,8 +244,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
244 | vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize); | 244 | vector osGetDrawStringSize(string contentType, string text, string fontName, int fontSize); |
245 | void osSetStateEvents(int events); | 245 | void osSetStateEvents(int events); |
246 | 246 | ||
247 | double osList2Double(LSL_Types.list src, int index); | ||
248 | |||
249 | void osSetRegionWaterHeight(double height); | 247 | void osSetRegionWaterHeight(double height); |
250 | void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour); | 248 | void osSetRegionSunSettings(bool useEstateSun, bool sunFixed, double sunHour); |
251 | void osSetEstateSunSettings(bool sunFixed, double sunHour); | 249 | void osSetEstateSunSettings(bool sunFixed, double sunHour); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index b7a02d6..bc5aa5c 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -136,11 +136,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
136 | m_OSSL_Functions.osParcelSetDetails(pos,rules); | 136 | m_OSSL_Functions.osParcelSetDetails(pos,rules); |
137 | } | 137 | } |
138 | 138 | ||
139 | public double osList2Double(LSL_Types.list src, int index) | ||
140 | { | ||
141 | return m_OSSL_Functions.osList2Double(src, index); | ||
142 | } | ||
143 | |||
144 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, | 139 | public string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, |
145 | int timer) | 140 | int timer) |
146 | { | 141 | { |