diff options
author | Tedd Hansen | 2007-08-18 20:53:13 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-18 20:53:13 +0000 |
commit | 551f2af39f2bc003bef9ba388ccb4a6d87f2f36b (patch) | |
tree | 6338597d88a959f5d9391439fb2bb4978b897df5 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL | |
parent | Working on AppDomains. Scripting is now officially broken. :] (diff) | |
download | opensim-SC_OLD-551f2af39f2bc003bef9ba388ccb4a6d87f2f36b.zip opensim-SC_OLD-551f2af39f2bc003bef9ba388ccb4a6d87f2f36b.tar.gz opensim-SC_OLD-551f2af39f2bc003bef9ba388ccb4a6d87f2f36b.tar.bz2 opensim-SC_OLD-551f2af39f2bc003bef9ba388ccb4a6d87f2f36b.tar.xz |
LSL Compiler now only referring required assemblies (DotNetEngine and Common). Changed Vector and Rotation to custom types (stored in Common) that needs to be changed later. No longer using Axiom. Script support still broken.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL')
3 files changed, 108 insertions, 98 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 4c2ceb0..c29b9f4 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -8,6 +8,7 @@ using System.Reflection; | |||
8 | 8 | ||
9 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | 9 | namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL |
10 | { | 10 | { |
11 | |||
11 | public class Compiler | 12 | public class Compiler |
12 | { | 13 | { |
13 | private LSL2CSConverter LSL_Converter = new LSL2CSConverter(); | 14 | private LSL2CSConverter LSL_Converter = new LSL2CSConverter(); |
@@ -52,13 +53,17 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
52 | System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); | 53 | System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); |
53 | parameters.IncludeDebugInformation = true; | 54 | parameters.IncludeDebugInformation = true; |
54 | // Add all available assemblies | 55 | // Add all available assemblies |
55 | //foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) | 56 | foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) |
56 | //{ | 57 | { |
57 | // Console.WriteLine("Adding assembly: " + asm.Location); | 58 | //Console.WriteLine("Adding assembly: " + asm.Location); |
58 | // parameters.ReferencedAssemblies.Add(asm.Location); | 59 | //parameters.ReferencedAssemblies.Add(asm.Location); |
59 | //} | 60 | } |
60 | 61 | ||
61 | parameters.ReferencedAssemblies.Add(this.GetType().Assembly.CodeBase); | 62 | string rootPath = Path.GetDirectoryName(this.GetType().Assembly.Location); |
63 | Console.WriteLine("Assembly location: " + rootPath); | ||
64 | parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Common.dll")); | ||
65 | parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.DotNetEngine.dll")); | ||
66 | |||
62 | //parameters.ReferencedAssemblies.Add("OpenSim.Region.Environment"); | 67 | //parameters.ReferencedAssemblies.Add("OpenSim.Region.Environment"); |
63 | parameters.GenerateExecutable = false; | 68 | parameters.GenerateExecutable = false; |
64 | parameters.OutputAssembly = OutFile; | 69 | parameters.OutputAssembly = OutFile; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index 81f8e2d..f41cd59 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -18,8 +18,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
18 | DataTypes.Add("float", "double"); | 18 | DataTypes.Add("float", "double"); |
19 | DataTypes.Add("string", "string"); | 19 | DataTypes.Add("string", "string"); |
20 | DataTypes.Add("key", "string"); | 20 | DataTypes.Add("key", "string"); |
21 | DataTypes.Add("vector", "Axiom.Math.Vector3"); | 21 | DataTypes.Add("vector", "LSL_Types.Vector3"); |
22 | DataTypes.Add("rotation", "Axiom.Math.Quaternion"); | 22 | DataTypes.Add("rotation", "LSL_Types.Quaternion"); |
23 | DataTypes.Add("list", "list"); | 23 | DataTypes.Add("list", "list"); |
24 | DataTypes.Add("null", "null"); | 24 | DataTypes.Add("null", "null"); |
25 | } | 25 | } |
@@ -205,8 +205,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
205 | Script = Regex.Replace(Script, @"^(\s*)((?!(if|switch|for)[^a-zA-Z0-9_])[a-zA-Z0-9_]*\s*\([^\)]*\)[^;]*\{)", @"$1void $2", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); | 205 | Script = Regex.Replace(Script, @"^(\s*)((?!(if|switch|for)[^a-zA-Z0-9_])[a-zA-Z0-9_]*\s*\([^\)]*\)[^;]*\{)", @"$1void $2", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); |
206 | 206 | ||
207 | // Replace <x,y,z> and <x,y,z,r> | 207 | // Replace <x,y,z> and <x,y,z,r> |
208 | Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*,[^,>]*)>", @"new Axiom.Math.Quaternion($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); | 208 | Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*,[^,>]*)>", @"new LSL_Types.Quaternion($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); |
209 | Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*)>", @"new Axiom.Math.Vector3($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); | 209 | Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*)>", @"new LSL_Types.Vector3($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); |
210 | 210 | ||
211 | // Replace List []'s | 211 | // Replace List []'s |
212 | Script = Regex.Replace(Script, @"\[([^\]]*)\]", @"List.Parse($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); | 212 | Script = Regex.Replace(Script, @"\[([^\]]*)\]", @"List.Parse($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); |
@@ -227,7 +227,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
227 | 227 | ||
228 | 228 | ||
229 | // Add namespace, class name and inheritance | 229 | // Add namespace, class name and inheritance |
230 | Return = "namespace SecondLife {\r\n"; | 230 | Return = "" + |
231 | "using System;\r\n" + | ||
232 | "using System.Collections.Generic;\r\n" + | ||
233 | "using System.Text;\r\n" + | ||
234 | "using OpenSim.Region.ScriptEngine.Common;\r\n" + | ||
235 | "namespace SecondLife {\r\n"; | ||
231 | Return += "[Serializable] public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n"; | 236 | Return += "[Serializable] public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n"; |
232 | Return += @"public Script() { }"+"\r\n"; | 237 | Return += @"public Script() { }"+"\r\n"; |
233 | Return += Script; | 238 | Return += Script; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index eb3d871..ff1676e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -66,16 +66,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
66 | public int llFloor(double f) { return m_LSL_Functions.llFloor(f); } | 66 | public int llFloor(double f) { return m_LSL_Functions.llFloor(f); } |
67 | public int llCeil(double f) { return m_LSL_Functions.llCeil(f); } | 67 | public int llCeil(double f) { return m_LSL_Functions.llCeil(f); } |
68 | public int llRound(double f) { return m_LSL_Functions.llRound(f); } | 68 | public int llRound(double f) { return m_LSL_Functions.llRound(f); } |
69 | public double llVecMag(Axiom.Math.Vector3 v) { return m_LSL_Functions.llVecMag(v); } | 69 | public double llVecMag(LSL_Types.Vector3 v) { return m_LSL_Functions.llVecMag(v); } |
70 | public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return m_LSL_Functions.llVecNorm(v); } | 70 | public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v) { return m_LSL_Functions.llVecNorm(v); } |
71 | public double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return m_LSL_Functions.llVecDist(a, b); } | 71 | public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b) { return m_LSL_Functions.llVecDist(a, b); } |
72 | public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Euler(r); } | 72 | public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Euler(r); } |
73 | public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return m_LSL_Functions.llEuler2Rot(v); } | 73 | public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v) { return m_LSL_Functions.llEuler2Rot(v); } |
74 | public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return m_LSL_Functions.llAxes2Rot(fwd, left, up); } | 74 | public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up) { return m_LSL_Functions.llAxes2Rot(fwd, left, up); } |
75 | public Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Fwd(r); } | 75 | public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Fwd(r); } |
76 | public Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Left(r); } | 76 | public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Left(r); } |
77 | public Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Up(r); } | 77 | public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Up(r); } |
78 | public Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end) { return m_LSL_Functions.llRotBetween(start, end); } | 78 | public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end) { return m_LSL_Functions.llRotBetween(start, end); } |
79 | public void llWhisper(int channelID, string text) { m_LSL_Functions.llWhisper(channelID, text); } | 79 | public void llWhisper(int channelID, string text) { m_LSL_Functions.llWhisper(channelID, text); } |
80 | public void llSay(int channelID, string text) { m_LSL_Functions.llSay(channelID, text); } | 80 | public void llSay(int channelID, string text) { m_LSL_Functions.llSay(channelID, text); } |
81 | // | 81 | // |
@@ -92,27 +92,27 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
92 | public string llDetectedKey(int number) { return m_LSL_Functions.llDetectedKey(number); } | 92 | public string llDetectedKey(int number) { return m_LSL_Functions.llDetectedKey(number); } |
93 | public string llDetectedOwner(int number) { return m_LSL_Functions.llDetectedOwner(number); } | 93 | public string llDetectedOwner(int number) { return m_LSL_Functions.llDetectedOwner(number); } |
94 | public int llDetectedType(int number) { return m_LSL_Functions.llDetectedType(number); } | 94 | public int llDetectedType(int number) { return m_LSL_Functions.llDetectedType(number); } |
95 | public Axiom.Math.Vector3 llDetectedPos(int number) { return m_LSL_Functions.llDetectedPos(number); } | 95 | public LSL_Types.Vector3 llDetectedPos(int number) { return m_LSL_Functions.llDetectedPos(number); } |
96 | public Axiom.Math.Vector3 llDetectedVel(int number) { return m_LSL_Functions.llDetectedVel(number); } | 96 | public LSL_Types.Vector3 llDetectedVel(int number) { return m_LSL_Functions.llDetectedVel(number); } |
97 | public Axiom.Math.Vector3 llDetectedGrab(int number) { return m_LSL_Functions.llDetectedGrab(number); } | 97 | public LSL_Types.Vector3 llDetectedGrab(int number) { return m_LSL_Functions.llDetectedGrab(number); } |
98 | public Axiom.Math.Quaternion llDetectedRot(int number) { return m_LSL_Functions.llDetectedRot(number); } | 98 | public LSL_Types.Quaternion llDetectedRot(int number) { return m_LSL_Functions.llDetectedRot(number); } |
99 | public int llDetectedGroup(int number) { return m_LSL_Functions.llDetectedGroup(number); } | 99 | public int llDetectedGroup(int number) { return m_LSL_Functions.llDetectedGroup(number); } |
100 | public int llDetectedLinkNumber(int number) { return m_LSL_Functions.llDetectedLinkNumber(number); } | 100 | public int llDetectedLinkNumber(int number) { return m_LSL_Functions.llDetectedLinkNumber(number); } |
101 | // | 101 | // |
102 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 102 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
103 | // | 103 | // |
104 | public void llDie() { m_LSL_Functions.llDie(); } | 104 | public void llDie() { m_LSL_Functions.llDie(); } |
105 | public double llGround(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGround(offset); } | 105 | public double llGround(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGround(offset); } |
106 | public double llCloud(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llCloud(offset); } | 106 | public double llCloud(LSL_Types.Vector3 offset) { return m_LSL_Functions.llCloud(offset); } |
107 | public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llWind(offset); } | 107 | public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset) { return m_LSL_Functions.llWind(offset); } |
108 | public void llSetStatus(int status, int value) { m_LSL_Functions.llSetStatus(status, value); } | 108 | public void llSetStatus(int status, int value) { m_LSL_Functions.llSetStatus(status, value); } |
109 | public int llGetStatus(int status) { return m_LSL_Functions.llGetStatus(status); } | 109 | public int llGetStatus(int status) { return m_LSL_Functions.llGetStatus(status); } |
110 | public void llSetScale(Axiom.Math.Vector3 scale) { m_LSL_Functions.llSetScale(scale); } | 110 | public void llSetScale(LSL_Types.Vector3 scale) { m_LSL_Functions.llSetScale(scale); } |
111 | public Axiom.Math.Vector3 llGetScale() { return m_LSL_Functions.llGetScale(); } | 111 | public LSL_Types.Vector3 llGetScale() { return m_LSL_Functions.llGetScale(); } |
112 | public void llSetColor(Axiom.Math.Vector3 color, int face) { m_LSL_Functions.llSetColor(color, face); } | 112 | public void llSetColor(LSL_Types.Vector3 color, int face) { m_LSL_Functions.llSetColor(color, face); } |
113 | public double llGetAlpha(int face) { return m_LSL_Functions.llGetAlpha(face); } | 113 | public double llGetAlpha(int face) { return m_LSL_Functions.llGetAlpha(face); } |
114 | public void llSetAlpha(double alpha, int face) { m_LSL_Functions.llSetAlpha(alpha, face); } | 114 | public void llSetAlpha(double alpha, int face) { m_LSL_Functions.llSetAlpha(alpha, face); } |
115 | public Axiom.Math.Vector3 llGetColor(int face) { return m_LSL_Functions.llGetColor(face); } | 115 | public LSL_Types.Vector3 llGetColor(int face) { return m_LSL_Functions.llGetColor(face); } |
116 | public void llSetTexture(string texture, int face) { m_LSL_Functions.llSetTexture(texture, face); } | 116 | public void llSetTexture(string texture, int face) { m_LSL_Functions.llSetTexture(texture, face); } |
117 | public void llScaleTexture(double u, double v, int face) { m_LSL_Functions.llScaleTexture(u, v, face); } | 117 | public void llScaleTexture(double u, double v, int face) { m_LSL_Functions.llScaleTexture(u, v, face); } |
118 | public void llOffsetTexture(double u, double v, int face) { m_LSL_Functions.llOffsetTexture(u, v, face); } | 118 | public void llOffsetTexture(double u, double v, int face) { m_LSL_Functions.llOffsetTexture(u, v, face); } |
@@ -121,31 +121,31 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
121 | // | 121 | // |
122 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 122 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
123 | // | 123 | // |
124 | public void llSetPos(Axiom.Math.Vector3 pos) { m_LSL_Functions.llSetPos(pos); } | 124 | public void llSetPos(LSL_Types.Vector3 pos) { m_LSL_Functions.llSetPos(pos); } |
125 | public Axiom.Math.Vector3 llGetPos() { return m_LSL_Functions.llGetPos(); } | 125 | public LSL_Types.Vector3 llGetPos() { return m_LSL_Functions.llGetPos(); } |
126 | public Axiom.Math.Vector3 llGetLocalPos() { return m_LSL_Functions.llGetLocalPos(); } | 126 | public LSL_Types.Vector3 llGetLocalPos() { return m_LSL_Functions.llGetLocalPos(); } |
127 | public void llSetRot(Axiom.Math.Quaternion rot) { m_LSL_Functions.llSetRot(rot); } | 127 | public void llSetRot(LSL_Types.Quaternion rot) { m_LSL_Functions.llSetRot(rot); } |
128 | public Axiom.Math.Quaternion llGetRot() { return m_LSL_Functions.llGetRot(); } | 128 | public LSL_Types.Quaternion llGetRot() { return m_LSL_Functions.llGetRot(); } |
129 | public Axiom.Math.Quaternion llGetLocalRot() { return m_LSL_Functions.llGetLocalRot(); } | 129 | public LSL_Types.Quaternion llGetLocalRot() { return m_LSL_Functions.llGetLocalRot(); } |
130 | public void llSetForce(Axiom.Math.Vector3 force, int local) { m_LSL_Functions.llSetForce(force, local); } | 130 | public void llSetForce(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llSetForce(force, local); } |
131 | public Axiom.Math.Vector3 llGetForce() { return m_LSL_Functions.llGetForce(); } | 131 | public LSL_Types.Vector3 llGetForce() { return m_LSL_Functions.llGetForce(); } |
132 | public int llTarget(Axiom.Math.Vector3 position, double range) { return m_LSL_Functions.llTarget(position, range); } | 132 | public int llTarget(LSL_Types.Vector3 position, double range) { return m_LSL_Functions.llTarget(position, range); } |
133 | public void llTargetRemove(int number) { m_LSL_Functions.llTargetRemove(number); } | 133 | public void llTargetRemove(int number) { m_LSL_Functions.llTargetRemove(number); } |
134 | public int llRotTarget(Axiom.Math.Quaternion rot, double error) { return m_LSL_Functions.llRotTarget(rot, error); } | 134 | public int llRotTarget(LSL_Types.Quaternion rot, double error) { return m_LSL_Functions.llRotTarget(rot, error); } |
135 | public void llRotTargetRemove(int number) { m_LSL_Functions.llRotTargetRemove(number); } | 135 | public void llRotTargetRemove(int number) { m_LSL_Functions.llRotTargetRemove(number); } |
136 | public void llMoveToTarget(Axiom.Math.Vector3 target, double tau) { m_LSL_Functions.llMoveToTarget(target, tau); } | 136 | public void llMoveToTarget(LSL_Types.Vector3 target, double tau) { m_LSL_Functions.llMoveToTarget(target, tau); } |
137 | public void llStopMoveToTarget() { m_LSL_Functions.llStopMoveToTarget(); } | 137 | public void llStopMoveToTarget() { m_LSL_Functions.llStopMoveToTarget(); } |
138 | public void llApplyImpulse(Axiom.Math.Vector3 force, int local) { m_LSL_Functions.llApplyImpulse(force, local); } | 138 | public void llApplyImpulse(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llApplyImpulse(force, local); } |
139 | // | 139 | // |
140 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 140 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
141 | // | 141 | // |
142 | public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local) { m_LSL_Functions.llApplyRotationalImpulse(force, local); } | 142 | public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llApplyRotationalImpulse(force, local); } |
143 | public void llSetTorque(Axiom.Math.Vector3 torque, int local) { m_LSL_Functions.llSetTorque(torque, local); } | 143 | public void llSetTorque(LSL_Types.Vector3 torque, int local) { m_LSL_Functions.llSetTorque(torque, local); } |
144 | public Axiom.Math.Vector3 llGetTorque() { return m_LSL_Functions.llGetTorque(); } | 144 | public LSL_Types.Vector3 llGetTorque() { return m_LSL_Functions.llGetTorque(); } |
145 | public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local) { m_LSL_Functions.llSetForceAndTorque(force, torque, local); } | 145 | public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local) { m_LSL_Functions.llSetForceAndTorque(force, torque, local); } |
146 | public Axiom.Math.Vector3 llGetVel() { return m_LSL_Functions.llGetVel(); } | 146 | public LSL_Types.Vector3 llGetVel() { return m_LSL_Functions.llGetVel(); } |
147 | public Axiom.Math.Vector3 llGetAccel() { return m_LSL_Functions.llGetAccel(); } | 147 | public LSL_Types.Vector3 llGetAccel() { return m_LSL_Functions.llGetAccel(); } |
148 | public Axiom.Math.Vector3 llGetOmega() { return m_LSL_Functions.llGetOmega(); } | 148 | public LSL_Types.Vector3 llGetOmega() { return m_LSL_Functions.llGetOmega(); } |
149 | public double llGetTimeOfDay() { return m_LSL_Functions.llGetTimeOfDay(); } | 149 | public double llGetTimeOfDay() { return m_LSL_Functions.llGetTimeOfDay(); } |
150 | public double llGetWallclock() { return m_LSL_Functions.llGetWallclock(); } | 150 | public double llGetWallclock() { return m_LSL_Functions.llGetWallclock(); } |
151 | public double llGetTime() { return m_LSL_Functions.llGetTime(); } | 151 | public double llGetTime() { return m_LSL_Functions.llGetTime(); } |
@@ -173,8 +173,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
173 | public void llMakeFountain() { m_LSL_Functions.llMakeFountain(); } | 173 | public void llMakeFountain() { m_LSL_Functions.llMakeFountain(); } |
174 | public void llMakeSmoke() { m_LSL_Functions.llMakeSmoke(); } | 174 | public void llMakeSmoke() { m_LSL_Functions.llMakeSmoke(); } |
175 | public void llMakeFire() { m_LSL_Functions.llMakeFire(); } | 175 | public void llMakeFire() { m_LSL_Functions.llMakeFire(); } |
176 | public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param) { m_LSL_Functions.llRezObject(inventory, pos, rot, param); } | 176 | public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param) { m_LSL_Functions.llRezObject(inventory, pos, rot, param); } |
177 | public void llLookAt(Axiom.Math.Vector3 target, double strength, double damping) { m_LSL_Functions.llLookAt(target, strength, damping); } | 177 | public void llLookAt(LSL_Types.Vector3 target, double strength, double damping) { m_LSL_Functions.llLookAt(target, strength, damping); } |
178 | public void llStopLookAt() { m_LSL_Functions.llStopLookAt(); } | 178 | public void llStopLookAt() { m_LSL_Functions.llStopLookAt(); } |
179 | public void llSetTimerEvent(double sec) { m_LSL_Functions.llSetTimerEvent(sec); } | 179 | public void llSetTimerEvent(double sec) { m_LSL_Functions.llSetTimerEvent(sec); } |
180 | public void llSleep(double sec) { m_LSL_Functions.llSleep(sec); } | 180 | public void llSleep(double sec) { m_LSL_Functions.llSleep(sec); } |
@@ -199,7 +199,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
199 | public void llStopHover() { m_LSL_Functions.llStopHover(); } | 199 | public void llStopHover() { m_LSL_Functions.llStopHover(); } |
200 | public void llMinEventDelay(double delay) { m_LSL_Functions.llMinEventDelay(delay); } | 200 | public void llMinEventDelay(double delay) { m_LSL_Functions.llMinEventDelay(delay); } |
201 | public void llSoundPreload() { m_LSL_Functions.llSoundPreload(); } | 201 | public void llSoundPreload() { m_LSL_Functions.llSoundPreload(); } |
202 | public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { m_LSL_Functions.llRotLookAt(target, strength, damping); } | 202 | public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) { m_LSL_Functions.llRotLookAt(target, strength, damping); } |
203 | // | 203 | // |
204 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 204 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
205 | // | 205 | // |
@@ -208,14 +208,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
208 | public void llStopAnimation(string anim) { m_LSL_Functions.llStopAnimation(anim); } | 208 | public void llStopAnimation(string anim) { m_LSL_Functions.llStopAnimation(anim); } |
209 | public void llPointAt() { m_LSL_Functions.llPointAt(); } | 209 | public void llPointAt() { m_LSL_Functions.llPointAt(); } |
210 | public void llStopPointAt() { m_LSL_Functions.llStopPointAt(); } | 210 | public void llStopPointAt() { m_LSL_Functions.llStopPointAt(); } |
211 | public void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain) { m_LSL_Functions.llTargetOmega(axis, spinrate, gain); } | 211 | public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain) { m_LSL_Functions.llTargetOmega(axis, spinrate, gain); } |
212 | public int llGetStartParameter() { return m_LSL_Functions.llGetStartParameter(); } | 212 | public int llGetStartParameter() { return m_LSL_Functions.llGetStartParameter(); } |
213 | public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { m_LSL_Functions.llGodLikeRezObject(inventory, pos); } | 213 | public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos) { m_LSL_Functions.llGodLikeRezObject(inventory, pos); } |
214 | public void llRequestPermissions(string agent, int perm) { m_LSL_Functions.llRequestPermissions(agent, perm); } | 214 | public void llRequestPermissions(string agent, int perm) { m_LSL_Functions.llRequestPermissions(agent, perm); } |
215 | public string llGetPermissionsKey() { return m_LSL_Functions.llGetPermissionsKey(); } | 215 | public string llGetPermissionsKey() { return m_LSL_Functions.llGetPermissionsKey(); } |
216 | public int llGetPermissions() { return m_LSL_Functions.llGetPermissions(); } | 216 | public int llGetPermissions() { return m_LSL_Functions.llGetPermissions(); } |
217 | public int llGetLinkNumber() { return m_LSL_Functions.llGetLinkNumber(); } | 217 | public int llGetLinkNumber() { return m_LSL_Functions.llGetLinkNumber(); } |
218 | public void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face) { m_LSL_Functions.llSetLinkColor(linknumber, color, face); } | 218 | public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face) { m_LSL_Functions.llSetLinkColor(linknumber, color, face); } |
219 | public void llCreateLink(string target, int parent) { m_LSL_Functions.llCreateLink(target, parent); } | 219 | public void llCreateLink(string target, int parent) { m_LSL_Functions.llCreateLink(target, parent); } |
220 | public void llBreakLink(int linknum) { m_LSL_Functions.llBreakLink(linknum); } | 220 | public void llBreakLink(int linknum) { m_LSL_Functions.llBreakLink(linknum); } |
221 | public void llBreakAllLinks() { m_LSL_Functions.llBreakAllLinks(); } | 221 | public void llBreakAllLinks() { m_LSL_Functions.llBreakAllLinks(); } |
@@ -230,8 +230,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
230 | public double llGetEnergy() { return m_LSL_Functions.llGetEnergy(); } | 230 | public double llGetEnergy() { return m_LSL_Functions.llGetEnergy(); } |
231 | public void llGiveInventory(string destination, string inventory) { m_LSL_Functions.llGiveInventory(destination, inventory); } | 231 | public void llGiveInventory(string destination, string inventory) { m_LSL_Functions.llGiveInventory(destination, inventory); } |
232 | public void llRemoveInventory(string item) { m_LSL_Functions.llRemoveInventory(item); } | 232 | public void llRemoveInventory(string item) { m_LSL_Functions.llRemoveInventory(item); } |
233 | public void llSetText(string text, Axiom.Math.Vector3 color, double alpha) { m_LSL_Functions.llSetText(text, color, alpha); } | 233 | public void llSetText(string text, LSL_Types.Vector3 color, double alpha) { m_LSL_Functions.llSetText(text, color, alpha); } |
234 | public double llWater(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llWater(offset); } | 234 | public double llWater(LSL_Types.Vector3 offset) { return m_LSL_Functions.llWater(offset); } |
235 | public void llPassTouches(int pass) { m_LSL_Functions.llPassTouches(pass); } | 235 | public void llPassTouches(int pass) { m_LSL_Functions.llPassTouches(pass); } |
236 | public string llRequestAgentData(string id, int data) { return m_LSL_Functions.llRequestAgentData(id, data); } | 236 | public string llRequestAgentData(string id, int data) { return m_LSL_Functions.llRequestAgentData(id, data); } |
237 | public string llRequestInventoryData(string name) { return m_LSL_Functions.llRequestInventoryData(name); } | 237 | public string llRequestInventoryData(string name) { return m_LSL_Functions.llRequestInventoryData(name); } |
@@ -243,28 +243,28 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
243 | public string llGetAnimation(string id) { return m_LSL_Functions.llGetAnimation(id); } | 243 | public string llGetAnimation(string id) { return m_LSL_Functions.llGetAnimation(id); } |
244 | public void llResetScript() { m_LSL_Functions.llResetScript(); } | 244 | public void llResetScript() { m_LSL_Functions.llResetScript(); } |
245 | public void llMessageLinked(int linknum, int num, string str, string id) { m_LSL_Functions.llMessageLinked(linknum, num, str, id); } | 245 | public void llMessageLinked(int linknum, int num, string str, string id) { m_LSL_Functions.llMessageLinked(linknum, num, str, id); } |
246 | public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local) { m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); } | 246 | public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local) { m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); } |
247 | public void llPassCollisions(int pass) { m_LSL_Functions.llPassCollisions(pass); } | 247 | public void llPassCollisions(int pass) { m_LSL_Functions.llPassCollisions(pass); } |
248 | public string llGetScriptName() { return m_LSL_Functions.llGetScriptName(); } | 248 | public string llGetScriptName() { return m_LSL_Functions.llGetScriptName(); } |
249 | public int llGetNumberOfSides() { return m_LSL_Functions.llGetNumberOfSides(); } | 249 | public int llGetNumberOfSides() { return m_LSL_Functions.llGetNumberOfSides(); } |
250 | // | 250 | // |
251 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 251 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
252 | // | 252 | // |
253 | public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle) { return m_LSL_Functions.llAxisAngle2Rot(axis, angle); } | 253 | public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle) { return m_LSL_Functions.llAxisAngle2Rot(axis, angle); } |
254 | public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return m_LSL_Functions.llRot2Axis(rot); } | 254 | public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot) { return m_LSL_Functions.llRot2Axis(rot); } |
255 | public void llRot2Angle() { m_LSL_Functions.llRot2Angle(); } | 255 | public void llRot2Angle() { m_LSL_Functions.llRot2Angle(); } |
256 | public double llAcos(double val) { return m_LSL_Functions.llAcos(val); } | 256 | public double llAcos(double val) { return m_LSL_Functions.llAcos(val); } |
257 | public double llAsin(double val) { return m_LSL_Functions.llAsin(val); } | 257 | public double llAsin(double val) { return m_LSL_Functions.llAsin(val); } |
258 | public double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return m_LSL_Functions.llAngleBetween(a, b); } | 258 | public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b) { return m_LSL_Functions.llAngleBetween(a, b); } |
259 | public string llGetInventoryKey(string name) { return m_LSL_Functions.llGetInventoryKey(name); } | 259 | public string llGetInventoryKey(string name) { return m_LSL_Functions.llGetInventoryKey(name); } |
260 | public void llAllowInventoryDrop(int add) { m_LSL_Functions.llAllowInventoryDrop(add); } | 260 | public void llAllowInventoryDrop(int add) { m_LSL_Functions.llAllowInventoryDrop(add); } |
261 | public Axiom.Math.Vector3 llGetSunDirection() { return m_LSL_Functions.llGetSunDirection(); } | 261 | public LSL_Types.Vector3 llGetSunDirection() { return m_LSL_Functions.llGetSunDirection(); } |
262 | public Axiom.Math.Vector3 llGetTextureOffset(int face) { return m_LSL_Functions.llGetTextureOffset(face); } | 262 | public LSL_Types.Vector3 llGetTextureOffset(int face) { return m_LSL_Functions.llGetTextureOffset(face); } |
263 | public Axiom.Math.Vector3 llGetTextureScale(int side) { return m_LSL_Functions.llGetTextureScale(side); } | 263 | public LSL_Types.Vector3 llGetTextureScale(int side) { return m_LSL_Functions.llGetTextureScale(side); } |
264 | public double llGetTextureRot(int side) { return m_LSL_Functions.llGetTextureRot(side); } | 264 | public double llGetTextureRot(int side) { return m_LSL_Functions.llGetTextureRot(side); } |
265 | public int llSubStringIndex(string source, string pattern) { return m_LSL_Functions.llSubStringIndex(source, pattern); } | 265 | public int llSubStringIndex(string source, string pattern) { return m_LSL_Functions.llSubStringIndex(source, pattern); } |
266 | public string llGetOwnerKey(string id) { return m_LSL_Functions.llGetOwnerKey(id); } | 266 | public string llGetOwnerKey(string id) { return m_LSL_Functions.llGetOwnerKey(id); } |
267 | public Axiom.Math.Vector3 llGetCenterOfMass() { return m_LSL_Functions.llGetCenterOfMass(); } | 267 | public LSL_Types.Vector3 llGetCenterOfMass() { return m_LSL_Functions.llGetCenterOfMass(); } |
268 | public List<string> llListSort(List<string> src, int stride, int ascending) { return m_LSL_Functions.llListSort(src, stride, ascending); } | 268 | public List<string> llListSort(List<string> src, int stride, int ascending) { return m_LSL_Functions.llListSort(src, stride, ascending); } |
269 | public int llGetListLength(List<string> src) { return m_LSL_Functions.llGetListLength(src); } | 269 | public int llGetListLength(List<string> src) { return m_LSL_Functions.llGetListLength(src); } |
270 | // | 270 | // |
@@ -274,8 +274,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
274 | public double llList2double(List<string> src, int index) { return m_LSL_Functions.llList2double(src, index); } | 274 | public double llList2double(List<string> src, int index) { return m_LSL_Functions.llList2double(src, index); } |
275 | public string llList2String(List<string> src, int index) { return m_LSL_Functions.llList2String(src, index); } | 275 | public string llList2String(List<string> src, int index) { return m_LSL_Functions.llList2String(src, index); } |
276 | public string llList2Key(List<string> src, int index) { return m_LSL_Functions.llList2Key(src, index); } | 276 | public string llList2Key(List<string> src, int index) { return m_LSL_Functions.llList2Key(src, index); } |
277 | public Axiom.Math.Vector3 llList2Vector(List<string> src, int index) { return m_LSL_Functions.llList2Vector(src, index); } | 277 | public LSL_Types.Vector3 llList2Vector(List<string> src, int index) { return m_LSL_Functions.llList2Vector(src, index); } |
278 | public Axiom.Math.Quaternion llList2Rot(List<string> src, int index) { return m_LSL_Functions.llList2Rot(src, index); } | 278 | public LSL_Types.Quaternion llList2Rot(List<string> src, int index) { return m_LSL_Functions.llList2Rot(src, index); } |
279 | public List<string> llList2List(List<string> src, int start, int end) { return m_LSL_Functions.llList2List(src, start, end); } | 279 | public List<string> llList2List(List<string> src, int start, int end) { return m_LSL_Functions.llList2List(src, start, end); } |
280 | public List<string> llDeleteSubList(List<string> src, int start, int end) { return m_LSL_Functions.llDeleteSubList(src, start, end); } | 280 | public List<string> llDeleteSubList(List<string> src, int start, int end) { return m_LSL_Functions.llDeleteSubList(src, start, end); } |
281 | public int llGetListEntryType(List<string> src, int index) { return m_LSL_Functions.llGetListEntryType(src, index); } | 281 | public int llGetListEntryType(List<string> src, int index) { return m_LSL_Functions.llGetListEntryType(src, index); } |
@@ -283,13 +283,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
283 | public List<string> llCSV2List(string src) { return m_LSL_Functions.llCSV2List(src); } | 283 | public List<string> llCSV2List(string src) { return m_LSL_Functions.llCSV2List(src); } |
284 | public List<string> llListRandomize(List<string> src, int stride) { return m_LSL_Functions.llListRandomize(src, stride); } | 284 | public List<string> llListRandomize(List<string> src, int stride) { return m_LSL_Functions.llListRandomize(src, stride); } |
285 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) { return m_LSL_Functions.llList2ListStrided(src, start, end, stride); } | 285 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) { return m_LSL_Functions.llList2ListStrided(src, start, end, stride); } |
286 | public Axiom.Math.Vector3 llGetRegionCorner() { return m_LSL_Functions.llGetRegionCorner(); } | 286 | public LSL_Types.Vector3 llGetRegionCorner() { return m_LSL_Functions.llGetRegionCorner(); } |
287 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) { return m_LSL_Functions.llListInsertList(dest, src, start); } | 287 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) { return m_LSL_Functions.llListInsertList(dest, src, start); } |
288 | public int llListFindList(List<string> src, List<string> test) { return m_LSL_Functions.llListFindList(src, test); } | 288 | public int llListFindList(List<string> src, List<string> test) { return m_LSL_Functions.llListFindList(src, test); } |
289 | public string llGetObjectName() { return m_LSL_Functions.llGetObjectName(); } | 289 | public string llGetObjectName() { return m_LSL_Functions.llGetObjectName(); } |
290 | public void llSetObjectName(string name) { m_LSL_Functions.llSetObjectName(name); } | 290 | public void llSetObjectName(string name) { m_LSL_Functions.llSetObjectName(name); } |
291 | public string llGetDate() { return m_LSL_Functions.llGetDate(); } | 291 | public string llGetDate() { return m_LSL_Functions.llGetDate(); } |
292 | public int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return m_LSL_Functions.llEdgeOfWorld(pos, dir); } | 292 | public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) { return m_LSL_Functions.llEdgeOfWorld(pos, dir); } |
293 | public int llGetAgentInfo(string id) { return m_LSL_Functions.llGetAgentInfo(id); } | 293 | public int llGetAgentInfo(string id) { return m_LSL_Functions.llGetAgentInfo(id); } |
294 | // | 294 | // |
295 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 295 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
@@ -299,18 +299,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
299 | public void llSetSoundRadius(double radius) { m_LSL_Functions.llSetSoundRadius(radius); } | 299 | public void llSetSoundRadius(double radius) { m_LSL_Functions.llSetSoundRadius(radius); } |
300 | public string llKey2Name(string id) { return m_LSL_Functions.llKey2Name(id); } | 300 | public string llKey2Name(string id) { return m_LSL_Functions.llKey2Name(id); } |
301 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); } | 301 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); } |
302 | public void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); } | 302 | public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west) { m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); } |
303 | public void llEjectFromLand(string pest) { m_LSL_Functions.llEjectFromLand(pest); } | 303 | public void llEjectFromLand(string pest) { m_LSL_Functions.llEjectFromLand(pest); } |
304 | public void llParseString2List() { m_LSL_Functions.llParseString2List(); } | 304 | public void llParseString2List() { m_LSL_Functions.llParseString2List(); } |
305 | public int llOverMyLand(string id) { return m_LSL_Functions.llOverMyLand(id); } | 305 | public int llOverMyLand(string id) { return m_LSL_Functions.llOverMyLand(id); } |
306 | public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return m_LSL_Functions.llGetLandOwnerAt(pos); } | 306 | public string llGetLandOwnerAt(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetLandOwnerAt(pos); } |
307 | public string llGetNotecardLine(string name, int line) { return m_LSL_Functions.llGetNotecardLine(name, line); } | 307 | public string llGetNotecardLine(string name, int line) { return m_LSL_Functions.llGetNotecardLine(name, line); } |
308 | public Axiom.Math.Vector3 llGetAgentSize(string id) { return m_LSL_Functions.llGetAgentSize(id); } | 308 | public LSL_Types.Vector3 llGetAgentSize(string id) { return m_LSL_Functions.llGetAgentSize(id); } |
309 | public int llSameGroup(string agent) { return m_LSL_Functions.llSameGroup(agent); } | 309 | public int llSameGroup(string agent) { return m_LSL_Functions.llSameGroup(agent); } |
310 | public void llUnSit(string id) { m_LSL_Functions.llUnSit(id); } | 310 | public void llUnSit(string id) { m_LSL_Functions.llUnSit(id); } |
311 | public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGroundSlope(offset); } | 311 | public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundSlope(offset); } |
312 | public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGroundNormal(offset); } | 312 | public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundNormal(offset); } |
313 | public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGroundContour(offset); } | 313 | public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundContour(offset); } |
314 | public int llGetAttached() { return m_LSL_Functions.llGetAttached(); } | 314 | public int llGetAttached() { return m_LSL_Functions.llGetAttached(); } |
315 | public int llGetFreeMemory() { return m_LSL_Functions.llGetFreeMemory(); } | 315 | public int llGetFreeMemory() { return m_LSL_Functions.llGetFreeMemory(); } |
316 | public string llGetRegionName() { return m_LSL_Functions.llGetRegionName(); } | 316 | public string llGetRegionName() { return m_LSL_Functions.llGetRegionName(); } |
@@ -324,19 +324,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
324 | public void llGiveInventoryList() { m_LSL_Functions.llGiveInventoryList(); } | 324 | public void llGiveInventoryList() { m_LSL_Functions.llGiveInventoryList(); } |
325 | public void llSetVehicleType(int type) { m_LSL_Functions.llSetVehicleType(type); } | 325 | public void llSetVehicleType(int type) { m_LSL_Functions.llSetVehicleType(type); } |
326 | public void llSetVehicledoubleParam(int param, double value) { m_LSL_Functions.llSetVehicledoubleParam(param, value); } | 326 | public void llSetVehicledoubleParam(int param, double value) { m_LSL_Functions.llSetVehicledoubleParam(param, value); } |
327 | public void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec) { m_LSL_Functions.llSetVehicleVectorParam(param, vec); } | 327 | public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) { m_LSL_Functions.llSetVehicleVectorParam(param, vec); } |
328 | public void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot) { m_LSL_Functions.llSetVehicleRotationParam(param, rot); } | 328 | public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot) { m_LSL_Functions.llSetVehicleRotationParam(param, rot); } |
329 | public void llSetVehicleFlags(int flags) { m_LSL_Functions.llSetVehicleFlags(flags); } | 329 | public void llSetVehicleFlags(int flags) { m_LSL_Functions.llSetVehicleFlags(flags); } |
330 | public void llRemoveVehicleFlags(int flags) { m_LSL_Functions.llRemoveVehicleFlags(flags); } | 330 | public void llRemoveVehicleFlags(int flags) { m_LSL_Functions.llRemoveVehicleFlags(flags); } |
331 | public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { m_LSL_Functions.llSitTarget(offset, rot); } | 331 | public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot) { m_LSL_Functions.llSitTarget(offset, rot); } |
332 | public string llAvatarOnSitTarget() { return m_LSL_Functions.llAvatarOnSitTarget(); } | 332 | public string llAvatarOnSitTarget() { return m_LSL_Functions.llAvatarOnSitTarget(); } |
333 | public void llAddToLandPassList(string avatar, double hours) { m_LSL_Functions.llAddToLandPassList(avatar, hours); } | 333 | public void llAddToLandPassList(string avatar, double hours) { m_LSL_Functions.llAddToLandPassList(avatar, hours); } |
334 | public void llSetTouchText(string text) { m_LSL_Functions.llSetTouchText(text); } | 334 | public void llSetTouchText(string text) { m_LSL_Functions.llSetTouchText(text); } |
335 | public void llSetSitText(string text) { m_LSL_Functions.llSetSitText(text); } | 335 | public void llSetSitText(string text) { m_LSL_Functions.llSetSitText(text); } |
336 | public void llSetCameraEyeOffset(Axiom.Math.Vector3 offset) { m_LSL_Functions.llSetCameraEyeOffset(offset); } | 336 | public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) { m_LSL_Functions.llSetCameraEyeOffset(offset); } |
337 | public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { m_LSL_Functions.llSetCameraAtOffset(offset); } | 337 | public void llSetCameraAtOffset(LSL_Types.Vector3 offset) { m_LSL_Functions.llSetCameraAtOffset(offset); } |
338 | public void llDumpList2String() { m_LSL_Functions.llDumpList2String(); } | 338 | public void llDumpList2String() { m_LSL_Functions.llDumpList2String(); } |
339 | public void llScriptDanger(Axiom.Math.Vector3 pos) { m_LSL_Functions.llScriptDanger(pos); } | 339 | public void llScriptDanger(LSL_Types.Vector3 pos) { m_LSL_Functions.llScriptDanger(pos); } |
340 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); } | 340 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); } |
341 | public void llVolumeDetect(int detect) { m_LSL_Functions.llVolumeDetect(detect); } | 341 | public void llVolumeDetect(int detect) { m_LSL_Functions.llVolumeDetect(detect); } |
342 | public void llResetOtherScript(string name) { m_LSL_Functions.llResetOtherScript(name); } | 342 | public void llResetOtherScript(string name) { m_LSL_Functions.llResetOtherScript(name); } |
@@ -361,8 +361,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
361 | public double llLog(double val) { return m_LSL_Functions.llLog(val); } | 361 | public double llLog(double val) { return m_LSL_Functions.llLog(val); } |
362 | public List<string> llGetAnimationList(string id) { return m_LSL_Functions.llGetAnimationList(id); } | 362 | public List<string> llGetAnimationList(string id) { return m_LSL_Functions.llGetAnimationList(id); } |
363 | public void llSetParcelMusicURL(string url) { m_LSL_Functions.llSetParcelMusicURL(url); } | 363 | public void llSetParcelMusicURL(string url) { m_LSL_Functions.llSetParcelMusicURL(url); } |
364 | public Axiom.Math.Vector3 llGetRootPosition() { return m_LSL_Functions.llGetRootPosition(); } | 364 | public LSL_Types.Vector3 llGetRootPosition() { return m_LSL_Functions.llGetRootPosition(); } |
365 | public Axiom.Math.Quaternion llGetRootRotation() { return m_LSL_Functions.llGetRootRotation(); } | 365 | public LSL_Types.Quaternion llGetRootRotation() { return m_LSL_Functions.llGetRootRotation(); } |
366 | public string llGetObjectDesc() { return m_LSL_Functions.llGetObjectDesc(); } | 366 | public string llGetObjectDesc() { return m_LSL_Functions.llGetObjectDesc(); } |
367 | public void llSetObjectDesc(string desc) { m_LSL_Functions.llSetObjectDesc(desc); } | 367 | public void llSetObjectDesc(string desc) { m_LSL_Functions.llSetObjectDesc(desc); } |
368 | public string llGetCreator() { return m_LSL_Functions.llGetCreator(); } | 368 | public string llGetCreator() { return m_LSL_Functions.llGetCreator(); } |
@@ -371,7 +371,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
371 | public int llGetNumberOfPrims() { return m_LSL_Functions.llGetNumberOfPrims(); } | 371 | public int llGetNumberOfPrims() { return m_LSL_Functions.llGetNumberOfPrims(); } |
372 | public string llGetNumberOfNotecardLines(string name) { return m_LSL_Functions.llGetNumberOfNotecardLines(name); } | 372 | public string llGetNumberOfNotecardLines(string name) { return m_LSL_Functions.llGetNumberOfNotecardLines(name); } |
373 | public List<string> llGetBoundingBox(string obj) { return m_LSL_Functions.llGetBoundingBox(obj); } | 373 | public List<string> llGetBoundingBox(string obj) { return m_LSL_Functions.llGetBoundingBox(obj); } |
374 | public Axiom.Math.Vector3 llGetGeometricCenter() { return m_LSL_Functions.llGetGeometricCenter(); } | 374 | public LSL_Types.Vector3 llGetGeometricCenter() { return m_LSL_Functions.llGetGeometricCenter(); } |
375 | public void llGetPrimitiveParams() { m_LSL_Functions.llGetPrimitiveParams(); } | 375 | public void llGetPrimitiveParams() { m_LSL_Functions.llGetPrimitiveParams(); } |
376 | // | 376 | // |
377 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 377 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
@@ -380,9 +380,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
380 | public int llBase64ToInteger(string str) { return m_LSL_Functions.llBase64ToInteger(str); } | 380 | public int llBase64ToInteger(string str) { return m_LSL_Functions.llBase64ToInteger(str); } |
381 | public double llGetGMTclock() { return m_LSL_Functions.llGetGMTclock(); } | 381 | public double llGetGMTclock() { return m_LSL_Functions.llGetGMTclock(); } |
382 | public string llGetSimulatorHostname() { return m_LSL_Functions.llGetSimulatorHostname(); } | 382 | public string llGetSimulatorHostname() { return m_LSL_Functions.llGetSimulatorHostname(); } |
383 | public void llSetLocalRot(Axiom.Math.Quaternion rot) { m_LSL_Functions.llSetLocalRot(rot); } | 383 | public void llSetLocalRot(LSL_Types.Quaternion rot) { m_LSL_Functions.llSetLocalRot(rot); } |
384 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) { return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); } | 384 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) { return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); } |
385 | public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param) { m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); } | 385 | public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param) { m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); } |
386 | public int llGetObjectPermMask(int mask) { return m_LSL_Functions.llGetObjectPermMask(mask); } | 386 | public int llGetObjectPermMask(int mask) { return m_LSL_Functions.llGetObjectPermMask(mask); } |
387 | public void llSetObjectPermMask(int mask, int value) { m_LSL_Functions.llSetObjectPermMask(mask, value); } | 387 | public void llSetObjectPermMask(int mask, int value) { m_LSL_Functions.llSetObjectPermMask(mask, value); } |
388 | public void llGetInventoryPermMask(string item, int mask) { m_LSL_Functions.llGetInventoryPermMask(item, mask); } | 388 | public void llGetInventoryPermMask(string item, int mask) { m_LSL_Functions.llGetInventoryPermMask(item, mask); } |
@@ -402,13 +402,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
402 | // | 402 | // |
403 | public int llGetInventoryType(string name) { return m_LSL_Functions.llGetInventoryType(name); } | 403 | public int llGetInventoryType(string name) { return m_LSL_Functions.llGetInventoryType(name); } |
404 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) { m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); } | 404 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) { m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); } |
405 | public Axiom.Math.Vector3 llGetCameraPos() { return m_LSL_Functions.llGetCameraPos(); } | 405 | public LSL_Types.Vector3 llGetCameraPos() { return m_LSL_Functions.llGetCameraPos(); } |
406 | public Axiom.Math.Quaternion llGetCameraRot() { return m_LSL_Functions.llGetCameraRot(); } | 406 | public LSL_Types.Quaternion llGetCameraRot() { return m_LSL_Functions.llGetCameraRot(); } |
407 | public void llSetPrimURL() { m_LSL_Functions.llSetPrimURL(); } | 407 | public void llSetPrimURL() { m_LSL_Functions.llSetPrimURL(); } |
408 | public void llRefreshPrimURL() { m_LSL_Functions.llRefreshPrimURL(); } | 408 | public void llRefreshPrimURL() { m_LSL_Functions.llRefreshPrimURL(); } |
409 | public string llEscapeURL(string url) { return m_LSL_Functions.llEscapeURL(url); } | 409 | public string llEscapeURL(string url) { return m_LSL_Functions.llEscapeURL(url); } |
410 | public string llUnescapeURL(string url) { return m_LSL_Functions.llUnescapeURL(url); } | 410 | public string llUnescapeURL(string url) { return m_LSL_Functions.llUnescapeURL(url); } |
411 | public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { m_LSL_Functions.llMapDestination(simname, pos, look_at); } | 411 | public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at) { m_LSL_Functions.llMapDestination(simname, pos, look_at); } |
412 | public void llAddToLandBanList(string avatar, double hours) { m_LSL_Functions.llAddToLandBanList(avatar, hours); } | 412 | public void llAddToLandBanList(string avatar, double hours) { m_LSL_Functions.llAddToLandBanList(avatar, hours); } |
413 | public void llRemoveFromLandPassList(string avatar) { m_LSL_Functions.llRemoveFromLandPassList(avatar); } | 413 | public void llRemoveFromLandPassList(string avatar) { m_LSL_Functions.llRemoveFromLandPassList(avatar); } |
414 | public void llRemoveFromLandBanList(string avatar) { m_LSL_Functions.llRemoveFromLandBanList(avatar); } | 414 | public void llRemoveFromLandBanList(string avatar) { m_LSL_Functions.llRemoveFromLandBanList(avatar); } |
@@ -416,20 +416,20 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
416 | public void llClearCameraParams() { m_LSL_Functions.llClearCameraParams(); } | 416 | public void llClearCameraParams() { m_LSL_Functions.llClearCameraParams(); } |
417 | public double llListStatistics(int operation, List<string> src) { return m_LSL_Functions.llListStatistics(operation, src); } | 417 | public double llListStatistics(int operation, List<string> src) { return m_LSL_Functions.llListStatistics(operation, src); } |
418 | public int llGetUnixTime() { return m_LSL_Functions.llGetUnixTime(); } | 418 | public int llGetUnixTime() { return m_LSL_Functions.llGetUnixTime(); } |
419 | public int llGetParcelFlags(Axiom.Math.Vector3 pos) { return m_LSL_Functions.llGetParcelFlags(pos); } | 419 | public int llGetParcelFlags(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetParcelFlags(pos); } |
420 | public int llGetRegionFlags() { return m_LSL_Functions.llGetRegionFlags(); } | 420 | public int llGetRegionFlags() { return m_LSL_Functions.llGetRegionFlags(); } |
421 | public string llXorBase64StringsCorrect(string str1, string str2) { return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); } | 421 | public string llXorBase64StringsCorrect(string str1, string str2) { return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); } |
422 | public void llHTTPRequest() { m_LSL_Functions.llHTTPRequest(); } | 422 | public void llHTTPRequest() { m_LSL_Functions.llHTTPRequest(); } |
423 | public void llResetLandBanList() { m_LSL_Functions.llResetLandBanList(); } | 423 | public void llResetLandBanList() { m_LSL_Functions.llResetLandBanList(); } |
424 | public void llResetLandPassList() { m_LSL_Functions.llResetLandPassList(); } | 424 | public void llResetLandPassList() { m_LSL_Functions.llResetLandPassList(); } |
425 | public int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide) { return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); } | 425 | public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) { return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); } |
426 | public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return m_LSL_Functions.llGetParcelPrimOwners(pos); } | 426 | public List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetParcelPrimOwners(pos); } |
427 | public int llGetObjectPrimCount(string object_id) { return m_LSL_Functions.llGetObjectPrimCount(object_id); } | 427 | public int llGetObjectPrimCount(string object_id) { return m_LSL_Functions.llGetObjectPrimCount(object_id); } |
428 | // | 428 | // |
429 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 429 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
430 | // | 430 | // |
431 | public int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide) { return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); } | 431 | public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) { return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); } |
432 | public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return m_LSL_Functions.llGetParcelDetails(pos, param); } | 432 | public List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param) { return m_LSL_Functions.llGetParcelDetails(pos, param); } |
433 | 433 | ||
434 | 434 | ||
435 | 435 | ||
@@ -738,8 +738,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
738 | public const double SQRT2 = 1.414213538f; | 738 | public const double SQRT2 = 1.414213538f; |
739 | 739 | ||
740 | // Can not be public const? | 740 | // Can not be public const? |
741 | public Axiom.Math.Vector3 ZERO_VECTOR = new Axiom.Math.Vector3(0, 0, 0); | 741 | public LSL_Types.Vector3 ZERO_VECTOR = new LSL_Types.Vector3(0, 0, 0); |
742 | public Axiom.Math.Quaternion ZERO_ROTATION = new Axiom.Math.Quaternion(0, 0, 0, 0); | 742 | public LSL_Types.Quaternion ZERO_ROTATION = new LSL_Types.Quaternion(0, 0, 0, 0); |
743 | 743 | ||
744 | 744 | ||
745 | 745 | ||