From 54a27f9f5c556e518c2ba18b9a5494d517dfd041 Mon Sep 17 00:00:00 2001 From: Charles Krinke Date: Tue, 31 Mar 2009 02:33:19 +0000 Subject: Thank you kindly, MCortez for a patch that: With some support from HomerH, this patch adds support for Wind Model plugins via the mono.Addin framework. * Adds console & OSSL access to Wind Parameters * Adds plug-in support for custom wind models * Provides two example Wind Model plug-ins Documentation for the wind module is temporarily located at http://code.google.com/p/flotsam/wiki/CoreWindModule [^] -- will move this documentation to http://opensimulator.org [^] after the patch has been committed. --- .../Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index fa45836..54ae32a 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs @@ -87,6 +87,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase m_OSSL_Functions.osSunSetParam(param, value); } + public string osWindActiveModelPluginName() + { + return m_OSSL_Functions.osWindActiveModelPluginName(); + } + + void osWindParamSet(string plugin, string param, float value) + { + m_OSSL_Functions.osWindParamSet(plugin, param, value); + } + + float osWindParamGet(string plugin, string param) + { + return m_OSSL_Functions.osWindParamGet(plugin, param); + } + + public double osList2Double(LSL_Types.list src, int index) { -- cgit v1.1