aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands_Interface.cs
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-26 02:51:00 +0000
committerMelanie Thielker2008-09-26 02:51:00 +0000
commitc21a8b99694e459408a9ccc43e525928038b2b22 (patch)
tree21190b513065cc7b1f3442d2cf2ed9ce1d2077f4 /OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands_Interface.cs
parentMantis#2265. Thank you kindly, Idb for a patch that: (diff)
downloadopensim-SC_OLD-c21a8b99694e459408a9ccc43e525928038b2b22.zip
opensim-SC_OLD-c21a8b99694e459408a9ccc43e525928038b2b22.tar.gz
opensim-SC_OLD-c21a8b99694e459408a9ccc43e525928038b2b22.tar.bz2
opensim-SC_OLD-c21a8b99694e459408a9ccc43e525928038b2b22.tar.xz
Full API convergence. Api is back in LSL_Api.cs and OSSL_Api.cs.
The binaries are still different, but that is only a small step away now. The OSSLPrim has been removed. This commit will breal all scripts using Prim.Scale(), etc, syntax. It was not secure and will have to be brought back in another form.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands_Interface.cs78
1 files changed, 0 insertions, 78 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands_Interface.cs
deleted file mode 100644
index 49f92b5..0000000
--- a/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands_Interface.cs
+++ /dev/null
@@ -1,78 +0,0 @@
1/*
2 * Copyright (c) Contributors, http://opensimulator.org/
3 * See CONTRIBUTORS.TXT for a full list of copyright holders.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 * * Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer.
9 * * Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the
11 * documentation and/or other materials provided with the distribution.
12 * * Neither the name of the OpenSim Project nor the
13 * names of its contributors may be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY
17 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
18 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
19 * DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE FOR ANY
20 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
21 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
22 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
23 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */
27using OpenSim.Region.ScriptEngine.Shared;
28
29namespace OpenSim.Region.ScriptEngine.Common
30{
31 public interface OSSL_BuilIn_Commands_Interface
32 {
33 //OpenSim functions
34 string osSetDynamicTextureURL(string dynamicID, string contentType, string url, string extraParams, int timer);
35 string osSetDynamicTextureURLBlend(string dynamicID, string contentType, string url, string extraParams,
36 int timer, int alpha);
37 string osSetDynamicTextureData(string dynamicID, string contentType, string data, string extraParams, int timer);
38 string osSetDynamicTextureDataBlend(string dynamicID, string contentType, string data, string extraParams,
39 int timer, int alpha);
40 double osTerrainGetHeight(int x, int y);
41 int osTerrainSetHeight(int x, int y, double val);
42 int osRegionRestart(double seconds);
43 void osRegionNotice(string msg);
44 bool osConsoleCommand(string Command);
45 void osSetParcelMediaURL(string url);
46 void osSetPrimFloatOnWater(int floatYN);
47
48 // Teleport commands
49 void osTeleportAgent(string agent, string regionName, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat);
50 void osTeleportAgent(string agent, LSL_Types.Vector3 position, LSL_Types.Vector3 lookat);
51
52 // Animation commands
53 void osAvatarPlayAnimation(string avatar, string animation);
54 void osAvatarStopAnimation(string avatar, string animation);
55
56 //texture draw functions
57 string osMovePen(string drawList, int x, int y);
58 string osDrawLine(string drawList, int startX, int startY, int endX, int endY);
59 string osDrawLine(string drawList, int endX, int endY);
60 string osDrawText(string drawList, string text);
61 string osDrawEllipse(string drawList, int width, int height);
62 string osDrawRectangle(string drawList, int width, int height);
63 string osDrawFilledRectangle(string drawList, int width, int height);
64 string osSetFontSize(string drawList, int fontSize);
65 string osSetPenSize(string drawList, int penSize);
66 string osSetPenColour(string drawList, string colour);
67 string osDrawImage(string drawList, int width, int height, string imageUrl);
68 void osSetStateEvents(int events);
69
70 void osOpenRemoteDataChannel(string channel);
71
72 System.Collections.Hashtable osParseJSON(string JSON);
73
74 string osGetScriptEngineName();
75 void osSetParcelMediaTime(double time);
76
77 }
78}