From c6da0fda58ec2c0ff200cb0167c0cbcc76a8985e Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 20 Mar 2009 22:42:21 +0000 Subject: Thank you, mcortez, for patch to add functionality to the sun module. Fixes Mantis #3313 --- .../ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime') 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 m_OSSL_Functions.osSetRegionSunSettings(useEstateSun, sunFixed, sunHour); } + public void osSetEstateSunSettings(bool sunFixed, double sunHour) + { + m_OSSL_Functions.osSetEstateSunSettings(sunFixed, sunHour); + } + + public double osGetCurrentSunHour() + { + return m_OSSL_Functions.osGetCurrentSunHour(); + } + + public double osSunGetParam(string param) + { + return m_OSSL_Functions.osSunGetParam(param); + } + + public void osSunSetParam(string param, double value) + { + m_OSSL_Functions.osSunSetParam(param, value); + } + + public double osList2Double(LSL_Types.list src, int index) { return m_OSSL_Functions.osList2Double(src, index); -- cgit v1.1