aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
diff options
context:
space:
mode:
authorTedd Hansen2007-08-12 17:37:37 +0000
committerTedd Hansen2007-08-12 17:37:37 +0000
commitfd63c0cd32739f99af0c93ee3115212bb695f063 (patch)
tree5c95d50a2559fcab8815694999b03e12c67d402c /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
parentScript now compiles unsuccessfully (diff)
downloadopensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.zip
opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.gz
opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.bz2
opensim-SC_OLD-fd63c0cd32739f99af0c93ee3115212bb695f063.tar.xz
Code comments and cleanup, correct datatypes for key, vector, rotation, (hopefully) reference to Axiom during compile, passing of BuiltIns during script load, BuiltIn interface added, etc etc
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs (renamed from OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs)56
1 files changed, 28 insertions, 28 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
index 8a5d4b6..d484a05 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSO/Server_API/LSL_BuiltIn_Commands_Interface.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
@@ -30,7 +30,7 @@ using System;
30using System.Collections.Generic; 30using System.Collections.Generic;
31using System.Text; 31using System.Text;
32 32
33namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSO 33namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
34{ 34{
35 public interface LSL_BuiltIn_Commands_Interface 35 public interface LSL_BuiltIn_Commands_Interface
36 { 36 {
@@ -46,54 +46,54 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSO
46 UInt32 llFloor(float f); 46 UInt32 llFloor(float f);
47 UInt32 llCeil(float f); 47 UInt32 llCeil(float f);
48 UInt32 llRound(float f); 48 UInt32 llRound(float f);
49 float llVecMag(LSO_Enums.Vector v); 49 float llVecMag(Axiom.Math.Vector3 v);
50 LSO_Enums.Vector llVecNorm(LSO_Enums.Vector v); 50 Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v);
51 float llVecDist(LSO_Enums.Vector a, LSO_Enums.Vector b); 51 float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b);
52 LSO_Enums.Vector llRot2Euler(LSO_Enums.Rotation r); 52 Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r);
53 LSO_Enums.Rotation llEuler2Rot(LSO_Enums.Vector v); 53 Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v);
54 LSO_Enums.Rotation llAxes2Rot(LSO_Enums.Vector fwd, LSO_Enums.Vector left, LSO_Enums.Vector up); 54 Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up);
55 LSO_Enums.Vector llRot2Fwd(LSO_Enums.Rotation r); 55 Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r);
56 LSO_Enums.Vector llRot2Left(LSO_Enums.Rotation r); 56 Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r);
57 LSO_Enums.Vector llRot2Up(LSO_Enums.Rotation r); 57 Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r);
58 LSO_Enums.Rotation llRotBetween(LSO_Enums.Vector start, LSO_Enums.Vector end); 58 Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end);
59 void llWhisper(UInt16 channelID, string text); 59 void llWhisper(UInt16 channelID, string text);
60 //void llSay(UInt32 channelID, string text); 60 //void llSay(UInt32 channelID, string text);
61 void llSay(object channelID, object text); 61 void llSay(object channelID, object text);
62 void llShout(UInt16 channelID, string text); 62 void llShout(UInt16 channelID, string text);
63 UInt32 llListen(UInt16 channelID, string name, LSO_Enums.Key ID, string msg); 63 UInt32 llListen(UInt16 channelID, string name, string ID, string msg);
64 void llListenControl(UInt32 number, UInt32 active); 64 void llListenControl(UInt32 number, UInt32 active);
65 void llListenRemove(UInt32 number); 65 void llListenRemove(UInt32 number);
66 void llSensor(string name, LSO_Enums.Key id, UInt32 type, float range, float arc); 66 void llSensor(string name, string id, UInt32 type, float range, float arc);
67 void llSensorRepeat(string name, LSO_Enums.Key id, UInt32 type, float range, float arc, float rate); 67 void llSensorRepeat(string name, string id, UInt32 type, float range, float arc, float rate);
68 void llSensorRemove(); 68 void llSensorRemove();
69 string llDetectedName(UInt32 number); 69 string llDetectedName(UInt32 number);
70 LSO_Enums.Key llDetectedKey(UInt32 number); 70 string llDetectedKey(UInt32 number);
71 LSO_Enums.Key llDetectedOwner(UInt32 number); 71 string llDetectedOwner(UInt32 number);
72 UInt32 llDetectedType(UInt32 number); 72 UInt32 llDetectedType(UInt32 number);
73 LSO_Enums.Vector llDetectedPos(UInt32 number); 73 Axiom.Math.Vector3 llDetectedPos(UInt32 number);
74 LSO_Enums.Vector llDetectedVel(UInt32 number); 74 Axiom.Math.Vector3 llDetectedVel(UInt32 number);
75 LSO_Enums.Vector llDetectedGrab(UInt32 number); 75 Axiom.Math.Vector3 llDetectedGrab(UInt32 number);
76 LSO_Enums.Rotation llDetectedRot(UInt32 number); 76 Axiom.Math.Quaternion llDetectedRot(UInt32 number);
77 UInt32 llDetectedGroup(UInt32 number); 77 UInt32 llDetectedGroup(UInt32 number);
78 UInt32 llDetectedLinkNumber(UInt32 number); 78 UInt32 llDetectedLinkNumber(UInt32 number);
79 void llDie(); 79 void llDie();
80 float llGround(LSO_Enums.Vector offset); 80 float llGround(Axiom.Math.Vector3 offset);
81 float llCloud(LSO_Enums.Vector offset); 81 float llCloud(Axiom.Math.Vector3 offset);
82 LSO_Enums.Vector llWind(LSO_Enums.Vector offset); 82 Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset);
83 void llSetStatus(UInt32 status, UInt32 value); 83 void llSetStatus(UInt32 status, UInt32 value);
84 UInt32 llGetStatus(UInt32 status); 84 UInt32 llGetStatus(UInt32 status);
85 void llSetScale(LSO_Enums.Vector scale); 85 void llSetScale(Axiom.Math.Vector3 scale);
86 LSO_Enums.Vector llGetScale(); 86 Axiom.Math.Vector3 llGetScale();
87 void llSetColor(LSO_Enums.Vector color, UInt32 face); 87 void llSetColor(Axiom.Math.Vector3 color, UInt32 face);
88 float llGetAlpha(UInt32 face); 88 float llGetAlpha(UInt32 face);
89 void llSetAlpha(float alpha, UInt32 face); 89 void llSetAlpha(float alpha, UInt32 face);
90 LSO_Enums.Vector llGetColor(UInt32 face); 90 Axiom.Math.Vector3 llGetColor(UInt32 face);
91 void llSetTexture(string texture, UInt32 face); 91 void llSetTexture(string texture, UInt32 face);
92 void llScaleTexture(float u, float v, UInt32 face); 92 void llScaleTexture(float u, float v, UInt32 face);
93 void llOffsetTexture(float u, float v, UInt32 face); 93 void llOffsetTexture(float u, float v, UInt32 face);
94 void llRotateTexture(float rotation, UInt32 face); 94 void llRotateTexture(float rotation, UInt32 face);
95 string llGetTexture(UInt32 face); 95 string llGetTexture(UInt32 face);
96 void llSetPos(LSO_Enums.Vector pos); 96 void llSetPos(Axiom.Math.Vector3 pos);
97 97
98 void llGetPos(); 98 void llGetPos();
99 void llGetLocalPos(); 99 void llGetLocalPos();