diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
3 files changed, 15 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index e51a078..37f8970 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1191,6 +1191,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1191 | return drawList; | 1191 | return drawList; |
1192 | } | 1192 | } |
1193 | 1193 | ||
1194 | public string osDrawFilledEllipse(string drawList, int width, int height) | ||
1195 | { | ||
1196 | CheckThreatLevel(ThreatLevel.None, "osDrawFilledEllipse"); | ||
1197 | |||
1198 | m_host.AddScriptLPS(1); | ||
1199 | drawList += "FillEllipse " + width + "," + height + "; "; | ||
1200 | return drawList; | ||
1201 | } | ||
1202 | |||
1194 | public string osDrawRectangle(string drawList, int width, int height) | 1203 | public string osDrawRectangle(string drawList, int width, int height) |
1195 | { | 1204 | { |
1196 | CheckThreatLevel(ThreatLevel.None, "osDrawRectangle"); | 1205 | CheckThreatLevel(ThreatLevel.None, "osDrawRectangle"); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index bd5d008..da3d6de 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -222,6 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
222 | string osDrawLine(string drawList, int endX, int endY); | 222 | string osDrawLine(string drawList, int endX, int endY); |
223 | string osDrawText(string drawList, string text); | 223 | string osDrawText(string drawList, string text); |
224 | string osDrawEllipse(string drawList, int width, int height); | 224 | string osDrawEllipse(string drawList, int width, int height); |
225 | string osDrawFilledEllipse(string drawList, int width, int height); | ||
225 | string osDrawRectangle(string drawList, int width, int height); | 226 | string osDrawRectangle(string drawList, int width, int height); |
226 | string osDrawFilledRectangle(string drawList, int width, int height); | 227 | string osDrawFilledRectangle(string drawList, int width, int height); |
227 | string osDrawPolygon(string drawList, LSL_List x, LSL_List y); | 228 | string osDrawPolygon(string drawList, LSL_List x, LSL_List y); |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs index 9eac114..1451efc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/OSSL_Stub.cs | |||
@@ -355,6 +355,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
355 | return m_OSSL_Functions.osDrawEllipse(drawList, width, height); | 355 | return m_OSSL_Functions.osDrawEllipse(drawList, width, height); |
356 | } | 356 | } |
357 | 357 | ||
358 | public string osDrawFilledEllipse(string drawList, int width, int height) | ||
359 | { | ||
360 | return m_OSSL_Functions.osDrawFilledEllipse(drawList, width, height); | ||
361 | } | ||
362 | |||
358 | public string osDrawRectangle(string drawList, int width, int height) | 363 | public string osDrawRectangle(string drawList, int width, int height) |
359 | { | 364 | { |
360 | return m_OSSL_Functions.osDrawRectangle(drawList, width, height); | 365 | return m_OSSL_Functions.osDrawRectangle(drawList, width, height); |