diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | 40 |
1 files changed, 35 insertions, 5 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index f3142e6..e3ea556 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -81,11 +81,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
81 | return m_OSSL_Functions.osGetCurrentSunHour(); | 81 | return m_OSSL_Functions.osGetCurrentSunHour(); |
82 | } | 82 | } |
83 | 83 | ||
84 | public double osGetSunParam(string param) | ||
85 | { | ||
86 | return m_OSSL_Functions.osGetSunParam(param); | ||
87 | } | ||
88 | // Deprecated | ||
84 | public double osSunGetParam(string param) | 89 | public double osSunGetParam(string param) |
85 | { | 90 | { |
86 | return m_OSSL_Functions.osSunGetParam(param); | 91 | return m_OSSL_Functions.osSunGetParam(param); |
87 | } | 92 | } |
88 | 93 | ||
94 | public void osSetSunParam(string param, double value) | ||
95 | { | ||
96 | m_OSSL_Functions.osSetSunParam(param, value); | ||
97 | } | ||
98 | // Deprecated | ||
89 | public void osSunSetParam(string param, double value) | 99 | public void osSunSetParam(string param, double value) |
90 | { | 100 | { |
91 | m_OSSL_Functions.osSunSetParam(param, value); | 101 | m_OSSL_Functions.osSunSetParam(param, value); |
@@ -97,14 +107,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
97 | } | 107 | } |
98 | 108 | ||
99 | // Not yet plugged in as available OSSL functions, so commented out | 109 | // Not yet plugged in as available OSSL functions, so commented out |
100 | // void osWindParamSet(string plugin, string param, float value) | 110 | // void osSetWindParam(string plugin, string param, float value) |
101 | // { | 111 | // { |
102 | // m_OSSL_Functions.osWindParamSet(plugin, param, value); | 112 | // m_OSSL_Functions.osSetWindParam(plugin, param, value); |
103 | // } | 113 | // } |
104 | // | 114 | // |
105 | // float osWindParamGet(string plugin, string param) | 115 | // float osGetWindParam(string plugin, string param) |
106 | // { | 116 | // { |
107 | // return m_OSSL_Functions.osWindParamGet(plugin, param); | 117 | // return m_OSSL_Functions.osGetWindParam(plugin, param); |
108 | // } | 118 | // } |
109 | 119 | ||
110 | public void osParcelJoin(vector pos1, vector pos2) | 120 | public void osParcelJoin(vector pos1, vector pos2) |
@@ -116,7 +126,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
116 | { | 126 | { |
117 | m_OSSL_Functions.osParcelSubdivide(pos1, pos2); | 127 | m_OSSL_Functions.osParcelSubdivide(pos1, pos2); |
118 | } | 128 | } |
119 | 129 | ||
130 | public void osSetParcelDetails(vector pos, LSL_List rules) | ||
131 | { | ||
132 | m_OSSL_Functions.osSetParcelDetails(pos, rules); | ||
133 | } | ||
134 | // Deprecated | ||
120 | public void osParcelSetDetails(vector pos, LSL_List rules) | 135 | public void osParcelSetDetails(vector pos, LSL_List rules) |
121 | { | 136 | { |
122 | m_OSSL_Functions.osParcelSetDetails(pos,rules); | 137 | m_OSSL_Functions.osParcelSetDetails(pos,rules); |
@@ -165,11 +180,21 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
165 | blend, disp, timer, alpha, face); | 180 | blend, disp, timer, alpha, face); |
166 | } | 181 | } |
167 | 182 | ||
183 | public LSL_Float osGetTerrainHeight(int x, int y) | ||
184 | { | ||
185 | return m_OSSL_Functions.osGetTerrainHeight(x, y); | ||
186 | } | ||
187 | // Deprecated | ||
168 | public LSL_Float osTerrainGetHeight(int x, int y) | 188 | public LSL_Float osTerrainGetHeight(int x, int y) |
169 | { | 189 | { |
170 | return m_OSSL_Functions.osTerrainGetHeight(x, y); | 190 | return m_OSSL_Functions.osTerrainGetHeight(x, y); |
171 | } | 191 | } |
172 | 192 | ||
193 | public LSL_Integer osSetTerrainHeight(int x, int y, double val) | ||
194 | { | ||
195 | return m_OSSL_Functions.osSetTerrainHeight(x, y, val); | ||
196 | } | ||
197 | // Deprecated | ||
173 | public LSL_Integer osTerrainSetHeight(int x, int y, double val) | 198 | public LSL_Integer osTerrainSetHeight(int x, int y, double val) |
174 | { | 199 | { |
175 | return m_OSSL_Functions.osTerrainSetHeight(x, y, val); | 200 | return m_OSSL_Functions.osTerrainSetHeight(x, y, val); |
@@ -333,6 +358,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
333 | return m_OSSL_Functions.osSetPenCap(drawList, direction, type); | 358 | return m_OSSL_Functions.osSetPenCap(drawList, direction, type); |
334 | } | 359 | } |
335 | 360 | ||
361 | public string osSetPenColor(string drawList, string color) | ||
362 | { | ||
363 | return m_OSSL_Functions.osSetPenColor(drawList, color); | ||
364 | } | ||
365 | // Deprecated | ||
336 | public string osSetPenColour(string drawList, string colour) | 366 | public string osSetPenColour(string drawList, string colour) |
337 | { | 367 | { |
338 | return m_OSSL_Functions.osSetPenColour(drawList, colour); | 368 | return m_OSSL_Functions.osSetPenColour(drawList, colour); |