diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine')
5 files changed, 203 insertions, 192 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs index 2e1e3d1..7941ea2 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs | |||
@@ -71,7 +71,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
71 | //ads.ApplicationName = "DotNetScriptEngine"; | 71 | //ads.ApplicationName = "DotNetScriptEngine"; |
72 | //ads.DynamicBase = ads.ApplicationBase; | 72 | //ads.DynamicBase = ads.ApplicationBase; |
73 | 73 | ||
74 | Console.WriteLine("AppDomain BaseDirectory: " + ads.ApplicationBase); | 74 | //Console.WriteLine("AppDomain BaseDirectory: " + ads.ApplicationBase); |
75 | ads.DisallowBindingRedirects = false; | 75 | ads.DisallowBindingRedirects = false; |
76 | ads.DisallowCodeDownload = true; | 76 | ads.DisallowCodeDownload = true; |
77 | ads.ShadowCopyFiles = "true"; | 77 | ads.ShadowCopyFiles = "true"; |
@@ -95,13 +95,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine | |||
95 | 95 | ||
96 | } | 96 | } |
97 | 97 | ||
98 | Console.WriteLine("Assembly file: " + this.GetType().Assembly.CodeBase); | 98 | //Console.WriteLine("Assembly file: " + this.GetType().Assembly.CodeBase); |
99 | Console.WriteLine("Assembly name: " + this.GetType().ToString()); | 99 | //Console.WriteLine("Assembly name: " + this.GetType().ToString()); |
100 | //AD.CreateInstanceFrom(this.GetType().Assembly.CodeBase, "OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine"); | 100 | //AD.CreateInstanceFrom(this.GetType().Assembly.CodeBase, "OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine"); |
101 | 101 | ||
102 | //AD.Load(this.GetType().Assembly.CodeBase); | 102 | //AD.Load(this.GetType().Assembly.CodeBase); |
103 | 103 | ||
104 | Console.WriteLine("Done preparing new appdomain."); | 104 | Console.WriteLine("Done preparing new AppDomain."); |
105 | return AD; | 105 | return AD; |
106 | 106 | ||
107 | } | 107 | } |
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 | ||
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs index 6401163..15de03b 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs | |||
@@ -60,16 +60,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
60 | public int llFloor(double f) { return (int)Math.Floor(f); } | 60 | public int llFloor(double f) { return (int)Math.Floor(f); } |
61 | public int llCeil(double f) { return (int)Math.Ceiling(f); } | 61 | public int llCeil(double f) { return (int)Math.Ceiling(f); } |
62 | public int llRound(double f) { return (int)Math.Round(f, 1); } | 62 | public int llRound(double f) { return (int)Math.Round(f, 1); } |
63 | public double llVecMag(Axiom.Math.Vector3 v) { return 0; } | 63 | public double llVecMag(LSL_Types.Vector3 v) { return 0; } |
64 | public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } | 64 | public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v) { return new LSL_Types.Vector3(); } |
65 | public double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } | 65 | public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b) { return 0; } |
66 | public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } | 66 | public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); } |
67 | public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return new Axiom.Math.Quaternion(); } | 67 | public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v) { return new LSL_Types.Quaternion(); } |
68 | public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return new Axiom.Math.Quaternion(); } | 68 | public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up) { return new LSL_Types.Quaternion(); } |
69 | public Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } | 69 | public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); } |
70 | public Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } | 70 | public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); } |
71 | public Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } | 71 | public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); } |
72 | public Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end) { return new Axiom.Math.Quaternion(); } | 72 | public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end) { return new LSL_Types.Quaternion(); } |
73 | 73 | ||
74 | public void llWhisper(int channelID, string text) | 74 | public void llWhisper(int channelID, string text) |
75 | { | 75 | { |
@@ -112,57 +112,57 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
112 | public string llDetectedKey(int number) { return ""; } | 112 | public string llDetectedKey(int number) { return ""; } |
113 | public string llDetectedOwner(int number) { return ""; } | 113 | public string llDetectedOwner(int number) { return ""; } |
114 | public int llDetectedType(int number) { return 0; } | 114 | public int llDetectedType(int number) { return 0; } |
115 | public Axiom.Math.Vector3 llDetectedPos(int number) { return new Axiom.Math.Vector3(); } | 115 | public LSL_Types.Vector3 llDetectedPos(int number) { return new LSL_Types.Vector3(); } |
116 | public Axiom.Math.Vector3 llDetectedVel(int number) { return new Axiom.Math.Vector3(); } | 116 | public LSL_Types.Vector3 llDetectedVel(int number) { return new LSL_Types.Vector3(); } |
117 | public Axiom.Math.Vector3 llDetectedGrab(int number) { return new Axiom.Math.Vector3(); } | 117 | public LSL_Types.Vector3 llDetectedGrab(int number) { return new LSL_Types.Vector3(); } |
118 | public Axiom.Math.Quaternion llDetectedRot(int number) { return new Axiom.Math.Quaternion(); } | 118 | public LSL_Types.Quaternion llDetectedRot(int number) { return new LSL_Types.Quaternion(); } |
119 | public int llDetectedGroup(int number) { return 0; } | 119 | public int llDetectedGroup(int number) { return 0; } |
120 | public int llDetectedLinkNumber(int number) { return 0; } | 120 | public int llDetectedLinkNumber(int number) { return 0; } |
121 | public void llDie() { return; } | 121 | public void llDie() { return; } |
122 | public double llGround(Axiom.Math.Vector3 offset) { return 0; } | 122 | public double llGround(LSL_Types.Vector3 offset) { return 0; } |
123 | public double llCloud(Axiom.Math.Vector3 offset) { return 0; } | 123 | public double llCloud(LSL_Types.Vector3 offset) { return 0; } |
124 | public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 124 | public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); } |
125 | public void llSetStatus(int status, int value) { return; } | 125 | public void llSetStatus(int status, int value) { return; } |
126 | public int llGetStatus(int status) { return 0; } | 126 | public int llGetStatus(int status) { return 0; } |
127 | public void llSetScale(Axiom.Math.Vector3 scale) { return; } | 127 | public void llSetScale(LSL_Types.Vector3 scale) { return; } |
128 | public Axiom.Math.Vector3 llGetScale() { return new Axiom.Math.Vector3(); } | 128 | public LSL_Types.Vector3 llGetScale() { return new LSL_Types.Vector3(); } |
129 | public void llSetColor(Axiom.Math.Vector3 color, int face) { return; } | 129 | public void llSetColor(LSL_Types.Vector3 color, int face) { return; } |
130 | public double llGetAlpha(int face) { return 0; } | 130 | public double llGetAlpha(int face) { return 0; } |
131 | public void llSetAlpha(double alpha, int face) { return; } | 131 | public void llSetAlpha(double alpha, int face) { return; } |
132 | public Axiom.Math.Vector3 llGetColor(int face) { return new Axiom.Math.Vector3(); } | 132 | public LSL_Types.Vector3 llGetColor(int face) { return new LSL_Types.Vector3(); } |
133 | public void llSetTexture(string texture, int face) { return; } | 133 | public void llSetTexture(string texture, int face) { return; } |
134 | public void llScaleTexture(double u, double v, int face) { return; } | 134 | public void llScaleTexture(double u, double v, int face) { return; } |
135 | public void llOffsetTexture(double u, double v, int face) { return; } | 135 | public void llOffsetTexture(double u, double v, int face) { return; } |
136 | public void llRotateTexture(double rotation, int face) { return; } | 136 | public void llRotateTexture(double rotation, int face) { return; } |
137 | public string llGetTexture(int face) { return ""; } | 137 | public string llGetTexture(int face) { return ""; } |
138 | public void llSetPos(Axiom.Math.Vector3 pos) { return; } | 138 | public void llSetPos(LSL_Types.Vector3 pos) { return; } |
139 | 139 | ||
140 | public Axiom.Math.Vector3 llGetPos() | 140 | public LSL_Types.Vector3 llGetPos() |
141 | { | 141 | { |
142 | throw new NotImplementedException("llGetPos"); | 142 | throw new NotImplementedException("llGetPos"); |
143 | // return m_host.AbsolutePosition; | 143 | // return m_host.AbsolutePosition; |
144 | } | 144 | } |
145 | 145 | ||
146 | public Axiom.Math.Vector3 llGetLocalPos() { return new Axiom.Math.Vector3(); } | 146 | public LSL_Types.Vector3 llGetLocalPos() { return new LSL_Types.Vector3(); } |
147 | public void llSetRot(Axiom.Math.Quaternion rot) { } | 147 | public void llSetRot(LSL_Types.Quaternion rot) { } |
148 | public Axiom.Math.Quaternion llGetRot() { return new Axiom.Math.Quaternion(); } | 148 | public LSL_Types.Quaternion llGetRot() { return new LSL_Types.Quaternion(); } |
149 | public Axiom.Math.Quaternion llGetLocalRot() { return new Axiom.Math.Quaternion(); } | 149 | public LSL_Types.Quaternion llGetLocalRot() { return new LSL_Types.Quaternion(); } |
150 | public void llSetForce(Axiom.Math.Vector3 force, int local) { } | 150 | public void llSetForce(LSL_Types.Vector3 force, int local) { } |
151 | public Axiom.Math.Vector3 llGetForce() { return new Axiom.Math.Vector3(); } | 151 | public LSL_Types.Vector3 llGetForce() { return new LSL_Types.Vector3(); } |
152 | public int llTarget(Axiom.Math.Vector3 position, double range) { return 0; } | 152 | public int llTarget(LSL_Types.Vector3 position, double range) { return 0; } |
153 | public void llTargetRemove(int number) { } | 153 | public void llTargetRemove(int number) { } |
154 | public int llRotTarget(Axiom.Math.Quaternion rot, double error) { return 0; } | 154 | public int llRotTarget(LSL_Types.Quaternion rot, double error) { return 0; } |
155 | public void llRotTargetRemove(int number) { } | 155 | public void llRotTargetRemove(int number) { } |
156 | public void llMoveToTarget(Axiom.Math.Vector3 target, double tau) { } | 156 | public void llMoveToTarget(LSL_Types.Vector3 target, double tau) { } |
157 | public void llStopMoveToTarget() { } | 157 | public void llStopMoveToTarget() { } |
158 | public void llApplyImpulse(Axiom.Math.Vector3 force, int local) { } | 158 | public void llApplyImpulse(LSL_Types.Vector3 force, int local) { } |
159 | public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local) { } | 159 | public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local) { } |
160 | public void llSetTorque(Axiom.Math.Vector3 torque, int local) { } | 160 | public void llSetTorque(LSL_Types.Vector3 torque, int local) { } |
161 | public Axiom.Math.Vector3 llGetTorque() { return new Axiom.Math.Vector3(); } | 161 | public LSL_Types.Vector3 llGetTorque() { return new LSL_Types.Vector3(); } |
162 | public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local) { } | 162 | public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local) { } |
163 | public Axiom.Math.Vector3 llGetVel() { return new Axiom.Math.Vector3(); } | 163 | public LSL_Types.Vector3 llGetVel() { return new LSL_Types.Vector3(); } |
164 | public Axiom.Math.Vector3 llGetAccel() { return new Axiom.Math.Vector3(); } | 164 | public LSL_Types.Vector3 llGetAccel() { return new LSL_Types.Vector3(); } |
165 | public Axiom.Math.Vector3 llGetOmega() { return new Axiom.Math.Vector3(); } | 165 | public LSL_Types.Vector3 llGetOmega() { return new LSL_Types.Vector3(); } |
166 | public double llGetTimeOfDay() { return 0; } | 166 | public double llGetTimeOfDay() { return 0; } |
167 | public double llGetWallclock() { return 0; } | 167 | public double llGetWallclock() { return 0; } |
168 | public double llGetTime() { return 0; } | 168 | public double llGetTime() { return 0; } |
@@ -187,8 +187,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
187 | public void llMakeFountain() { } | 187 | public void llMakeFountain() { } |
188 | public void llMakeSmoke() { } | 188 | public void llMakeSmoke() { } |
189 | public void llMakeFire() { } | 189 | public void llMakeFire() { } |
190 | public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param) { } | 190 | public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param) { } |
191 | public void llLookAt(Axiom.Math.Vector3 target, double strength, double damping) { } | 191 | public void llLookAt(LSL_Types.Vector3 target, double strength, double damping) { } |
192 | public void llStopLookAt() { } | 192 | public void llStopLookAt() { } |
193 | public void llSetTimerEvent(double sec) { } | 193 | public void llSetTimerEvent(double sec) { } |
194 | public void llSleep(double sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); } | 194 | public void llSleep(double sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); } |
@@ -210,7 +210,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
210 | public void llStopHover() { } | 210 | public void llStopHover() { } |
211 | public void llMinEventDelay(double delay) { } | 211 | public void llMinEventDelay(double delay) { } |
212 | public void llSoundPreload() { } | 212 | public void llSoundPreload() { } |
213 | public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { } | 213 | public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) { } |
214 | 214 | ||
215 | public int llStringLength(string str) | 215 | public int llStringLength(string str) |
216 | { | 216 | { |
@@ -228,14 +228,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
228 | public void llStopAnimation(string anim) { } | 228 | public void llStopAnimation(string anim) { } |
229 | public void llPointAt() { } | 229 | public void llPointAt() { } |
230 | public void llStopPointAt() { } | 230 | public void llStopPointAt() { } |
231 | public void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain) { } | 231 | public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain) { } |
232 | public int llGetStartParameter() { return 0; } | 232 | public int llGetStartParameter() { return 0; } |
233 | public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { } | 233 | public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos) { } |
234 | public void llRequestPermissions(string agent, int perm) { } | 234 | public void llRequestPermissions(string agent, int perm) { } |
235 | public string llGetPermissionsKey() { return ""; } | 235 | public string llGetPermissionsKey() { return ""; } |
236 | public int llGetPermissions() { return 0; } | 236 | public int llGetPermissions() { return 0; } |
237 | public int llGetLinkNumber() { return 0; } | 237 | public int llGetLinkNumber() { return 0; } |
238 | public void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face) { } | 238 | public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face) { } |
239 | public void llCreateLink(string target, int parent) { } | 239 | public void llCreateLink(string target, int parent) { } |
240 | public void llBreakLink(int linknum) { } | 240 | public void llBreakLink(int linknum) { } |
241 | public void llBreakAllLinks() { } | 241 | public void llBreakAllLinks() { } |
@@ -248,12 +248,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
248 | public void llGiveInventory(string destination, string inventory) { } | 248 | public void llGiveInventory(string destination, string inventory) { } |
249 | public void llRemoveInventory(string item) { } | 249 | public void llRemoveInventory(string item) { } |
250 | 250 | ||
251 | public void llSetText(string text, Axiom.Math.Vector3 color, double alpha) | 251 | public void llSetText(string text, LSL_Types.Vector3 color, double alpha) |
252 | { | 252 | { |
253 | m_host.SetText(text, color, alpha); | 253 | // TEMP DISABLED UNTIL WE CAN AGREE UPON VECTOR/ROTATION FORMAT |
254 | //m_host.SetText(text, color, alpha); | ||
254 | } | 255 | } |
255 | 256 | ||
256 | public double llWater(Axiom.Math.Vector3 offset) { return 0; } | 257 | public double llWater(LSL_Types.Vector3 offset) { return 0; } |
257 | public void llPassTouches(int pass) { } | 258 | public void llPassTouches(int pass) { } |
258 | public string llRequestAgentData(string id, int data) { return ""; } | 259 | public string llRequestAgentData(string id, int data) { return ""; } |
259 | public string llRequestInventoryData(string name) { return ""; } | 260 | public string llRequestInventoryData(string name) { return ""; } |
@@ -265,25 +266,25 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
265 | public string llGetAnimation(string id) { return ""; } | 266 | public string llGetAnimation(string id) { return ""; } |
266 | public void llResetScript() { } | 267 | public void llResetScript() { } |
267 | public void llMessageLinked(int linknum, int num, string str, string id) { } | 268 | public void llMessageLinked(int linknum, int num, string str, string id) { } |
268 | public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local) { } | 269 | public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local) { } |
269 | public void llPassCollisions(int pass) { } | 270 | public void llPassCollisions(int pass) { } |
270 | public string llGetScriptName() { return ""; } | 271 | public string llGetScriptName() { return ""; } |
271 | public int llGetNumberOfSides() { return 0; } | 272 | public int llGetNumberOfSides() { return 0; } |
272 | public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle) { return new Axiom.Math.Quaternion(); } | 273 | public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle) { return new LSL_Types.Quaternion(); } |
273 | public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return new Axiom.Math.Vector3(); } | 274 | public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot) { return new LSL_Types.Vector3(); } |
274 | public void llRot2Angle() { } | 275 | public void llRot2Angle() { } |
275 | public double llAcos(double val) { return (double)Math.Acos(val); } | 276 | public double llAcos(double val) { return (double)Math.Acos(val); } |
276 | public double llAsin(double val) { return (double)Math.Asin(val); } | 277 | public double llAsin(double val) { return (double)Math.Asin(val); } |
277 | public double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return 0; } | 278 | public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b) { return 0; } |
278 | public string llGetInventoryKey(string name) { return ""; } | 279 | public string llGetInventoryKey(string name) { return ""; } |
279 | public void llAllowInventoryDrop(int add) { } | 280 | public void llAllowInventoryDrop(int add) { } |
280 | public Axiom.Math.Vector3 llGetSunDirection() { return new Axiom.Math.Vector3(); } | 281 | public LSL_Types.Vector3 llGetSunDirection() { return new LSL_Types.Vector3(); } |
281 | public Axiom.Math.Vector3 llGetTextureOffset(int face) { return new Axiom.Math.Vector3(); } | 282 | public LSL_Types.Vector3 llGetTextureOffset(int face) { return new LSL_Types.Vector3(); } |
282 | public Axiom.Math.Vector3 llGetTextureScale(int side) { return new Axiom.Math.Vector3(); } | 283 | public LSL_Types.Vector3 llGetTextureScale(int side) { return new LSL_Types.Vector3(); } |
283 | public double llGetTextureRot(int side) { return 0; } | 284 | public double llGetTextureRot(int side) { return 0; } |
284 | public int llSubStringIndex(string source, string pattern) { return 0; } | 285 | public int llSubStringIndex(string source, string pattern) { return 0; } |
285 | public string llGetOwnerKey(string id) { return ""; } | 286 | public string llGetOwnerKey(string id) { return ""; } |
286 | public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } | 287 | public LSL_Types.Vector3 llGetCenterOfMass() { return new LSL_Types.Vector3(); } |
287 | public List<string> llListSort(List<string> src, int stride, int ascending) | 288 | public List<string> llListSort(List<string> src, int stride, int ascending) |
288 | { return new List<string>(); } | 289 | { return new List<string>(); } |
289 | public int llGetListLength(List<string> src) { return 0; } | 290 | public int llGetListLength(List<string> src) { return 0; } |
@@ -291,10 +292,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
291 | public double llList2double(List<string> src, int index) { return 0; } | 292 | public double llList2double(List<string> src, int index) { return 0; } |
292 | public string llList2String(List<string> src, int index) { return ""; } | 293 | public string llList2String(List<string> src, int index) { return ""; } |
293 | public string llList2Key(List<string> src, int index) { return ""; } | 294 | public string llList2Key(List<string> src, int index) { return ""; } |
294 | public Axiom.Math.Vector3 llList2Vector(List<string> src, int index) | 295 | public LSL_Types.Vector3 llList2Vector(List<string> src, int index) |
295 | { return new Axiom.Math.Vector3(); } | 296 | { return new LSL_Types.Vector3(); } |
296 | public Axiom.Math.Quaternion llList2Rot(List<string> src, int index) | 297 | public LSL_Types.Quaternion llList2Rot(List<string> src, int index) |
297 | { return new Axiom.Math.Quaternion(); } | 298 | { return new LSL_Types.Quaternion(); } |
298 | public List<string> llList2List(List<string> src, int start, int end) | 299 | public List<string> llList2List(List<string> src, int start, int end) |
299 | { return new List<string>(); } | 300 | { return new List<string>(); } |
300 | public List<string> llDeleteSubList(List<string> src, int start, int end) | 301 | public List<string> llDeleteSubList(List<string> src, int start, int end) |
@@ -307,33 +308,33 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
307 | { return new List<string>(); } | 308 | { return new List<string>(); } |
308 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) | 309 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) |
309 | { return new List<string>(); } | 310 | { return new List<string>(); } |
310 | public Axiom.Math.Vector3 llGetRegionCorner() | 311 | public LSL_Types.Vector3 llGetRegionCorner() |
311 | { return new Axiom.Math.Vector3(World.RegionInfo.RegionLocX * 256, World.RegionInfo.RegionLocY * 256, 0); } | 312 | { return new LSL_Types.Vector3(World.RegionInfo.RegionLocX * 256, World.RegionInfo.RegionLocY * 256, 0); } |
312 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) | 313 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) |
313 | { return new List<string>(); } | 314 | { return new List<string>(); } |
314 | public int llListFindList(List<string> src, List<string> test) { return 0; } | 315 | public int llListFindList(List<string> src, List<string> test) { return 0; } |
315 | public string llGetObjectName() { return ""; } | 316 | public string llGetObjectName() { return ""; } |
316 | public void llSetObjectName(string name) { } | 317 | public void llSetObjectName(string name) { } |
317 | public string llGetDate() { return ""; } | 318 | public string llGetDate() { return ""; } |
318 | public int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return 0; } | 319 | public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) { return 0; } |
319 | public int llGetAgentInfo(string id) { return 0; } | 320 | public int llGetAgentInfo(string id) { return 0; } |
320 | public void llAdjustSoundVolume(double volume) { } | 321 | public void llAdjustSoundVolume(double volume) { } |
321 | public void llSetSoundQueueing(int queue) { } | 322 | public void llSetSoundQueueing(int queue) { } |
322 | public void llSetSoundRadius(double radius) { } | 323 | public void llSetSoundRadius(double radius) { } |
323 | public string llKey2Name(string id) { return ""; } | 324 | public string llKey2Name(string id) { return ""; } |
324 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { } | 325 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { } |
325 | public void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { } | 326 | public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west) { } |
326 | public void llEjectFromLand(string pest) { } | 327 | public void llEjectFromLand(string pest) { } |
327 | public void llParseString2List() { } | 328 | public void llParseString2List() { } |
328 | public int llOverMyLand(string id) { return 0; } | 329 | public int llOverMyLand(string id) { return 0; } |
329 | public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return ""; } | 330 | public string llGetLandOwnerAt(LSL_Types.Vector3 pos) { return ""; } |
330 | public string llGetNotecardLine(string name, int line) { return ""; } | 331 | public string llGetNotecardLine(string name, int line) { return ""; } |
331 | public Axiom.Math.Vector3 llGetAgentSize(string id) { return new Axiom.Math.Vector3(); } | 332 | public LSL_Types.Vector3 llGetAgentSize(string id) { return new LSL_Types.Vector3(); } |
332 | public int llSameGroup(string agent) { return 0; } | 333 | public int llSameGroup(string agent) { return 0; } |
333 | public void llUnSit(string id) { } | 334 | public void llUnSit(string id) { } |
334 | public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 335 | public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); } |
335 | public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 336 | public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); } |
336 | public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 337 | public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); } |
337 | public int llGetAttached() { return 0; } | 338 | public int llGetAttached() { return 0; } |
338 | public int llGetFreeMemory() { return 0; } | 339 | public int llGetFreeMemory() { return 0; } |
339 | public string llGetRegionName() { return m_manager.RegionName; } | 340 | public string llGetRegionName() { return m_manager.RegionName; } |
@@ -344,11 +345,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
344 | public void llGiveInventoryList() { } | 345 | public void llGiveInventoryList() { } |
345 | public void llSetVehicleType(int type) { } | 346 | public void llSetVehicleType(int type) { } |
346 | public void llSetVehicledoubleParam(int param, double value) { } | 347 | public void llSetVehicledoubleParam(int param, double value) { } |
347 | public void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec) { } | 348 | public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) { } |
348 | public void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot) { } | 349 | public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot) { } |
349 | public void llSetVehicleFlags(int flags) { } | 350 | public void llSetVehicleFlags(int flags) { } |
350 | public void llRemoveVehicleFlags(int flags) { } | 351 | public void llRemoveVehicleFlags(int flags) { } |
351 | public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { } | 352 | public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot) { } |
352 | public string llAvatarOnSitTarget() { return ""; } | 353 | public string llAvatarOnSitTarget() { return ""; } |
353 | public void llAddToLandPassList(string avatar, double hours) { } | 354 | public void llAddToLandPassList(string avatar, double hours) { } |
354 | public void llSetTouchText(string text) | 355 | public void llSetTouchText(string text) |
@@ -358,10 +359,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
358 | public void llSetSitText(string text) | 359 | public void llSetSitText(string text) |
359 | { | 360 | { |
360 | } | 361 | } |
361 | public void llSetCameraEyeOffset(Axiom.Math.Vector3 offset) { } | 362 | public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) { } |
362 | public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } | 363 | public void llSetCameraAtOffset(LSL_Types.Vector3 offset) { } |
363 | public void llDumpList2String() { } | 364 | public void llDumpList2String() { } |
364 | public void llScriptDanger(Axiom.Math.Vector3 pos) { } | 365 | public void llScriptDanger(LSL_Types.Vector3 pos) { } |
365 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { } | 366 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { } |
366 | public void llVolumeDetect(int detect) { } | 367 | public void llVolumeDetect(int detect) { } |
367 | public void llResetOtherScript(string name) { } | 368 | public void llResetOtherScript(string name) { } |
@@ -387,15 +388,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
387 | public List<string> llGetAnimationList(string id) { return new List<string>(); } | 388 | public List<string> llGetAnimationList(string id) { return new List<string>(); } |
388 | public void llSetParcelMusicURL(string url) { } | 389 | public void llSetParcelMusicURL(string url) { } |
389 | 390 | ||
390 | public Axiom.Math.Vector3 llGetRootPosition() | 391 | public LSL_Types.Vector3 llGetRootPosition() |
391 | { | 392 | { |
392 | throw new NotImplementedException("llGetRootPosition"); | 393 | throw new NotImplementedException("llGetRootPosition"); |
393 | //return m_root.AbsolutePosition; | 394 | //return m_root.AbsolutePosition; |
394 | } | 395 | } |
395 | 396 | ||
396 | public Axiom.Math.Quaternion llGetRootRotation() | 397 | public LSL_Types.Quaternion llGetRootRotation() |
397 | { | 398 | { |
398 | return new Axiom.Math.Quaternion(); | 399 | return new LSL_Types.Quaternion(); |
399 | } | 400 | } |
400 | 401 | ||
401 | public string llGetObjectDesc() { return ""; } | 402 | public string llGetObjectDesc() { return ""; } |
@@ -406,16 +407,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
406 | public int llGetNumberOfPrims() { return 0; } | 407 | public int llGetNumberOfPrims() { return 0; } |
407 | public string llGetNumberOfNotecardLines(string name) { return ""; } | 408 | public string llGetNumberOfNotecardLines(string name) { return ""; } |
408 | public List<string> llGetBoundingBox(string obj) { return new List<string>(); } | 409 | public List<string> llGetBoundingBox(string obj) { return new List<string>(); } |
409 | public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } | 410 | public LSL_Types.Vector3 llGetGeometricCenter() { return new LSL_Types.Vector3(); } |
410 | public void llGetPrimitiveParams() { } | 411 | public void llGetPrimitiveParams() { } |
411 | public string llIntegerToBase64(int number) { return ""; } | 412 | public string llIntegerToBase64(int number) { return ""; } |
412 | public int llBase64ToInteger(string str) { return 0; } | 413 | public int llBase64ToInteger(string str) { return 0; } |
413 | public double llGetGMTclock() { return 0; } | 414 | public double llGetGMTclock() { return 0; } |
414 | public string llGetSimulatorHostname() { return ""; } | 415 | public string llGetSimulatorHostname() { return ""; } |
415 | public void llSetLocalRot(Axiom.Math.Quaternion rot) { } | 416 | public void llSetLocalRot(LSL_Types.Quaternion rot) { } |
416 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) | 417 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) |
417 | { return new List<string>(); } | 418 | { return new List<string>(); } |
418 | public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param) { } | 419 | public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param) { } |
419 | public int llGetObjectPermMask(int mask) { return 0; } | 420 | public int llGetObjectPermMask(int mask) { return 0; } |
420 | public void llSetObjectPermMask(int mask, int value) { } | 421 | public void llSetObjectPermMask(int mask, int value) { } |
421 | public void llGetInventoryPermMask(string item, int mask) { } | 422 | public void llGetInventoryPermMask(string item, int mask) { } |
@@ -440,13 +441,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
440 | 441 | ||
441 | public int llGetInventoryType(string name) { return 0; } | 442 | public int llGetInventoryType(string name) { return 0; } |
442 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) { } | 443 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) { } |
443 | public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } | 444 | public LSL_Types.Vector3 llGetCameraPos() { return new LSL_Types.Vector3(); } |
444 | public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } | 445 | public LSL_Types.Quaternion llGetCameraRot() { return new LSL_Types.Quaternion(); } |
445 | public void llSetPrimURL() { } | 446 | public void llSetPrimURL() { } |
446 | public void llRefreshPrimURL() { } | 447 | public void llRefreshPrimURL() { } |
447 | public string llEscapeURL(string url) { return ""; } | 448 | public string llEscapeURL(string url) { return ""; } |
448 | public string llUnescapeURL(string url) { return ""; } | 449 | public string llUnescapeURL(string url) { return ""; } |
449 | public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { } | 450 | public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at) { } |
450 | public void llAddToLandBanList(string avatar, double hours) { } | 451 | public void llAddToLandBanList(string avatar, double hours) { } |
451 | public void llRemoveFromLandPassList(string avatar) { } | 452 | public void llRemoveFromLandPassList(string avatar) { } |
452 | public void llRemoveFromLandBanList(string avatar) { } | 453 | public void llRemoveFromLandBanList(string avatar) { } |
@@ -457,17 +458,17 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
457 | { | 458 | { |
458 | return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); | 459 | return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); |
459 | } | 460 | } |
460 | public int llGetParcelFlags(Axiom.Math.Vector3 pos) { return 0; } | 461 | public int llGetParcelFlags(LSL_Types.Vector3 pos) { return 0; } |
461 | public int llGetRegionFlags() { return 0; } | 462 | public int llGetRegionFlags() { return 0; } |
462 | public string llXorBase64StringsCorrect(string str1, string str2) { return ""; } | 463 | public string llXorBase64StringsCorrect(string str1, string str2) { return ""; } |
463 | public void llHTTPRequest() { } | 464 | public void llHTTPRequest() { } |
464 | public void llResetLandBanList() { } | 465 | public void llResetLandBanList() { } |
465 | public void llResetLandPassList() { } | 466 | public void llResetLandPassList() { } |
466 | public int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide) { return 0; } | 467 | public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) { return 0; } |
467 | public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return new List<string>(); } | 468 | public List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos) { return new List<string>(); } |
468 | public int llGetObjectPrimCount(string object_id) { return 0; } | 469 | public int llGetObjectPrimCount(string object_id) { return 0; } |
469 | public int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide) { return 0; } | 470 | public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) { return 0; } |
470 | public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return new List<string>(); } | 471 | public List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param) { return new List<string>(); } |
471 | 472 | ||
472 | 473 | ||
473 | } | 474 | } |