aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
diff options
context:
space:
mode:
authorMelanie Thielker2009-03-20 22:42:21 +0000
committerMelanie Thielker2009-03-20 22:42:21 +0000
commitc6da0fda58ec2c0ff200cb0167c0cbcc76a8985e (patch)
treeedc6448e13492d2691aba97ae8d6f9561c1a3da4 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
parent* Ignored some gens (diff)
downloadopensim-SC-c6da0fda58ec2c0ff200cb0167c0cbcc76a8985e.zip
opensim-SC-c6da0fda58ec2c0ff200cb0167c0cbcc76a8985e.tar.gz
opensim-SC-c6da0fda58ec2c0ff200cb0167c0cbcc76a8985e.tar.bz2
opensim-SC-c6da0fda58ec2c0ff200cb0167c0cbcc76a8985e.tar.xz
Thank you, mcortez, for patch to add functionality to the sun module.
Fixes Mantis #3313
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
index d316ac9..a50b6f2 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs
@@ -67,6 +67,27 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
67 m_OSSL_Functions.osSetRegionSunSettings(useEstateSun, sunFixed, sunHour); 67 m_OSSL_Functions.osSetRegionSunSettings(useEstateSun, sunFixed, sunHour);
68 } 68 }
69 69
70 public void osSetEstateSunSettings(bool sunFixed, double sunHour)
71 {
72 m_OSSL_Functions.osSetEstateSunSettings(sunFixed, sunHour);
73 }
74
75 public double osGetCurrentSunHour()
76 {
77 return m_OSSL_Functions.osGetCurrentSunHour();
78 }
79
80 public double osSunGetParam(string param)
81 {
82 return m_OSSL_Functions.osSunGetParam(param);
83 }
84
85 public void osSunSetParam(string param, double value)
86 {
87 m_OSSL_Functions.osSunSetParam(param, value);
88 }
89
90
70 public double osList2Double(LSL_Types.list src, int index) 91 public double osList2Double(LSL_Types.list src, int index)
71 { 92 {
72 return m_OSSL_Functions.osList2Double(src, index); 93 return m_OSSL_Functions.osList2Double(src, index);