diff options
author | Charles Krinke | 2009-03-31 02:33:19 +0000 |
---|---|---|
committer | Charles Krinke | 2009-03-31 02:33:19 +0000 |
commit | 54a27f9f5c556e518c2ba18b9a5494d517dfd041 (patch) | |
tree | 5da9db44878c217e0c1872da0f963d88575ef8ff /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | Update svn properties, add copyright header, formatting cleanup. (diff) | |
download | opensim-SC_OLD-54a27f9f5c556e518c2ba18b9a5494d517dfd041.zip opensim-SC_OLD-54a27f9f5c556e518c2ba18b9a5494d517dfd041.tar.gz opensim-SC_OLD-54a27f9f5c556e518c2ba18b9a5494d517dfd041.tar.bz2 opensim-SC_OLD-54a27f9f5c556e518c2ba18b9a5494d517dfd041.tar.xz |
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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 16 |
1 files changed, 16 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 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 | |||
87 | m_OSSL_Functions.osSunSetParam(param, value); | 87 | m_OSSL_Functions.osSunSetParam(param, value); |
88 | } | 88 | } |
89 | 89 | ||
90 | public string osWindActiveModelPluginName() | ||
91 | { | ||
92 | return m_OSSL_Functions.osWindActiveModelPluginName(); | ||
93 | } | ||
94 | |||
95 | void osWindParamSet(string plugin, string param, float value) | ||
96 | { | ||
97 | m_OSSL_Functions.osWindParamSet(plugin, param, value); | ||
98 | } | ||
99 | |||
100 | float osWindParamGet(string plugin, string param) | ||
101 | { | ||
102 | return m_OSSL_Functions.osWindParamGet(plugin, param); | ||
103 | } | ||
104 | |||
105 | |||
90 | 106 | ||
91 | public double osList2Double(LSL_Types.list src, int index) | 107 | public double osList2Double(LSL_Types.list src, int index) |
92 | { | 108 | { |