aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api
diff options
context:
space:
mode:
authorUbitUmarov2018-11-18 19:40:51 +0000
committerUbitUmarov2018-11-18 19:40:51 +0000
commitba87ba9c473ecde05bdedd8d14d02aaa3675696b (patch)
tree232f68ce2fa5ddc59a12df9b66585ec11e3d13a2 /OpenSim/Region/ScriptEngine/Shared/Api
parenttypos (diff)
downloadopensim-SC-ba87ba9c473ecde05bdedd8d14d02aaa3675696b.zip
opensim-SC-ba87ba9c473ecde05bdedd8d14d02aaa3675696b.tar.gz
opensim-SC-ba87ba9c473ecde05bdedd8d14d02aaa3675696b.tar.bz2
opensim-SC-ba87ba9c473ecde05bdedd8d14d02aaa3675696b.tar.xz
remove odd ossl function
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs20
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs5
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 {