diff options
author | Tedd Hansen | 2007-08-15 19:25:29 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-15 19:25:29 +0000 |
commit | 9c3251b1777cee909246f468aa672c2164a45076 (patch) | |
tree | 9e27669da596becd2647d350ea617b9fa70e27d6 /OpenSim | |
parent | *Added the ability to run commands after all regions have started up (diff) | |
download | opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.zip opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.tar.gz opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.tar.bz2 opensim-SC-9c3251b1777cee909246f468aa672c2164a45076.tar.xz |
Bugfixes in LSL compiler. Changed most datatypes to int (instead of UInt32) and double (instead of float).
Diffstat (limited to 'OpenSim')
4 files changed, 774 insertions, 436 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs index 6fe111f..4ed7bd4 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs | |||
@@ -40,6 +40,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
40 | 40 | ||
41 | Common.SendToDebug("Compiling"); | 41 | Common.SendToDebug("Compiling"); |
42 | 42 | ||
43 | // DEBUG - write source to disk | ||
44 | try | ||
45 | { | ||
46 | File.WriteAllText(Path.Combine("ScriptEngines", "debug_" + Path.GetFileNameWithoutExtension(LSOFileName) + ".cs"), CS_Code); | ||
47 | } | ||
48 | catch { } | ||
49 | |||
43 | // Do actual compile | 50 | // Do actual compile |
44 | System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); | 51 | System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); |
45 | parameters.IncludeDebugInformation = true; | 52 | parameters.IncludeDebugInformation = true; |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs index 5c5ac92..13e3f2e 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs | |||
@@ -15,7 +15,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
15 | { | 15 | { |
16 | DataTypes.Add("void", "void"); | 16 | DataTypes.Add("void", "void"); |
17 | DataTypes.Add("integer", "int"); | 17 | DataTypes.Add("integer", "int"); |
18 | DataTypes.Add("float", "float"); | 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", "Axiom.Math.Vector3"); |
@@ -58,6 +58,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
58 | C = Script.Substring(p, 1); | 58 | C = Script.Substring(p, 1); |
59 | while (true) | 59 | while (true) |
60 | { | 60 | { |
61 | // found " and last was not \ so this is not an escaped \" | ||
61 | if (C == "\"" && last_was_escape == false) | 62 | if (C == "\"" && last_was_escape == false) |
62 | { | 63 | { |
63 | // Toggle inside/outside quote | 64 | // Toggle inside/outside quote |
@@ -68,12 +69,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
68 | } | 69 | } |
69 | else | 70 | else |
70 | { | 71 | { |
72 | if (quote == "") | ||
73 | { | ||
74 | // We didn't replace quote, probably because of empty string? | ||
75 | _Script += quote_replacement_string + quote_replaced_count.ToString().PadLeft(5, "0".ToCharArray()[0]); | ||
76 | } | ||
71 | // We just left a quote | 77 | // We just left a quote |
72 | QUOTES.Add(quote_replacement_string + quote_replaced_count.ToString().PadLeft(5, "0".ToCharArray()[0]), quote); | 78 | QUOTES.Add(quote_replacement_string + quote_replaced_count.ToString().PadLeft(5, "0".ToCharArray()[0]), quote); |
73 | quote = ""; | 79 | quote = ""; |
74 | } | 80 | } |
75 | break; | 81 | break; |
76 | } | 82 | } |
83 | |||
77 | if (!in_quote) | 84 | if (!in_quote) |
78 | { | 85 | { |
79 | // We are not inside a quote | 86 | // We are not inside a quote |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index 4af438a..90c9055 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -20,23 +20,23 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
20 | return; | 20 | return; |
21 | } | 21 | } |
22 | 22 | ||
23 | //These are the implementations of the various ll-functions used by the LSL scripts. | 23 | //These are the implementations of the various ll-functions used by the LSL scripts. |
24 | //starting out, we use the System.Math library for trig functions. - CFK 8-14-07 | 24 | //starting out, we use the System.Math library for trig functions. - CFK 8-14-07 |
25 | public float llSin(float f) { return (float)Math.Sin(f); } | 25 | public double llSin(double f) { return (double)Math.Sin(f); } |
26 | public float llCos(float f) { return (float)Math.Cos(f); } | 26 | public double llCos(double f) { return (double)Math.Cos(f); } |
27 | public float llTan(float f) { return (float)Math.Tan(f); } | 27 | public double llTan(double f) { return (double)Math.Tan(f); } |
28 | public float llAtan2(float x, float y) { return (float)Math.Atan2(y, x); } | 28 | public double llAtan2(double x, double y) { return (double)Math.Atan2(y, x); } |
29 | public float llSqrt(float f) { return (float)Math.Sqrt(f); } | 29 | public double llSqrt(double f) { return (double)Math.Sqrt(f); } |
30 | public float llPow(float fbase, float fexponent) { return (float)Math.Pow(fbase, fexponent); } | 30 | public double llPow(double fbase, double fexponent) { return (double)Math.Pow(fbase, fexponent); } |
31 | public Int32 llAbs(Int32 i) { return (Int32)Math.Abs(i); } | 31 | public int llAbs(int i) { return (int)Math.Abs(i); } |
32 | public float llFabs(float f) { return (float)Math.Abs(f); } | 32 | public double llFabs(double f) { return (double)Math.Abs(f); } |
33 | public float llFrand(float mag) { return 0; } | 33 | public double llFrand(double mag) { return 0; } |
34 | public Int32 llFloor(float f) { return (Int32)Math.Floor(f); } | 34 | public int llFloor(double f) { return (int)Math.Floor(f); } |
35 | public Int32 llCeil(float f) { return (Int32)Math.Ceiling(f); } | 35 | public int llCeil(double f) { return (int)Math.Ceiling(f); } |
36 | public Int32 llRound(float f) { return (Int32)Math.Round(f, 1); } | 36 | public int llRound(double f) { return (int)Math.Round(f, 1); } |
37 | public float llVecMag(Axiom.Math.Vector3 v) { return 0; } | 37 | public double llVecMag(Axiom.Math.Vector3 v) { return 0; } |
38 | public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } | 38 | public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } |
39 | public float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } | 39 | public double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } |
40 | public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } | 40 | public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } |
41 | public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return new Axiom.Math.Quaternion(); } | 41 | public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return new Axiom.Math.Quaternion(); } |
42 | public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return new Axiom.Math.Quaternion(); } | 42 | public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return new Axiom.Math.Quaternion(); } |
@@ -52,54 +52,55 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
52 | //World.SimChat(enc.GetBytes(text), 0, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)], MY_OBJECT_NAME, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)]); | 52 | //World.SimChat(enc.GetBytes(text), 0, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)], MY_OBJECT_NAME, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)]); |
53 | 53 | ||
54 | } | 54 | } |
55 | //public void llSay(UInt32 channelID, string text) | 55 | //public void llSay(int channelID, string text) |
56 | public void llSay(int channelID, string text) | 56 | public void llSay(int channelID, string text) |
57 | { | 57 | { |
58 | //TODO: DO SOMETHING USEFUL HERE | 58 | //TODO: DO SOMETHING USEFUL HERE |
59 | //Common.SendToDebug("INTERNAL FUNCTION llSay(" + (UInt32)channelID + ", \"" + (string)text + "\");"); | 59 | //Common.SendToDebug("INTERNAL FUNCTION llSay(" + (int)channelID + ", \"" + (string)text + "\");"); |
60 | Console.WriteLine("llSay Channel " + channelID + ", Text: \"" + text + "\""); | 60 | Console.WriteLine("llSay Channel " + channelID + ", Text: \"" + text + "\""); |
61 | //type for say is 1 | 61 | //type for say is 1 |
62 | //World.SimChat(enc.GetBytes(text), 1, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)], MY_OBJECT_NAME, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)]); | 62 | //World.SimChat(enc.GetBytes(text), 1, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)], MY_OBJECT_NAME, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)]); |
63 | } | 63 | } |
64 | public void llShout(UInt16 channelID, string text) { | 64 | public void llShout(int channelID, string text) |
65 | { | ||
65 | Console.WriteLine("llShout Channel " + channelID + ", Text: \"" + text + "\""); | 66 | Console.WriteLine("llShout Channel " + channelID + ", Text: \"" + text + "\""); |
66 | //type for shout is 2 | 67 | //type for shout is 2 |
67 | //World.SimChat(enc.GetBytes(text), 2, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)], MY_OBJECT_NAME, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)]); | 68 | //World.SimChat(enc.GetBytes(text), 2, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)], MY_OBJECT_NAME, World.Objects[World.ConvertLocalIDToFullID(MY_OBJECT_ID)]); |
68 | 69 | ||
69 | } | 70 | } |
70 | public UInt32 llListen(UInt16 channelID, string name, string ID, string msg) { return 0; } | 71 | public int llListen(int channelID, string name, string ID, string msg) { return 0; } |
71 | public void llListenControl(UInt32 number, UInt32 active) { return; } | 72 | public void llListenControl(int number, int active) { return; } |
72 | public void llListenRemove(UInt32 number) { return; } | 73 | public void llListenRemove(int number) { return; } |
73 | public void llSensor(string name, string id, UInt32 type, float range, float arc) { return; } | 74 | public void llSensor(string name, string id, int type, double range, double arc) { return; } |
74 | public void llSensorRepeat(string name, string id, UInt32 type, float range, float arc, float rate) { return; } | 75 | public void llSensorRepeat(string name, string id, int type, double range, double arc, double rate) { return; } |
75 | public void llSensorRemove() { return; } | 76 | public void llSensorRemove() { return; } |
76 | public string llDetectedName(UInt32 number) { return ""; } | 77 | public string llDetectedName(int number) { return ""; } |
77 | public string llDetectedKey(UInt32 number) { return ""; } | 78 | public string llDetectedKey(int number) { return ""; } |
78 | public string llDetectedOwner(UInt32 number) { return ""; } | 79 | public string llDetectedOwner(int number) { return ""; } |
79 | public UInt32 llDetectedType(UInt32 number) { return 0; } | 80 | public int llDetectedType(int number) { return 0; } |
80 | public Axiom.Math.Vector3 llDetectedPos(UInt32 number) { return new Axiom.Math.Vector3(); } | 81 | public Axiom.Math.Vector3 llDetectedPos(int number) { return new Axiom.Math.Vector3(); } |
81 | public Axiom.Math.Vector3 llDetectedVel(UInt32 number) { return new Axiom.Math.Vector3(); } | 82 | public Axiom.Math.Vector3 llDetectedVel(int number) { return new Axiom.Math.Vector3(); } |
82 | public Axiom.Math.Vector3 llDetectedGrab(UInt32 number) { return new Axiom.Math.Vector3(); } | 83 | public Axiom.Math.Vector3 llDetectedGrab(int number) { return new Axiom.Math.Vector3(); } |
83 | public Axiom.Math.Quaternion llDetectedRot(UInt32 number) { return new Axiom.Math.Quaternion(); } | 84 | public Axiom.Math.Quaternion llDetectedRot(int number) { return new Axiom.Math.Quaternion(); } |
84 | public UInt32 llDetectedGroup(UInt32 number) { return 0; } | 85 | public int llDetectedGroup(int number) { return 0; } |
85 | public UInt32 llDetectedLinkNumber(UInt32 number) { return 0; } | 86 | public int llDetectedLinkNumber(int number) { return 0; } |
86 | public void llDie() { return; } | 87 | public void llDie() { return; } |
87 | public float llGround(Axiom.Math.Vector3 offset) { return 0; } | 88 | public double llGround(Axiom.Math.Vector3 offset) { return 0; } |
88 | public float llCloud(Axiom.Math.Vector3 offset) { return 0; } | 89 | public double llCloud(Axiom.Math.Vector3 offset) { return 0; } |
89 | public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 90 | public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } |
90 | public void llSetStatus(UInt32 status, UInt32 value) { return; } | 91 | public void llSetStatus(int status, int value) { return; } |
91 | public UInt32 llGetStatus(UInt32 status) { return 0; } | 92 | public int llGetStatus(int status) { return 0; } |
92 | public void llSetScale(Axiom.Math.Vector3 scale) { return; } | 93 | public void llSetScale(Axiom.Math.Vector3 scale) { return; } |
93 | public Axiom.Math.Vector3 llGetScale() { return new Axiom.Math.Vector3(); } | 94 | public Axiom.Math.Vector3 llGetScale() { return new Axiom.Math.Vector3(); } |
94 | public void llSetColor(Axiom.Math.Vector3 color, UInt32 face) { return; } | 95 | public void llSetColor(Axiom.Math.Vector3 color, int face) { return; } |
95 | public float llGetAlpha(UInt32 face) { return 0; } | 96 | public double llGetAlpha(int face) { return 0; } |
96 | public void llSetAlpha(float alpha, UInt32 face) { return; } | 97 | public void llSetAlpha(double alpha, int face) { return; } |
97 | public Axiom.Math.Vector3 llGetColor(UInt32 face) { return new Axiom.Math.Vector3(); } | 98 | public Axiom.Math.Vector3 llGetColor(int face) { return new Axiom.Math.Vector3(); } |
98 | public void llSetTexture(string texture, UInt32 face) { return; } | 99 | public void llSetTexture(string texture, int face) { return; } |
99 | public void llScaleTexture(float u, float v, UInt32 face) { return; } | 100 | public void llScaleTexture(double u, double v, int face) { return; } |
100 | public void llOffsetTexture(float u, float v, UInt32 face) { return; } | 101 | public void llOffsetTexture(double u, double v, int face) { return; } |
101 | public void llRotateTexture(float rotation, UInt32 face) { return; } | 102 | public void llRotateTexture(double rotation, int face) { return; } |
102 | public string llGetTexture(UInt32 face) { return ""; } | 103 | public string llGetTexture(int face) { return ""; } |
103 | public void llSetPos(Axiom.Math.Vector3 pos) { return; } | 104 | public void llSetPos(Axiom.Math.Vector3 pos) { return; } |
104 | 105 | ||
105 | 106 | ||
@@ -108,56 +109,56 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
108 | public void llSetRot(Axiom.Math.Quaternion rot) { } | 109 | public void llSetRot(Axiom.Math.Quaternion rot) { } |
109 | public Axiom.Math.Quaternion llGetRot() { return new Axiom.Math.Quaternion(); } | 110 | public Axiom.Math.Quaternion llGetRot() { return new Axiom.Math.Quaternion(); } |
110 | public Axiom.Math.Quaternion llGetLocalRot() { return new Axiom.Math.Quaternion(); } | 111 | public Axiom.Math.Quaternion llGetLocalRot() { return new Axiom.Math.Quaternion(); } |
111 | public void llSetForce(Axiom.Math.Vector3 force, Int32 local) { } | 112 | public void llSetForce(Axiom.Math.Vector3 force, int local) { } |
112 | public Axiom.Math.Vector3 llGetForce() { return new Axiom.Math.Vector3(); } | 113 | public Axiom.Math.Vector3 llGetForce() { return new Axiom.Math.Vector3(); } |
113 | public Int32 llTarget(Axiom.Math.Vector3 position, float range) { return 0; } | 114 | public int llTarget(Axiom.Math.Vector3 position, double range) { return 0; } |
114 | public void llTargetRemove(Int32 number) { } | 115 | public void llTargetRemove(int number) { } |
115 | public Int32 llRotTarget(Axiom.Math.Quaternion rot, float error) { return 0; } | 116 | public int llRotTarget(Axiom.Math.Quaternion rot, double error) { return 0; } |
116 | public void llRotTargetRemove(Int32 number) { } | 117 | public void llRotTargetRemove(int number) { } |
117 | public void llMoveToTarget(Axiom.Math.Vector3 target, float tau) { } | 118 | public void llMoveToTarget(Axiom.Math.Vector3 target, double tau) { } |
118 | public void llStopMoveToTarget() { } | 119 | public void llStopMoveToTarget() { } |
119 | public void llApplyImpulse(Axiom.Math.Vector3 force, Int32 local) { } | 120 | public void llApplyImpulse(Axiom.Math.Vector3 force, int local) { } |
120 | public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, Int32 local) { } | 121 | public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local) { } |
121 | public void llSetTorque(Axiom.Math.Vector3 torque, Int32 local) { } | 122 | public void llSetTorque(Axiom.Math.Vector3 torque, int local) { } |
122 | public Axiom.Math.Vector3 llGetTorque() { return new Axiom.Math.Vector3(); } | 123 | public Axiom.Math.Vector3 llGetTorque() { return new Axiom.Math.Vector3(); } |
123 | public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, Int32 local) { } | 124 | public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local) { } |
124 | public Axiom.Math.Vector3 llGetVel() { return new Axiom.Math.Vector3(); } | 125 | public Axiom.Math.Vector3 llGetVel() { return new Axiom.Math.Vector3(); } |
125 | public Axiom.Math.Vector3 llGetAccel() { return new Axiom.Math.Vector3(); } | 126 | public Axiom.Math.Vector3 llGetAccel() { return new Axiom.Math.Vector3(); } |
126 | public Axiom.Math.Vector3 llGetOmega() { return new Axiom.Math.Vector3(); } | 127 | public Axiom.Math.Vector3 llGetOmega() { return new Axiom.Math.Vector3(); } |
127 | public float llGetTimeOfDay() { return 0; } | 128 | public double llGetTimeOfDay() { return 0; } |
128 | public float llGetWallclock() { return 0; } | 129 | public double llGetWallclock() { return 0; } |
129 | public float llGetTime() { return 0; } | 130 | public double llGetTime() { return 0; } |
130 | public void llResetTime() { } | 131 | public void llResetTime() { } |
131 | public float llGetAndResetTime() { return 0; } | 132 | public double llGetAndResetTime() { return 0; } |
132 | public void llSound() { } | 133 | public void llSound() { } |
133 | public void llPlaySound(string sound, float volume) { } | 134 | public void llPlaySound(string sound, double volume) { } |
134 | public void llLoopSound(string sound, float volume) { } | 135 | public void llLoopSound(string sound, double volume) { } |
135 | public void llLoopSoundMaster(string sound, float volume) { } | 136 | public void llLoopSoundMaster(string sound, double volume) { } |
136 | public void llLoopSoundSlave(string sound, float volume) { } | 137 | public void llLoopSoundSlave(string sound, double volume) { } |
137 | public void llPlaySoundSlave(string sound, float volume) { } | 138 | public void llPlaySoundSlave(string sound, double volume) { } |
138 | public void llTriggerSound(string sound, float volume) { } | 139 | public void llTriggerSound(string sound, double volume) { } |
139 | public void llStopSound() { } | 140 | public void llStopSound() { } |
140 | public void llPreloadSound(string sound) { } | 141 | public void llPreloadSound(string sound) { } |
141 | public void llGetSubString(string src, Int32 start, Int32 end) { } | 142 | public void llGetSubString(string src, int start, int end) { } |
142 | public string llDeleteSubString(string src, Int32 start, Int32 end) { return ""; } | 143 | public string llDeleteSubString(string src, int start, int end) { return ""; } |
143 | public void llInsertString(string dst, Int32 position, string src) { } | 144 | public void llInsertString(string dst, int position, string src) { } |
144 | public string llToUpper(string source) { return ""; } | 145 | public string llToUpper(string source) { return ""; } |
145 | public string llToLower(string source) { return ""; } | 146 | public string llToLower(string source) { return ""; } |
146 | public Int32 llGiveMoney(string destination, Int32 amount) { return 0; } | 147 | public int llGiveMoney(string destination, int amount) { return 0; } |
147 | public void llMakeExplosion() { } | 148 | public void llMakeExplosion() { } |
148 | public void llMakeFountain() { } | 149 | public void llMakeFountain() { } |
149 | public void llMakeSmoke() { } | 150 | public void llMakeSmoke() { } |
150 | public void llMakeFire() { } | 151 | public void llMakeFire() { } |
151 | public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, Int32 param) { } | 152 | public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param) { } |
152 | public void llLookAt(Axiom.Math.Vector3 target, float strength, float damping) { } | 153 | public void llLookAt(Axiom.Math.Vector3 target, double strength, double damping) { } |
153 | public void llStopLookAt() { } | 154 | public void llStopLookAt() { } |
154 | public void llSetTimerEvent(float sec) { } | 155 | public void llSetTimerEvent(double sec) { } |
155 | public void llSleep(float sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); } | 156 | public void llSleep(double sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); } |
156 | public float llGetMass() { return 0; } | 157 | public double llGetMass() { return 0; } |
157 | public void llCollisionFilter(string name, string id, Int32 accept) { } | 158 | public void llCollisionFilter(string name, string id, int accept) { } |
158 | public void llTakeControls(Int32 controls, Int32 accept, Int32 pass_on) { } | 159 | public void llTakeControls(int controls, int accept, int pass_on) { } |
159 | public void llReleaseControls() { } | 160 | public void llReleaseControls() { } |
160 | public void llAttachToAvatar(Int32 attachment) { } | 161 | public void llAttachToAvatar(int attachment) { } |
161 | public void llDetachFromAvatar() { } | 162 | public void llDetachFromAvatar() { } |
162 | public void llTakeCamera() { } | 163 | public void llTakeCamera() { } |
163 | public void llReleaseCamera() { } | 164 | public void llReleaseCamera() { } |
@@ -166,135 +167,135 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
166 | public void llEmail(string address, string subject, string message) { } | 167 | public void llEmail(string address, string subject, string message) { } |
167 | public void llGetNextEmail(string address, string subject) { } | 168 | public void llGetNextEmail(string address, string subject) { } |
168 | public string llGetKey() { return ""; } | 169 | public string llGetKey() { return ""; } |
169 | public void llSetBuoyancy(float buoyancy) { } | 170 | public void llSetBuoyancy(double buoyancy) { } |
170 | public void llSetHoverHeight(float height, Int32 water, float tau) { } | 171 | public void llSetHoverHeight(double height, int water, double tau) { } |
171 | public void llStopHover() { } | 172 | public void llStopHover() { } |
172 | public void llMinEventDelay(float delay) { } | 173 | public void llMinEventDelay(double delay) { } |
173 | public void llSoundPreload() { } | 174 | public void llSoundPreload() { } |
174 | public void llRotLookAt(Axiom.Math.Quaternion target, float strength, float damping) { } | 175 | public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { } |
175 | public Int32 llStringLength(string str) { return 0; } | 176 | public int llStringLength(string str) { return 0; } |
176 | public void llStartAnimation(string anim) { } | 177 | public void llStartAnimation(string anim) { } |
177 | public void llStopAnimation(string anim) { } | 178 | public void llStopAnimation(string anim) { } |
178 | public void llPointAt() { } | 179 | public void llPointAt() { } |
179 | public void llStopPointAt() { } | 180 | public void llStopPointAt() { } |
180 | public void llTargetOmega(Axiom.Math.Vector3 axis, float spinrate, float gain) { } | 181 | public void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain) { } |
181 | public Int32 llGetStartParameter() { return 0; } | 182 | public int llGetStartParameter() { return 0; } |
182 | public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { } | 183 | public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { } |
183 | public void llRequestPermissions(string agent, Int32 perm) { } | 184 | public void llRequestPermissions(string agent, int perm) { } |
184 | public string llGetPermissionsKey() { return ""; } | 185 | public string llGetPermissionsKey() { return ""; } |
185 | public Int32 llGetPermissions() { return 0; } | 186 | public int llGetPermissions() { return 0; } |
186 | public Int32 llGetLinkNumber() { return 0; } | 187 | public int llGetLinkNumber() { return 0; } |
187 | public void llSetLinkColor(Int32 linknumber, Axiom.Math.Vector3 color, Int32 face) { } | 188 | public void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face) { } |
188 | public void llCreateLink(string target, Int32 parent) { } | 189 | public void llCreateLink(string target, int parent) { } |
189 | public void llBreakLink(Int32 linknum) { } | 190 | public void llBreakLink(int linknum) { } |
190 | public void llBreakAllLinks() { } | 191 | public void llBreakAllLinks() { } |
191 | public string llGetLinkKey(Int32 linknum) { return ""; } | 192 | public string llGetLinkKey(int linknum) { return ""; } |
192 | public void llGetLinkName(Int32 linknum) { } | 193 | public void llGetLinkName(int linknum) { } |
193 | public Int32 llGetInventoryNumber(Int32 type) { return 0; } | 194 | public int llGetInventoryNumber(int type) { return 0; } |
194 | public string llGetInventoryName(Int32 type, Int32 number) { return ""; } | 195 | public string llGetInventoryName(int type, int number) { return ""; } |
195 | public void llSetScriptState(string name, Int32 run) { } | 196 | public void llSetScriptState(string name, int run) { } |
196 | public float llGetEnergy() { return 1.0f; } | 197 | public double llGetEnergy() { return 1.0f; } |
197 | public void llGiveInventory(string destination, string inventory) { } | 198 | public void llGiveInventory(string destination, string inventory) { } |
198 | public void llRemoveInventory(string item) { } | 199 | public void llRemoveInventory(string item) { } |
199 | public void llSetText(string text, Axiom.Math.Vector3 color, float alpha) { } | 200 | public void llSetText(string text, Axiom.Math.Vector3 color, double alpha) { } |
200 | public float llWater(Axiom.Math.Vector3 offset) { return 0; } | 201 | public double llWater(Axiom.Math.Vector3 offset) { return 0; } |
201 | public void llPassTouches(Int32 pass) { } | 202 | public void llPassTouches(int pass) { } |
202 | public string llRequestAgentData(string id, Int32 data) { return ""; } | 203 | public string llRequestAgentData(string id, int data) { return ""; } |
203 | public string llRequestInventoryData(string name) { return ""; } | 204 | public string llRequestInventoryData(string name) { return ""; } |
204 | public void llSetDamage(float damage) { } | 205 | public void llSetDamage(double damage) { } |
205 | public void llTeleportAgentHome(string agent) { } | 206 | public void llTeleportAgentHome(string agent) { } |
206 | public void llModifyLand(Int32 action, Int32 brush) { } | 207 | public void llModifyLand(int action, int brush) { } |
207 | public void llCollisionSound(string impact_sound, float impact_volume) { } | 208 | public void llCollisionSound(string impact_sound, double impact_volume) { } |
208 | public void llCollisionSprite(string impact_sprite) { } | 209 | public void llCollisionSprite(string impact_sprite) { } |
209 | public string llGetAnimation(string id) { return ""; } | 210 | public string llGetAnimation(string id) { return ""; } |
210 | public void llResetScript() { } | 211 | public void llResetScript() { } |
211 | public void llMessageLinked(Int32 linknum, Int32 num, string str, string id) { } | 212 | public void llMessageLinked(int linknum, int num, string str, string id) { } |
212 | public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, Int32 local) { } | 213 | public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local) { } |
213 | public void llPassCollisions(Int32 pass) { } | 214 | public void llPassCollisions(int pass) { } |
214 | public string llGetScriptName() { return ""; } | 215 | public string llGetScriptName() { return ""; } |
215 | public Int32 llGetNumberOfSides() { return 0; } | 216 | public int llGetNumberOfSides() { return 0; } |
216 | public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, float angle) { return new Axiom.Math.Quaternion(); } | 217 | public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle) { return new Axiom.Math.Quaternion(); } |
217 | public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return new Axiom.Math.Vector3(); } | 218 | public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return new Axiom.Math.Vector3(); } |
218 | public void llRot2Angle() { } | 219 | public void llRot2Angle() { } |
219 | public float llAcos(float val) { return (float)Math.Acos(val); } | 220 | public double llAcos(double val) { return (double)Math.Acos(val); } |
220 | public float llAsin(float val) { return (float)Math.Asin(val); } | 221 | public double llAsin(double val) { return (double)Math.Asin(val); } |
221 | public float llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return 0; } | 222 | public double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return 0; } |
222 | public string llGetInventoryKey(string name) { return ""; } | 223 | public string llGetInventoryKey(string name) { return ""; } |
223 | public void llAllowInventoryDrop(Int32 add) { } | 224 | public void llAllowInventoryDrop(int add) { } |
224 | public Axiom.Math.Vector3 llGetSunDirection() { return new Axiom.Math.Vector3(); } | 225 | public Axiom.Math.Vector3 llGetSunDirection() { return new Axiom.Math.Vector3(); } |
225 | public Axiom.Math.Vector3 llGetTextureOffset(Int32 face) { return new Axiom.Math.Vector3(); } | 226 | public Axiom.Math.Vector3 llGetTextureOffset(int face) { return new Axiom.Math.Vector3(); } |
226 | public Axiom.Math.Vector3 llGetTextureScale(Int32 side) { return new Axiom.Math.Vector3(); } | 227 | public Axiom.Math.Vector3 llGetTextureScale(int side) { return new Axiom.Math.Vector3(); } |
227 | public float llGetTextureRot(Int32 side) { return 0; } | 228 | public double llGetTextureRot(int side) { return 0; } |
228 | public Int32 llSubStringIndex(string source, string pattern) { return 0; } | 229 | public int llSubStringIndex(string source, string pattern) { return 0; } |
229 | public string llGetOwnerKey(string id) { return ""; } | 230 | public string llGetOwnerKey(string id) { return ""; } |
230 | public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } | 231 | public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } |
231 | public List<string> llListSort(List<string> src, Int32 stride, Int32 ascending) | 232 | public List<string> llListSort(List<string> src, int stride, int ascending) |
232 | { return new List<string>(); } | 233 | { return new List<string>(); } |
233 | public Int32 llGetListLength(List<string> src) { return 0; } | 234 | public int llGetListLength(List<string> src) { return 0; } |
234 | public Int32 llList2Integer(List<string> src, Int32 index) { return 0;} | 235 | public int llList2Integer(List<string> src, int index) { return 0; } |
235 | public float llList2Float(List<string> src, Int32 index) { return 0; } | 236 | public double llList2double(List<string> src, int index) { return 0; } |
236 | public string llList2String(List<string> src, Int32 index) { return ""; } | 237 | public string llList2String(List<string> src, int index) { return ""; } |
237 | public string llList2Key(List<string> src, Int32 index) { return ""; } | 238 | public string llList2Key(List<string> src, int index) { return ""; } |
238 | public Axiom.Math.Vector3 llList2Vector(List<string> src, Int32 index) | 239 | public Axiom.Math.Vector3 llList2Vector(List<string> src, int index) |
239 | { return new Axiom.Math.Vector3(); } | 240 | { return new Axiom.Math.Vector3(); } |
240 | public Axiom.Math.Quaternion llList2Rot(List<string> src, Int32 index) | 241 | public Axiom.Math.Quaternion llList2Rot(List<string> src, int index) |
241 | { return new Axiom.Math.Quaternion(); } | 242 | { return new Axiom.Math.Quaternion(); } |
242 | public List<string> llList2List(List<string> src, Int32 start, Int32 end) | 243 | public List<string> llList2List(List<string> src, int start, int end) |
243 | { return new List<string>(); } | 244 | { return new List<string>(); } |
244 | public List<string> llDeleteSubList(List<string> src, Int32 start, Int32 end) | 245 | public List<string> llDeleteSubList(List<string> src, int start, int end) |
245 | { return new List<string>(); } | 246 | { return new List<string>(); } |
246 | public Int32 llGetListEntryType(List<string> src, Int32 index) { return 0; } | 247 | public int llGetListEntryType(List<string> src, int index) { return 0; } |
247 | public string llList2CSV(List<string> src) { return ""; } | 248 | public string llList2CSV(List<string> src) { return ""; } |
248 | public List<string> llCSV2List(string src) | 249 | public List<string> llCSV2List(string src) |
249 | { return new List<string>(); } | 250 | { return new List<string>(); } |
250 | public List<string> llListRandomize(List<string> src, Int32 stride) | 251 | public List<string> llListRandomize(List<string> src, int stride) |
251 | { return new List<string>(); } | 252 | { return new List<string>(); } |
252 | public List<string> llList2ListStrided(List<string> src, Int32 start, Int32 end, Int32 stride) | 253 | public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) |
253 | { return new List<string>(); } | 254 | { return new List<string>(); } |
254 | public Axiom.Math.Vector3 llGetRegionCorner() | 255 | public Axiom.Math.Vector3 llGetRegionCorner() |
255 | { return new Axiom.Math.Vector3(); } | 256 | { return new Axiom.Math.Vector3(); } |
256 | public List<string> llListInsertList(List<string> dest, List<string> src, Int32 start) | 257 | public List<string> llListInsertList(List<string> dest, List<string> src, int start) |
257 | { return new List<string>(); } | 258 | { return new List<string>(); } |
258 | public Int32 llListFindList(List<string> src, List<string> test) { return 0; } | 259 | public int llListFindList(List<string> src, List<string> test) { return 0; } |
259 | public string llGetObjectName() { return ""; } | 260 | public string llGetObjectName() { return ""; } |
260 | public void llSetObjectName(string name) { } | 261 | public void llSetObjectName(string name) { } |
261 | public string llGetDate() { return ""; } | 262 | public string llGetDate() { return ""; } |
262 | public Int32 llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return 0; } | 263 | public int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return 0; } |
263 | public Int32 llGetAgentInfo(string id) { return 0; } | 264 | public int llGetAgentInfo(string id) { return 0; } |
264 | public void llAdjustSoundVolume(float volume) { } | 265 | public void llAdjustSoundVolume(double volume) { } |
265 | public void llSetSoundQueueing(Int32 queue) { } | 266 | public void llSetSoundQueueing(int queue) { } |
266 | public void llSetSoundRadius(float radius) { } | 267 | public void llSetSoundRadius(double radius) { } |
267 | public string llKey2Name(string id) { return ""; } | 268 | public string llKey2Name(string id) { return ""; } |
268 | public void llSetTextureAnim(Int32 mode, Int32 face, Int32 sizex, Int32 sizey, float start, float length, float rate) { } | 269 | public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { } |
269 | public void llTriggerSoundLimited(string sound, float volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { } | 270 | public void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { } |
270 | public void llEjectFromLand(string pest) { } | 271 | public void llEjectFromLand(string pest) { } |
271 | public void llParseString2List() { } | 272 | public void llParseString2List() { } |
272 | public Int32 llOverMyLand(string id) { return 0; } | 273 | public int llOverMyLand(string id) { return 0; } |
273 | public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return ""; } | 274 | public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return ""; } |
274 | public string llGetNotecardLine(string name, Int32 line) { return ""; } | 275 | public string llGetNotecardLine(string name, int line) { return ""; } |
275 | public Axiom.Math.Vector3 llGetAgentSize(string id) { return new Axiom.Math.Vector3(); } | 276 | public Axiom.Math.Vector3 llGetAgentSize(string id) { return new Axiom.Math.Vector3(); } |
276 | public Int32 llSameGroup(string agent) { return 0; } | 277 | public int llSameGroup(string agent) { return 0; } |
277 | public void llUnSit(string id) { } | 278 | public void llUnSit(string id) { } |
278 | public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 279 | public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } |
279 | public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 280 | public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } |
280 | public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } | 281 | public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } |
281 | public Int32 llGetAttached() { return 0; } | 282 | public int llGetAttached() { return 0; } |
282 | public Int32 llGetFreeMemory() { return 0; } | 283 | public int llGetFreeMemory() { return 0; } |
283 | public string llGetRegionName() { return World.RegionInfo.RegionName; } | 284 | public string llGetRegionName() { return World.RegionInfo.RegionName; } |
284 | public float llGetRegionTimeDilation() { return 1.0f; } | 285 | public double llGetRegionTimeDilation() { return 1.0f; } |
285 | public float llGetRegionFPS() { return 10.0f; } | 286 | public double llGetRegionFPS() { return 10.0f; } |
286 | public void llParticleSystem(List<Object> rules) { } | 287 | public void llParticleSystem(List<Object> rules) { } |
287 | public void llGroundRepel(float height, Int32 water, float tau) { } | 288 | public void llGroundRepel(double height, int water, double tau) { } |
288 | public void llGiveInventoryList() { } | 289 | public void llGiveInventoryList() { } |
289 | public void llSetVehicleType(Int32 type) { } | 290 | public void llSetVehicleType(int type) { } |
290 | public void llSetVehicleFloatParam(Int32 param, float value) { } | 291 | public void llSetVehicledoubleParam(int param, double value) { } |
291 | public void llSetVehicleVectorParam(Int32 param, Axiom.Math.Vector3 vec) { } | 292 | public void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec) { } |
292 | public void llSetVehicleRotationParam(Int32 param, Axiom.Math.Quaternion rot) { } | 293 | public void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot) { } |
293 | public void llSetVehicleFlags(Int32 flags) { } | 294 | public void llSetVehicleFlags(int flags) { } |
294 | public void llRemoveVehicleFlags(Int32 flags) { } | 295 | public void llRemoveVehicleFlags(int flags) { } |
295 | public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { } | 296 | public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { } |
296 | public string llAvatarOnSitTarget() { return ""; } | 297 | public string llAvatarOnSitTarget() { return ""; } |
297 | public void llAddToLandPassList(string avatar, float hours) { } | 298 | public void llAddToLandPassList(string avatar, double hours) { } |
298 | public void llSetTouchText(string text) | 299 | public void llSetTouchText(string text) |
299 | { | 300 | { |
300 | } | 301 | } |
@@ -305,18 +306,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
305 | public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } | 306 | public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } |
306 | public void llDumpList2String() { } | 307 | public void llDumpList2String() { } |
307 | public void llScriptDanger(Axiom.Math.Vector3 pos) { } | 308 | public void llScriptDanger(Axiom.Math.Vector3 pos) { } |
308 | public void llDialog(string avatar, string message, List<string> buttons, Int32 chat_channel) { } | 309 | public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { } |
309 | public void llVolumeDetect(Int32 detect) { } | 310 | public void llVolumeDetect(int detect) { } |
310 | public void llResetOtherScript(string name) { } | 311 | public void llResetOtherScript(string name) { } |
311 | public Int32 llGetScriptState(string name) { return 0; } | 312 | public int llGetScriptState(string name) { return 0; } |
312 | public void llRemoteLoadScript() { } | 313 | public void llRemoteLoadScript() { } |
313 | public void llSetRemoteScriptAccessPin(Int32 pin) { } | 314 | public void llSetRemoteScriptAccessPin(int pin) { } |
314 | public void llRemoteLoadScriptPin(string target, string name, Int32 pin, Int32 running, Int32 start_param) { } | 315 | public void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param) { } |
315 | public void llOpenRemoteDataChannel() { } | 316 | public void llOpenRemoteDataChannel() { } |
316 | public string llSendRemoteData(string channel, string dest, Int32 idata, string sdata) { return ""; } | 317 | public string llSendRemoteData(string channel, string dest, int idata, string sdata) { return ""; } |
317 | public void llRemoteDataReply(string channel, string message_id, string sdata, Int32 idata) { } | 318 | public void llRemoteDataReply(string channel, string message_id, string sdata, int idata) { } |
318 | public void llCloseRemoteDataChannel(string channel) { } | 319 | public void llCloseRemoteDataChannel(string channel) { } |
319 | public string llMD5String(string src, Int32 nonce) { | 320 | public string llMD5String(string src, int nonce) |
321 | { | ||
320 | return OpenSim.Framework.Utilities.Util.Md5Hash(src + ":" + nonce.ToString()); | 322 | return OpenSim.Framework.Utilities.Util.Md5Hash(src + ":" + nonce.ToString()); |
321 | } | 323 | } |
322 | public void llSetPrimitiveParams(List<string> rules) { } | 324 | public void llSetPrimitiveParams(List<string> rules) { } |
@@ -324,8 +326,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
324 | public string llBase64ToString(string str) { return ""; } | 326 | public string llBase64ToString(string str) { return ""; } |
325 | public void llXorBase64Strings() { } | 327 | public void llXorBase64Strings() { } |
326 | public void llRemoteDataSetRegion() { } | 328 | public void llRemoteDataSetRegion() { } |
327 | public float llLog10(float val) { return (float)Math.Log10(val); } | 329 | public double llLog10(double val) { return (double)Math.Log10(val); } |
328 | public float llLog(float val) { return (float)Math.Log(val); } | 330 | public double llLog(double val) { return (double)Math.Log(val); } |
329 | public List<string> llGetAnimationList(string id) { return new List<string>(); } | 331 | public List<string> llGetAnimationList(string id) { return new List<string>(); } |
330 | public void llSetParcelMusicURL(string url) { } | 332 | public void llSetParcelMusicURL(string url) { } |
331 | public Axiom.Math.Vector3 llGetRootPosition() { return new Axiom.Math.Vector3(); } | 333 | public Axiom.Math.Vector3 llGetRootPosition() { return new Axiom.Math.Vector3(); } |
@@ -334,43 +336,44 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
334 | public void llSetObjectDesc(string desc) { } | 336 | public void llSetObjectDesc(string desc) { } |
335 | public string llGetCreator() { return ""; } | 337 | public string llGetCreator() { return ""; } |
336 | public string llGetTimestamp() { return ""; } | 338 | public string llGetTimestamp() { return ""; } |
337 | public void llSetLinkAlpha(Int32 linknumber, float alpha, Int32 face) { } | 339 | public void llSetLinkAlpha(int linknumber, double alpha, int face) { } |
338 | public Int32 llGetNumberOfPrims() { return 0; } | 340 | public int llGetNumberOfPrims() { return 0; } |
339 | public string llGetNumberOfNotecardLines(string name) { return ""; } | 341 | public string llGetNumberOfNotecardLines(string name) { return ""; } |
340 | public List<string> llGetBoundingBox(string obj) { return new List<string>(); } | 342 | public List<string> llGetBoundingBox(string obj) { return new List<string>(); } |
341 | public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } | 343 | public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } |
342 | public void llGetPrimitiveParams() { } | 344 | public void llGetPrimitiveParams() { } |
343 | public string llIntegerToBase64(Int32 number) { return ""; } | 345 | public string llIntegerToBase64(int number) { return ""; } |
344 | public Int32 llBase64ToInteger(string str) { return 0; } | 346 | public int llBase64ToInteger(string str) { return 0; } |
345 | public float llGetGMTclock() { return 0; } | 347 | public double llGetGMTclock() { return 0; } |
346 | public string llGetSimulatorHostname() { return ""; } | 348 | public string llGetSimulatorHostname() { return ""; } |
347 | public void llSetLocalRot(Axiom.Math.Quaternion rot) { } | 349 | public void llSetLocalRot(Axiom.Math.Quaternion rot) { } |
348 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) | 350 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) |
349 | { return new List<string>(); } | 351 | { return new List<string>(); } |
350 | public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, Int32 param) { } | 352 | public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param) { } |
351 | public Int32 llGetObjectPermMask(Int32 mask) { return 0; } | 353 | public int llGetObjectPermMask(int mask) { return 0; } |
352 | public void llSetObjectPermMask(Int32 mask, Int32 value) { } | 354 | public void llSetObjectPermMask(int mask, int value) { } |
353 | public void llGetInventoryPermMask(string item, Int32 mask) { } | 355 | public void llGetInventoryPermMask(string item, int mask) { } |
354 | public void llSetInventoryPermMask(string item, Int32 mask, Int32 value) { } | 356 | public void llSetInventoryPermMask(string item, int mask, int value) { } |
355 | public string llGetInventoryCreator(string item) { return ""; } | 357 | public string llGetInventoryCreator(string item) { return ""; } |
356 | public void llOwnerSay(string msg) { } | 358 | public void llOwnerSay(string msg) { } |
357 | public void llRequestSimulatorData(string simulator, Int32 data) { } | 359 | public void llRequestSimulatorData(string simulator, int data) { } |
358 | public void llForceMouselook(Int32 mouselook) { } | 360 | public void llForceMouselook(int mouselook) { } |
359 | public float llGetObjectMass(string id) { return 0; } | 361 | public double llGetObjectMass(string id) { return 0; } |
360 | public void llListReplaceList() { } | 362 | public void llListReplaceList() { } |
361 | public void llLoadURL(string avatar_id, string message, string url) { } | 363 | public void llLoadURL(string avatar_id, string message, string url) { } |
362 | public void llParcelMediaCommandList(List<string> commandList) { } | 364 | public void llParcelMediaCommandList(List<string> commandList) { } |
363 | public void llParcelMediaQuery() { } | 365 | public void llParcelMediaQuery() { } |
364 | 366 | ||
365 | public Int32 llModPow(Int32 a, Int32 b, Int32 c) { | 367 | public int llModPow(int a, int b, int c) |
368 | { | ||
366 | Int64 tmp = 0; | 369 | Int64 tmp = 0; |
367 | Int64 val = Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); | 370 | Int64 val = Math.DivRem(Convert.ToInt64(Math.Pow(a, b)), c, out tmp); |
368 | 371 | ||
369 | return Convert.ToInt32(tmp); | 372 | return Convert.ToInt32(tmp); |
370 | } | 373 | } |
371 | 374 | ||
372 | public Int32 llGetInventoryType(string name) { return 0; } | 375 | public int llGetInventoryType(string name) { return 0; } |
373 | public void llSetPayPrice(Int32 price, List<string> quick_pay_buttons) { } | 376 | public void llSetPayPrice(int price, List<string> quick_pay_buttons) { } |
374 | public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } | 377 | public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } |
375 | public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } | 378 | public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } |
376 | public void llSetPrimURL() { } | 379 | public void llSetPrimURL() { } |
@@ -378,26 +381,347 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
378 | public string llEscapeURL(string url) { return ""; } | 381 | public string llEscapeURL(string url) { return ""; } |
379 | public string llUnescapeURL(string url) { return ""; } | 382 | public string llUnescapeURL(string url) { return ""; } |
380 | public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { } | 383 | public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { } |
381 | public void llAddToLandBanList(string avatar, float hours) { } | 384 | public void llAddToLandBanList(string avatar, double hours) { } |
382 | public void llRemoveFromLandPassList(string avatar) { } | 385 | public void llRemoveFromLandPassList(string avatar) { } |
383 | public void llRemoveFromLandBanList(string avatar) { } | 386 | public void llRemoveFromLandBanList(string avatar) { } |
384 | public void llSetCameraParams(List<string> rules) { } | 387 | public void llSetCameraParams(List<string> rules) { } |
385 | public void llClearCameraParams() { } | 388 | public void llClearCameraParams() { } |
386 | public float llListStatistics(Int32 operation, List<string> src) { return 0; } | 389 | public double llListStatistics(int operation, List<string> src) { return 0; } |
387 | public Int32 llGetUnixTime() { | 390 | public int llGetUnixTime() |
391 | { | ||
388 | return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); | 392 | return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); |
389 | } | 393 | } |
390 | public Int32 llGetParcelFlags(Axiom.Math.Vector3 pos) { return 0; } | 394 | public int llGetParcelFlags(Axiom.Math.Vector3 pos) { return 0; } |
391 | public Int32 llGetRegionFlags() { return 0; } | 395 | public int llGetRegionFlags() { return 0; } |
392 | public string llXorBase64StringsCorrect(string str1, string str2) { return ""; } | 396 | public string llXorBase64StringsCorrect(string str1, string str2) { return ""; } |
393 | public void llHTTPRequest() { } | 397 | public void llHTTPRequest() { } |
394 | public void llResetLandBanList() { } | 398 | public void llResetLandBanList() { } |
395 | public void llResetLandPassList() { } | 399 | public void llResetLandPassList() { } |
396 | public Int32 llGetParcelPrimCount(Axiom.Math.Vector3 pos, Int32 category, Int32 sim_wide) { return 0; } | 400 | public int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide) { return 0; } |
397 | public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return new List<string>(); } | 401 | public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return new List<string>(); } |
398 | public Int32 llGetObjectPrimCount(string object_id) { return 0; } | 402 | public int llGetObjectPrimCount(string object_id) { return 0; } |
399 | public Int32 llGetParcelMaxPrims(Axiom.Math.Vector3 pos, Int32 sim_wide) { return 0; } | 403 | public int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide) { return 0; } |
400 | public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return new List<string>(); } | 404 | public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return new List<string>(); } |
401 | 405 | ||
406 | |||
407 | |||
408 | |||
409 | // LSL CONSTANTS | ||
410 | public const int TRUE = 1; | ||
411 | public const int FALSE = 0; | ||
412 | public const int STATUS_PHYSICS = 1; | ||
413 | public const int STATUS_ROTATE_X = 2; | ||
414 | public const int STATUS_ROTATE_Y = 4; | ||
415 | public const int STATUS_ROTATE_Z = 8; | ||
416 | public const int STATUS_PHANTOM = 16; | ||
417 | public const int STATUS_SANDBOX = 32; | ||
418 | public const int STATUS_BLOCK_GRAB = 64; | ||
419 | public const int STATUS_DIE_AT_EDGE = 128; | ||
420 | public const int STATUS_RETURN_AT_EDGE = 256; | ||
421 | public const int AGENT = 1; | ||
422 | public const int ACTIVE = 2; | ||
423 | public const int PASSIVE = 4; | ||
424 | public const int SCRIPTED = 8; | ||
425 | public const int CONTROL_FWD = 1; | ||
426 | public const int CONTROL_BACK = 2; | ||
427 | public const int CONTROL_LEFT = 4; | ||
428 | public const int CONTROL_RIGHT = 8; | ||
429 | public const int CONTROL_UP = 16; | ||
430 | public const int CONTROL_DOWN = 32; | ||
431 | public const int CONTROL_ROT_LEFT = 256; | ||
432 | public const int CONTROL_ROT_RIGHT = 512; | ||
433 | public const int CONTROL_LBUTTON = 268435456; | ||
434 | public const int CONTROL_ML_LBUTTON = 1073741824; | ||
435 | public const int PERMISSION_DEBIT = 2; | ||
436 | public const int PERMISSION_TAKE_CONTROLS = 4; | ||
437 | public const int PERMISSION_REMAP_CONTROLS = 8; | ||
438 | public const int PERMISSION_TRIGGER_ANIMATION = 16; | ||
439 | public const int PERMISSION_ATTACH = 32; | ||
440 | public const int PERMISSION_RELEASE_OWNERSHIP = 64; | ||
441 | public const int PERMISSION_CHANGE_LINKS = 128; | ||
442 | public const int PERMISSION_CHANGE_JOINTS = 256; | ||
443 | public const int PERMISSION_CHANGE_PERMISSIONS = 512; | ||
444 | public const int PERMISSION_TRACK_CAMERA = 1024; | ||
445 | public const int AGENT_FLYING = 1; | ||
446 | public const int AGENT_ATTACHMENTS = 2; | ||
447 | public const int AGENT_SCRIPTED = 4; | ||
448 | public const int AGENT_MOUSELOOK = 8; | ||
449 | public const int AGENT_SITTING = 16; | ||
450 | public const int AGENT_ON_OBJECT = 32; | ||
451 | public const int AGENT_AWAY = 64; | ||
452 | public const int AGENT_WALKING = 128; | ||
453 | public const int AGENT_IN_AIR = 256; | ||
454 | public const int AGENT_TYPING = 512; | ||
455 | public const int AGENT_CROUCHING = 1024; | ||
456 | public const int AGENT_BUSY = 2048; | ||
457 | public const int AGENT_ALWAYS_RUN = 4096; | ||
458 | public const int PSYS_PART_INTERP_COLOR_MASK = 1; | ||
459 | public const int PSYS_PART_INTERP_SCALE_MASK = 2; | ||
460 | public const int PSYS_PART_BOUNCE_MASK = 4; | ||
461 | public const int PSYS_PART_WIND_MASK = 8; | ||
462 | public const int PSYS_PART_FOLLOW_SRC_MASK = 16; | ||
463 | public const int PSYS_PART_FOLLOW_VELOCITY_MASK = 32; | ||
464 | public const int PSYS_PART_TARGET_POS_MASK = 64; | ||
465 | public const int PSYS_PART_TARGET_LINEAR_MASK = 128; | ||
466 | public const int PSYS_PART_EMISSIVE_MASK = 256; | ||
467 | public const int PSYS_PART_FLAGS = 0; | ||
468 | public const int PSYS_PART_START_COLOR = 1; | ||
469 | public const int PSYS_PART_START_ALPHA = 2; | ||
470 | public const int PSYS_PART_END_COLOR = 3; | ||
471 | public const int PSYS_PART_END_ALPHA = 4; | ||
472 | public const int PSYS_PART_START_SCALE = 5; | ||
473 | public const int PSYS_PART_END_SCALE = 6; | ||
474 | public const int PSYS_PART_MAX_AGE = 7; | ||
475 | public const int PSYS_SRC_ACCEL = 8; | ||
476 | public const int PSYS_SRC_PATTERN = 9; | ||
477 | public const int PSYS_SRC_INNERANGLE = 10; | ||
478 | public const int PSYS_SRC_OUTERANGLE = 11; | ||
479 | public const int PSYS_SRC_TEXTURE = 12; | ||
480 | public const int PSYS_SRC_BURST_RATE = 13; | ||
481 | public const int PSYS_SRC_BURST_PART_COUNT = 15; | ||
482 | public const int PSYS_SRC_BURST_RADIUS = 16; | ||
483 | public const int PSYS_SRC_BURST_SPEED_MIN = 17; | ||
484 | public const int PSYS_SRC_BURST_SPEED_MAX = 18; | ||
485 | public const int PSYS_SRC_MAX_AGE = 19; | ||
486 | public const int PSYS_SRC_TARGET_KEY = 20; | ||
487 | public const int PSYS_SRC_OMEGA = 21; | ||
488 | public const int PSYS_SRC_ANGLE_BEGIN = 22; | ||
489 | public const int PSYS_SRC_ANGLE_END = 23; | ||
490 | public const int PSYS_SRC_PATTERN_DROP = 1; | ||
491 | public const int PSYS_SRC_PATTERN_EXPLODE = 2; | ||
492 | public const int PSYS_SRC_PATTERN_ANGLE = 4; | ||
493 | public const int PSYS_SRC_PATTERN_ANGLE_CONE = 8; | ||
494 | public const int PSYS_SRC_PATTERN_ANGLE_CONE_EMPTY = 16; | ||
495 | public const int VEHICLE_TYPE_NONE = 0; | ||
496 | public const int VEHICLE_TYPE_SLED = 1; | ||
497 | public const int VEHICLE_TYPE_CAR = 2; | ||
498 | public const int VEHICLE_TYPE_BOAT = 3; | ||
499 | public const int VEHICLE_TYPE_AIRPLANE = 4; | ||
500 | public const int VEHICLE_TYPE_BALLOON = 5; | ||
501 | public const int VEHICLE_LINEAR_FRICTION_TIMESCALE = 16; | ||
502 | public const int VEHICLE_ANGULAR_FRICTION_TIMESCALE = 17; | ||
503 | public const int VEHICLE_LINEAR_MOTOR_DIRECTION = 18; | ||
504 | public const int VEHICLE_LINEAR_MOTOR_OFFSET = 20; | ||
505 | public const int VEHICLE_ANGULAR_MOTOR_DIRECTION = 19; | ||
506 | public const int VEHICLE_HOVER_HEIGHT = 24; | ||
507 | public const int VEHICLE_HOVER_EFFICIENCY = 25; | ||
508 | public const int VEHICLE_HOVER_TIMESCALE = 26; | ||
509 | public const int VEHICLE_BUOYANCY = 27; | ||
510 | public const int VEHICLE_LINEAR_DEFLECTION_EFFICIENCY = 28; | ||
511 | public const int VEHICLE_LINEAR_DEFLECTION_TIMESCALE = 29; | ||
512 | public const int VEHICLE_LINEAR_MOTOR_TIMESCALE = 30; | ||
513 | public const int VEHICLE_LINEAR_MOTOR_DECAY_TIMESCALE = 31; | ||
514 | public const int VEHICLE_ANGULAR_DEFLECTION_EFFICIENCY = 32; | ||
515 | public const int VEHICLE_ANGULAR_DEFLECTION_TIMESCALE = 33; | ||
516 | public const int VEHICLE_ANGULAR_MOTOR_TIMESCALE = 34; | ||
517 | public const int VEHICLE_ANGULAR_MOTOR_DECAY_TIMESCALE = 35; | ||
518 | public const int VEHICLE_VERTICAL_ATTRACTION_EFFICIENCY = 36; | ||
519 | public const int VEHICLE_VERTICAL_ATTRACTION_TIMESCALE = 37; | ||
520 | public const int VEHICLE_BANKING_EFFICIENCY = 38; | ||
521 | public const int VEHICLE_BANKING_MIX = 39; | ||
522 | public const int VEHICLE_BANKING_TIMESCALE = 40; | ||
523 | public const int VEHICLE_REFERENCE_FRAME = 44; | ||
524 | public const int VEHICLE_FLAG_NO_DEFLECTION_UP = 1; | ||
525 | public const int VEHICLE_FLAG_LIMIT_ROLL_ONLY = 2; | ||
526 | public const int VEHICLE_FLAG_HOVER_WATER_ONLY = 4; | ||
527 | public const int VEHICLE_FLAG_HOVER_TERRAIN_ONLY = 8; | ||
528 | public const int VEHICLE_FLAG_HOVER_GLOBAL_HEIGHT = 16; | ||
529 | public const int VEHICLE_FLAG_HOVER_UP_ONLY = 32; | ||
530 | public const int VEHICLE_FLAG_LIMIT_MOTOR_UP = 64; | ||
531 | public const int VEHICLE_FLAG_MOUSELOOK_STEER = 128; | ||
532 | public const int VEHICLE_FLAG_MOUSELOOK_BANK = 256; | ||
533 | public const int VEHICLE_FLAG_CAMERA_DECOUPLED = 512; | ||
534 | public const int INVENTORY_ALL = -1; | ||
535 | public const int INVENTORY_NONE = -1; | ||
536 | public const int INVENTORY_TEXTURE = 0; | ||
537 | public const int INVENTORY_SOUND = 1; | ||
538 | public const int INVENTORY_LANDMARK = 3; | ||
539 | public const int INVENTORY_CLOTHING = 5; | ||
540 | public const int INVENTORY_OBJECT = 6; | ||
541 | public const int INVENTORY_NOTECARD = 7; | ||
542 | public const int INVENTORY_SCRIPT = 10; | ||
543 | public const int INVENTORY_BODYPART = 13; | ||
544 | public const int INVENTORY_ANIMATION = 20; | ||
545 | public const int INVENTORY_GESTURE = 21; | ||
546 | public const int ATTACH_CHEST = 1; | ||
547 | public const int ATTACH_HEAD = 2; | ||
548 | public const int ATTACH_LSHOULDER = 3; | ||
549 | public const int ATTACH_RSHOULDER = 4; | ||
550 | public const int ATTACH_LHAND = 5; | ||
551 | public const int ATTACH_RHAND = 6; | ||
552 | public const int ATTACH_LFOOT = 7; | ||
553 | public const int ATTACH_RFOOT = 8; | ||
554 | public const int ATTACH_BACK = 9; | ||
555 | public const int ATTACH_PELVIS = 10; | ||
556 | public const int ATTACH_MOUTH = 11; | ||
557 | public const int ATTACH_CHIN = 12; | ||
558 | public const int ATTACH_LEAR = 13; | ||
559 | public const int ATTACH_REAR = 14; | ||
560 | public const int ATTACH_LEYE = 15; | ||
561 | public const int ATTACH_REYE = 16; | ||
562 | public const int ATTACH_NOSE = 17; | ||
563 | public const int ATTACH_RUARM = 18; | ||
564 | public const int ATTACH_RLARM = 19; | ||
565 | public const int ATTACH_LUARM = 20; | ||
566 | public const int ATTACH_LLARM = 21; | ||
567 | public const int ATTACH_RHIP = 22; | ||
568 | public const int ATTACH_RULEG = 23; | ||
569 | public const int ATTACH_RLLEG = 24; | ||
570 | public const int ATTACH_LHIP = 25; | ||
571 | public const int ATTACH_LULEG = 26; | ||
572 | public const int ATTACH_LLLEG = 27; | ||
573 | public const int ATTACH_BELLY = 28; | ||
574 | public const int ATTACH_RPEC = 29; | ||
575 | public const int ATTACH_LPEC = 30; | ||
576 | public const int LAND_LEVEL = 0; | ||
577 | public const int LAND_RAISE = 1; | ||
578 | public const int LAND_LOWER = 2; | ||
579 | public const int LAND_SMOOTH = 3; | ||
580 | public const int LAND_NOISE = 4; | ||
581 | public const int LAND_REVERT = 5; | ||
582 | public const int LAND_SMALL_BRUSH = 1; | ||
583 | public const int LAND_MEDIUM_BRUSH = 2; | ||
584 | public const int LAND_LARGE_BRUSH = 3; | ||
585 | public const int DATA_ONLINE = 1; | ||
586 | public const int DATA_NAME = 2; | ||
587 | public const int DATA_BORN = 3; | ||
588 | public const int DATA_RATING = 4; | ||
589 | public const int DATA_SIM_POS = 5; | ||
590 | public const int DATA_SIM_STATUS = 6; | ||
591 | public const int DATA_SIM_RATING = 7; | ||
592 | public const int ANIM_ON = 1; | ||
593 | public const int LOOP = 2; | ||
594 | public const int REVERSE = 4; | ||
595 | public const int PING_PONG = 8; | ||
596 | public const int SMOOTH = 16; | ||
597 | public const int ROTATE = 32; | ||
598 | public const int SCALE = 64; | ||
599 | public const int ALL_SIDES = -1; | ||
600 | public const int LINK_SET = -1; | ||
601 | public const int LINK_ROOT = 1; | ||
602 | public const int LINK_ALL_OTHERS = -2; | ||
603 | public const int LINK_ALL_CHILDREN = -3; | ||
604 | public const int LINK_THIS = -4; | ||
605 | public const int CHANGED_INVENTORY = 1; | ||
606 | public const int CHANGED_COLOR = 2; | ||
607 | public const int CHANGED_SHAPE = 4; | ||
608 | public const int CHANGED_SCALE = 8; | ||
609 | public const int CHANGED_TEXTURE = 16; | ||
610 | public const int CHANGED_LINK = 32; | ||
611 | public const int CHANGED_ALLOWED_DROP = 64; | ||
612 | public const int CHANGED_OWNER = 128; | ||
613 | public const int TYPE_INVALID = 0; | ||
614 | public const int TYPE_INTEGER = 1; | ||
615 | public const int TYPE_double = 2; | ||
616 | public const int TYPE_STRING = 3; | ||
617 | public const int TYPE_KEY = 4; | ||
618 | public const int TYPE_VECTOR = 5; | ||
619 | public const int TYPE_ROTATION = 6; | ||
620 | public const int REMOTE_DATA_CHANNEL = 1; | ||
621 | public const int REMOTE_DATA_REQUEST = 2; | ||
622 | public const int REMOTE_DATA_REPLY = 3; | ||
623 | //public const int PRIM_TYPE = 1; | ||
624 | public const int PRIM_MATERIAL = 2; | ||
625 | public const int PRIM_PHYSICS = 3; | ||
626 | public const int PRIM_TEMP_ON_REZ = 4; | ||
627 | public const int PRIM_PHANTOM = 5; | ||
628 | public const int PRIM_POSITION = 6; | ||
629 | public const int PRIM_SIZE = 7; | ||
630 | public const int PRIM_ROTATION = 8; | ||
631 | public const int PRIM_TYPE = 9; | ||
632 | public const int PRIM_TEXTURE = 17; | ||
633 | public const int PRIM_COLOR = 18; | ||
634 | public const int PRIM_BUMP_SHINY = 19; | ||
635 | public const int PRIM_FULLBRIGHT = 20; | ||
636 | public const int PRIM_FLEXIBLE = 21; | ||
637 | public const int PRIM_TEXGEN = 22; | ||
638 | public const int PRIM_TEXGEN_DEFAULT = 0; | ||
639 | public const int PRIM_TEXGEN_PLANAR = 1; | ||
640 | public const int PRIM_TYPE_BOX = 0; | ||
641 | public const int PRIM_TYPE_CYLINDER = 1; | ||
642 | public const int PRIM_TYPE_PRISM = 2; | ||
643 | public const int PRIM_TYPE_SPHERE = 3; | ||
644 | public const int PRIM_TYPE_TORUS = 4; | ||
645 | public const int PRIM_TYPE_TUBE = 5; | ||
646 | public const int PRIM_TYPE_RING = 6; | ||
647 | public const int PRIM_HOLE_DEFAULT = 0; | ||
648 | public const int PRIM_HOLE_CIRCLE = 16; | ||
649 | public const int PRIM_HOLE_SQUARE = 32; | ||
650 | public const int PRIM_HOLE_TRIANGLE = 48; | ||
651 | public const int PRIM_MATERIAL_STONE = 0; | ||
652 | public const int PRIM_MATERIAL_METAL = 1; | ||
653 | public const int PRIM_MATERIAL_GLASS = 2; | ||
654 | public const int PRIM_MATERIAL_WOOD = 3; | ||
655 | public const int PRIM_MATERIAL_FLESH = 4; | ||
656 | public const int PRIM_MATERIAL_PLASTIC = 5; | ||
657 | public const int PRIM_MATERIAL_RUBBER = 6; | ||
658 | public const int PRIM_MATERIAL_LIGHT = 7; | ||
659 | public const int PRIM_SHINY_NONE = 0; | ||
660 | public const int PRIM_SHINY_LOW = 1; | ||
661 | public const int PRIM_SHINY_MEDIUM = 2; | ||
662 | public const int PRIM_SHINY_HIGH = 3; | ||
663 | public const int PRIM_BUMP_NONE = 0; | ||
664 | public const int PRIM_BUMP_BRIGHT = 1; | ||
665 | public const int PRIM_BUMP_DARK = 2; | ||
666 | public const int PRIM_BUMP_WOOD = 3; | ||
667 | public const int PRIM_BUMP_BARK = 4; | ||
668 | public const int PRIM_BUMP_BRICKS = 5; | ||
669 | public const int PRIM_BUMP_CHECKER = 6; | ||
670 | public const int PRIM_BUMP_CONCRETE = 7; | ||
671 | public const int PRIM_BUMP_TILE = 8; | ||
672 | public const int PRIM_BUMP_STONE = 9; | ||
673 | public const int PRIM_BUMP_DISKS = 10; | ||
674 | public const int PRIM_BUMP_GRAVEL = 11; | ||
675 | public const int PRIM_BUMP_BLOBS = 12; | ||
676 | public const int PRIM_BUMP_SIDING = 13; | ||
677 | public const int PRIM_BUMP_LARGETILE = 14; | ||
678 | public const int PRIM_BUMP_STUCCO = 15; | ||
679 | public const int PRIM_BUMP_SUCTION = 16; | ||
680 | public const int PRIM_BUMP_WEAVE = 17; | ||
681 | public const int MASK_BASE = 0; | ||
682 | public const int MASK_OWNER = 1; | ||
683 | public const int MASK_GROUP = 2; | ||
684 | public const int MASK_EVERYONE = 3; | ||
685 | public const int MASK_NEXT = 4; | ||
686 | public const int PERM_TRANSFER = 8192; | ||
687 | public const int PERM_MODIFY = 16384; | ||
688 | public const int PERM_COPY = 32768; | ||
689 | public const int PERM_MOVE = 524288; | ||
690 | public const int PERM_ALL = 2147483647; | ||
691 | public const int PARCEL_MEDIA_COMMAND_STOP = 0; | ||
692 | public const int PARCEL_MEDIA_COMMAND_PAUSE = 1; | ||
693 | public const int PARCEL_MEDIA_COMMAND_PLAY = 2; | ||
694 | public const int PARCEL_MEDIA_COMMAND_LOOP = 3; | ||
695 | public const int PARCEL_MEDIA_COMMAND_TEXTURE = 4; | ||
696 | public const int PARCEL_MEDIA_COMMAND_URL = 5; | ||
697 | public const int PARCEL_MEDIA_COMMAND_TIME = 6; | ||
698 | public const int PARCEL_MEDIA_COMMAND_AGENT = 7; | ||
699 | public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8; | ||
700 | public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9; | ||
701 | public const int PAY_HIDE = -1; | ||
702 | public const int PAY_DEFAULT = -2; | ||
703 | public const string NULL_KEY = "00000000-0000-0000-0000-000000000000"; | ||
704 | public const string EOF = "\n\n\n"; | ||
705 | public const double PI = 3.14159274f; | ||
706 | public const double TWO_PI = 6.28318548f; | ||
707 | public const double PI_BY_TWO = 1.57079637f; | ||
708 | public const double DEG_TO_RAD = 0.01745329238f; | ||
709 | public const double RAD_TO_DEG = 57.29578f; | ||
710 | public const double SQRT2 = 1.414213538f; | ||
711 | |||
712 | // Can not be public const? | ||
713 | public Axiom.Math.Vector3 ZERO_VECTOR = new Axiom.Math.Vector3(0, 0, 0); | ||
714 | public Axiom.Math.Quaternion ZERO_ROTATION = new Axiom.Math.Quaternion(0, 0, 0, 0); | ||
715 | |||
716 | |||
717 | // Operator overloads | ||
718 | public class Axi | ||
719 | { | ||
720 | } | ||
721 | public static Axi operator *(Axi c1, double c2) | ||
722 | { | ||
723 | |||
724 | } | ||
725 | |||
402 | } | 726 | } |
403 | } | 727 | } |
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs index d2b8d0a..a19dee4 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs | |||
@@ -34,21 +34,21 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
34 | { | 34 | { |
35 | public interface LSL_BuiltIn_Commands_Interface | 35 | public interface LSL_BuiltIn_Commands_Interface |
36 | { | 36 | { |
37 | float llSin(float f); | 37 | double llSin(double f); |
38 | float llCos(float f); | 38 | double llCos(double f); |
39 | float llTan(float f); | 39 | double llTan(double f); |
40 | float llAtan2(float x, float y); | 40 | double llAtan2(double x, double y); |
41 | float llSqrt(float f); | 41 | double llSqrt(double f); |
42 | float llPow(float fbase, float fexponent); | 42 | double llPow(double fbase, double fexponent); |
43 | Int32 llAbs(Int32 i); | 43 | int llAbs(int i); |
44 | float llFabs(float f); | 44 | double llFabs(double f); |
45 | float llFrand(float mag); | 45 | double llFrand(double mag); |
46 | Int32 llFloor(float f); | 46 | int llFloor(double f); |
47 | Int32 llCeil(float f); | 47 | int llCeil(double f); |
48 | Int32 llRound(float f); | 48 | int llRound(double f); |
49 | float llVecMag(Axiom.Math.Vector3 v); | 49 | double llVecMag(Axiom.Math.Vector3 v); |
50 | Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v); | 50 | Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v); |
51 | float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b); | 51 | double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b); |
52 | Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r); | 52 | Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r); |
53 | Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v); | 53 | Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v); |
54 | Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up); | 54 | Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up); |
@@ -57,42 +57,42 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
57 | Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r); | 57 | Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r); |
58 | Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end); | 58 | Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end); |
59 | void llWhisper(int channelID, string text); | 59 | void llWhisper(int channelID, string text); |
60 | //void llSay(UInt32 channelID, string text); | 60 | //void llSay(int channelID, string text); |
61 | void llSay(int channelID, string text); | 61 | void llSay(int channelID, string text); |
62 | void llShout(UInt16 channelID, string text); | 62 | void llShout(int channelID, string text); |
63 | UInt32 llListen(UInt16 channelID, string name, string ID, string msg); | 63 | int llListen(int channelID, string name, string ID, string msg); |
64 | void llListenControl(UInt32 number, UInt32 active); | 64 | void llListenControl(int number, int active); |
65 | void llListenRemove(UInt32 number); | 65 | void llListenRemove(int number); |
66 | void llSensor(string name, string id, UInt32 type, float range, float arc); | 66 | void llSensor(string name, string id, int type, double range, double arc); |
67 | void llSensorRepeat(string name, string id, UInt32 type, float range, float arc, float rate); | 67 | void llSensorRepeat(string name, string id, int type, double range, double arc, double rate); |
68 | void llSensorRemove(); | 68 | void llSensorRemove(); |
69 | string llDetectedName(UInt32 number); | 69 | string llDetectedName(int number); |
70 | string llDetectedKey(UInt32 number); | 70 | string llDetectedKey(int number); |
71 | string llDetectedOwner(UInt32 number); | 71 | string llDetectedOwner(int number); |
72 | UInt32 llDetectedType(UInt32 number); | 72 | int llDetectedType(int number); |
73 | Axiom.Math.Vector3 llDetectedPos(UInt32 number); | 73 | Axiom.Math.Vector3 llDetectedPos(int number); |
74 | Axiom.Math.Vector3 llDetectedVel(UInt32 number); | 74 | Axiom.Math.Vector3 llDetectedVel(int number); |
75 | Axiom.Math.Vector3 llDetectedGrab(UInt32 number); | 75 | Axiom.Math.Vector3 llDetectedGrab(int number); |
76 | Axiom.Math.Quaternion llDetectedRot(UInt32 number); | 76 | Axiom.Math.Quaternion llDetectedRot(int number); |
77 | UInt32 llDetectedGroup(UInt32 number); | 77 | int llDetectedGroup(int number); |
78 | UInt32 llDetectedLinkNumber(UInt32 number); | 78 | int llDetectedLinkNumber(int number); |
79 | void llDie(); | 79 | void llDie(); |
80 | float llGround(Axiom.Math.Vector3 offset); | 80 | double llGround(Axiom.Math.Vector3 offset); |
81 | float llCloud(Axiom.Math.Vector3 offset); | 81 | double llCloud(Axiom.Math.Vector3 offset); |
82 | Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset); | 82 | Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset); |
83 | void llSetStatus(UInt32 status, UInt32 value); | 83 | void llSetStatus(int status, int value); |
84 | UInt32 llGetStatus(UInt32 status); | 84 | int llGetStatus(int status); |
85 | void llSetScale(Axiom.Math.Vector3 scale); | 85 | void llSetScale(Axiom.Math.Vector3 scale); |
86 | Axiom.Math.Vector3 llGetScale(); | 86 | Axiom.Math.Vector3 llGetScale(); |
87 | void llSetColor(Axiom.Math.Vector3 color, UInt32 face); | 87 | void llSetColor(Axiom.Math.Vector3 color, int face); |
88 | float llGetAlpha(UInt32 face); | 88 | double llGetAlpha(int face); |
89 | void llSetAlpha(float alpha, UInt32 face); | 89 | void llSetAlpha(double alpha, int face); |
90 | Axiom.Math.Vector3 llGetColor(UInt32 face); | 90 | Axiom.Math.Vector3 llGetColor(int face); |
91 | void llSetTexture(string texture, UInt32 face); | 91 | void llSetTexture(string texture, int face); |
92 | void llScaleTexture(float u, float v, UInt32 face); | 92 | void llScaleTexture(double u, double v, int face); |
93 | void llOffsetTexture(float u, float v, UInt32 face); | 93 | void llOffsetTexture(double u, double v, int face); |
94 | void llRotateTexture(float rotation, UInt32 face); | 94 | void llRotateTexture(double rotation, int face); |
95 | string llGetTexture(UInt32 face); | 95 | string llGetTexture(int face); |
96 | void llSetPos(Axiom.Math.Vector3 pos); | 96 | void llSetPos(Axiom.Math.Vector3 pos); |
97 | 97 | ||
98 | //wiki: vector llGetPos() | 98 | //wiki: vector llGetPos() |
@@ -106,77 +106,77 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
106 | //wiki: rotation llGetLocalRot() | 106 | //wiki: rotation llGetLocalRot() |
107 | Axiom.Math.Quaternion llGetLocalRot(); | 107 | Axiom.Math.Quaternion llGetLocalRot(); |
108 | //wiki: llSetForce(vector force, integer local) | 108 | //wiki: llSetForce(vector force, integer local) |
109 | void llSetForce(Axiom.Math.Vector3 force, Int32 local); | 109 | void llSetForce(Axiom.Math.Vector3 force, int local); |
110 | //wiki: vector llGetForce() | 110 | //wiki: vector llGetForce() |
111 | Axiom.Math.Vector3 llGetForce(); | 111 | Axiom.Math.Vector3 llGetForce(); |
112 | //wiki: integer llTarget(vector position, float range) | 112 | //wiki: integer llTarget(vector position, double range) |
113 | Int32 llTarget(Axiom.Math.Vector3 position, float range); | 113 | int llTarget(Axiom.Math.Vector3 position, double range); |
114 | //wiki: llTargetRemove(integer number) | 114 | //wiki: llTargetRemove(integer number) |
115 | void llTargetRemove(Int32 number); | 115 | void llTargetRemove(int number); |
116 | //wiki: integer llRotTarget(rotation rot, float error) | 116 | //wiki: integer llRotTarget(rotation rot, double error) |
117 | Int32 llRotTarget(Axiom.Math.Quaternion rot, float error); | 117 | int llRotTarget(Axiom.Math.Quaternion rot, double error); |
118 | //wiki: integer llRotTargetRemove(integer number) | 118 | //wiki: integer llRotTargetRemove(integer number) |
119 | void llRotTargetRemove(Int32 number); | 119 | void llRotTargetRemove(int number); |
120 | //wiki: llMoveToTarget(vector target, float tau) | 120 | //wiki: llMoveToTarget(vector target, double tau) |
121 | void llMoveToTarget(Axiom.Math.Vector3 target, float tau); | 121 | void llMoveToTarget(Axiom.Math.Vector3 target, double tau); |
122 | //wiki: llStopMoveToTarget() | 122 | //wiki: llStopMoveToTarget() |
123 | void llStopMoveToTarget(); | 123 | void llStopMoveToTarget(); |
124 | //wiki: llApplyImpulse(vector force, integer local) | 124 | //wiki: llApplyImpulse(vector force, integer local) |
125 | void llApplyImpulse(Axiom.Math.Vector3 force, Int32 local); | 125 | void llApplyImpulse(Axiom.Math.Vector3 force, int local); |
126 | //wiki: llapplyRotationalImpulse(vector force, integer local) | 126 | //wiki: llapplyRotationalImpulse(vector force, integer local) |
127 | void llApplyRotationalImpulse(Axiom.Math.Vector3 force, Int32 local); | 127 | void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local); |
128 | //wiki: llSetTorque(vector torque, integer local) | 128 | //wiki: llSetTorque(vector torque, integer local) |
129 | void llSetTorque(Axiom.Math.Vector3 torque, Int32 local); | 129 | void llSetTorque(Axiom.Math.Vector3 torque, int local); |
130 | //wiki: vector llGetTorque() | 130 | //wiki: vector llGetTorque() |
131 | Axiom.Math.Vector3 llGetTorque(); | 131 | Axiom.Math.Vector3 llGetTorque(); |
132 | //wiki: llSeForceAndTorque(vector force, vector torque, integer local) | 132 | //wiki: llSeForceAndTorque(vector force, vector torque, integer local) |
133 | void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, Int32 local); | 133 | void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local); |
134 | //wiki: vector llGetVel() | 134 | //wiki: vector llGetVel() |
135 | Axiom.Math.Vector3 llGetVel(); | 135 | Axiom.Math.Vector3 llGetVel(); |
136 | //wiki: vector llGetAccel() | 136 | //wiki: vector llGetAccel() |
137 | Axiom.Math.Vector3 llGetAccel(); | 137 | Axiom.Math.Vector3 llGetAccel(); |
138 | //wiki: vector llGetOmega() | 138 | //wiki: vector llGetOmega() |
139 | Axiom.Math.Vector3 llGetOmega(); | 139 | Axiom.Math.Vector3 llGetOmega(); |
140 | //wiki: float llGetTimeOfDay() | 140 | //wiki: double llGetTimeOfDay() |
141 | float llGetTimeOfDay(); | 141 | double llGetTimeOfDay(); |
142 | //wiki: float llGetWallclock() | 142 | //wiki: double llGetWallclock() |
143 | float llGetWallclock(); | 143 | double llGetWallclock(); |
144 | //wiki: float llGetTime() | 144 | //wiki: double llGetTime() |
145 | float llGetTime(); | 145 | double llGetTime(); |
146 | //wiki: llResetTime() | 146 | //wiki: llResetTime() |
147 | void llResetTime(); | 147 | void llResetTime(); |
148 | //wiki: float llGetAndResetTime() | 148 | //wiki: double llGetAndResetTime() |
149 | float llGetAndResetTime(); | 149 | double llGetAndResetTime(); |
150 | //wiki (deprecated) llSound(string sound, float volume, integer queue, integer loop) | 150 | //wiki (deprecated) llSound(string sound, double volume, integer queue, integer loop) |
151 | void llSound(); | 151 | void llSound(); |
152 | //wiki: llPlaySound(string sound, float volume) | 152 | //wiki: llPlaySound(string sound, double volume) |
153 | void llPlaySound(string sound, float volume); | 153 | void llPlaySound(string sound, double volume); |
154 | //wiki: llLoopSound(string sound, float volume) | 154 | //wiki: llLoopSound(string sound, double volume) |
155 | void llLoopSound(string sound, float volume); | 155 | void llLoopSound(string sound, double volume); |
156 | //wiki: llLoopSoundMaster(string sound, float volume) | 156 | //wiki: llLoopSoundMaster(string sound, double volume) |
157 | void llLoopSoundMaster(string sound, float volume); | 157 | void llLoopSoundMaster(string sound, double volume); |
158 | //wiki: llLoopSoundSlave(string sound, float volume) | 158 | //wiki: llLoopSoundSlave(string sound, double volume) |
159 | void llLoopSoundSlave(string sound, float volume); | 159 | void llLoopSoundSlave(string sound, double volume); |
160 | //wiki llPlaySoundSlave(string sound, float volume) | 160 | //wiki llPlaySoundSlave(string sound, double volume) |
161 | void llPlaySoundSlave(string sound, float volume); | 161 | void llPlaySoundSlave(string sound, double volume); |
162 | //wiki: llTriggerSound(string sound, float volume) | 162 | //wiki: llTriggerSound(string sound, double volume) |
163 | void llTriggerSound(string sound, float volume); | 163 | void llTriggerSound(string sound, double volume); |
164 | //wiki: llStopSound() | 164 | //wiki: llStopSound() |
165 | void llStopSound(); | 165 | void llStopSound(); |
166 | //wiki: llPreloadSound(string sound) | 166 | //wiki: llPreloadSound(string sound) |
167 | void llPreloadSound(string sound); | 167 | void llPreloadSound(string sound); |
168 | //wiki: string llGetSubString(string src, integer start, integer end) | 168 | //wiki: string llGetSubString(string src, integer start, integer end) |
169 | void llGetSubString(string src, Int32 start, Int32 end); | 169 | void llGetSubString(string src, int start, int end); |
170 | //wiki: string llDeleteSubString(string src, integer start, integer end) | 170 | //wiki: string llDeleteSubString(string src, integer start, integer end) |
171 | string llDeleteSubString(string src, Int32 start, Int32 end); | 171 | string llDeleteSubString(string src, int start, int end); |
172 | //wiki string llInsertString(string dst, integer position, string src) | 172 | //wiki string llInsertString(string dst, integer position, string src) |
173 | void llInsertString(string dst, Int32 position, string src); | 173 | void llInsertString(string dst, int position, string src); |
174 | //wiki: string llToUpper(string source) | 174 | //wiki: string llToUpper(string source) |
175 | string llToUpper(string source); | 175 | string llToUpper(string source); |
176 | //wiki: string llToLower(string source) | 176 | //wiki: string llToLower(string source) |
177 | string llToLower(string source); | 177 | string llToLower(string source); |
178 | //wiki: integer llGiveMoney(key destination, integer amount) | 178 | //wiki: integer llGiveMoney(key destination, integer amount) |
179 | Int32 llGiveMoney(string destination, Int32 amount); | 179 | int llGiveMoney(string destination, int amount); |
180 | //wiki: (deprecated) | 180 | //wiki: (deprecated) |
181 | void llMakeExplosion(); | 181 | void llMakeExplosion(); |
182 | //wiki: (deprecated) | 182 | //wiki: (deprecated) |
@@ -186,25 +186,25 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
186 | //wiki: (deprecated) | 186 | //wiki: (deprecated) |
187 | void llMakeFire(); | 187 | void llMakeFire(); |
188 | //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) | 188 | //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) |
189 | void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, Int32 param); | 189 | void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param); |
190 | //wiki: llLookAt(vector target, float strength, float damping) | 190 | //wiki: llLookAt(vector target, double strength, double damping) |
191 | void llLookAt(Axiom.Math.Vector3 target, float strength, float damping); | 191 | void llLookAt(Axiom.Math.Vector3 target, double strength, double damping); |
192 | //wiki: llStopLookAt() | 192 | //wiki: llStopLookAt() |
193 | void llStopLookAt(); | 193 | void llStopLookAt(); |
194 | //wiki: llSetTimerEvent(float sec) | 194 | //wiki: llSetTimerEvent(double sec) |
195 | void llSetTimerEvent(float sec); | 195 | void llSetTimerEvent(double sec); |
196 | //wiki: llSleep(float sec) | 196 | //wiki: llSleep(double sec) |
197 | void llSleep(float sec); | 197 | void llSleep(double sec); |
198 | //wiki: float llGetMass() | 198 | //wiki: double llGetMass() |
199 | float llGetMass(); | 199 | double llGetMass(); |
200 | //wiki: llCollisionFilter(string name, key id, integer accept) | 200 | //wiki: llCollisionFilter(string name, key id, integer accept) |
201 | void llCollisionFilter(string name, string id, Int32 accept); | 201 | void llCollisionFilter(string name, string id, int accept); |
202 | //wiki: llTakeControls(integer controls, integer accept, integer pass_on) | 202 | //wiki: llTakeControls(integer controls, integer accept, integer pass_on) |
203 | void llTakeControls(Int32 controls, Int32 accept, Int32 pass_on); | 203 | void llTakeControls(int controls, int accept, int pass_on); |
204 | //wiki: llReleaseControls() | 204 | //wiki: llReleaseControls() |
205 | void llReleaseControls(); | 205 | void llReleaseControls(); |
206 | //wiki: llAttachToAvatar(integer attachment) | 206 | //wiki: llAttachToAvatar(integer attachment) |
207 | void llAttachToAvatar(Int32 attachment); | 207 | void llAttachToAvatar(int attachment); |
208 | //wiki: llDetachFromAvatar() | 208 | //wiki: llDetachFromAvatar() |
209 | void llDetachFromAvatar(); | 209 | void llDetachFromAvatar(); |
210 | //wiki: (deprecated) llTakeCamera() | 210 | //wiki: (deprecated) llTakeCamera() |
@@ -221,20 +221,20 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
221 | void llGetNextEmail(string address, string subject); | 221 | void llGetNextEmail(string address, string subject); |
222 | //wiki: key llGetKey() | 222 | //wiki: key llGetKey() |
223 | string llGetKey(); | 223 | string llGetKey(); |
224 | //wiki: llSetBuoyancy(float buoyancy) | 224 | //wiki: llSetBuoyancy(double buoyancy) |
225 | void llSetBuoyancy(float buoyancy); | 225 | void llSetBuoyancy(double buoyancy); |
226 | //wiki: llSetHoverHeight(float height, integer water, float tau) | 226 | //wiki: llSetHoverHeight(double height, integer water, double tau) |
227 | void llSetHoverHeight(float height, Int32 water, float tau); | 227 | void llSetHoverHeight(double height, int water, double tau); |
228 | //wiki: llStopHover | 228 | //wiki: llStopHover |
229 | void llStopHover(); | 229 | void llStopHover(); |
230 | //wiki: llMinEventDelay(float delay) | 230 | //wiki: llMinEventDelay(double delay) |
231 | void llMinEventDelay(float delay); | 231 | void llMinEventDelay(double delay); |
232 | //wiki: (deprecated) llSoundPreload() | 232 | //wiki: (deprecated) llSoundPreload() |
233 | void llSoundPreload(); | 233 | void llSoundPreload(); |
234 | //wiki: llRotLookAt(rotation target, float strength, float damping) | 234 | //wiki: llRotLookAt(rotation target, double strength, double damping) |
235 | void llRotLookAt(Axiom.Math.Quaternion target, float strength, float damping); | 235 | void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping); |
236 | //wiki: integer llStringLength(string str) | 236 | //wiki: integer llStringLength(string str) |
237 | Int32 llStringLength(string str); | 237 | int llStringLength(string str); |
238 | //wiki: llStartAnimation(string anim) | 238 | //wiki: llStartAnimation(string anim) |
239 | void llStartAnimation(string anim); | 239 | void llStartAnimation(string anim); |
240 | //wiki: llStopAnimation(string anim) | 240 | //wiki: llStopAnimation(string anim) |
@@ -243,62 +243,62 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
243 | void llPointAt(); | 243 | void llPointAt(); |
244 | //wiki: (deprecated) llStopPointAt | 244 | //wiki: (deprecated) llStopPointAt |
245 | void llStopPointAt(); | 245 | void llStopPointAt(); |
246 | //wiki: llTargetOmega(vector axis, float spinrate, float gain) | 246 | //wiki: llTargetOmega(vector axis, double spinrate, double gain) |
247 | void llTargetOmega(Axiom.Math.Vector3 axis, float spinrate, float gain); | 247 | void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain); |
248 | //wiki: integer llGetStartParameter() | 248 | //wiki: integer llGetStartParameter() |
249 | Int32 llGetStartParameter(); | 249 | int llGetStartParameter(); |
250 | //wiki: llGodLikeRezObject(key inventory, vector pos) | 250 | //wiki: llGodLikeRezObject(key inventory, vector pos) |
251 | void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos); | 251 | void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos); |
252 | //wiki: llRequestPermissions(key agent, integer perm) | 252 | //wiki: llRequestPermissions(key agent, integer perm) |
253 | void llRequestPermissions(string agent, Int32 perm); | 253 | void llRequestPermissions(string agent, int perm); |
254 | //wiki: key llGetPermissionsKey() | 254 | //wiki: key llGetPermissionsKey() |
255 | string llGetPermissionsKey(); | 255 | string llGetPermissionsKey(); |
256 | //wiki: integer llGetPermissions() | 256 | //wiki: integer llGetPermissions() |
257 | Int32 llGetPermissions(); | 257 | int llGetPermissions(); |
258 | //wiki integer llGetLinkNumber() | 258 | //wiki integer llGetLinkNumber() |
259 | Int32 llGetLinkNumber(); | 259 | int llGetLinkNumber(); |
260 | //wiki: llSetLinkColor(integer linknumber, vector color, integer face) | 260 | //wiki: llSetLinkColor(integer linknumber, vector color, integer face) |
261 | void llSetLinkColor(Int32 linknumber, Axiom.Math.Vector3 color, Int32 face); | 261 | void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face); |
262 | //wiki: llCreateLink(key target, integer parent) | 262 | //wiki: llCreateLink(key target, integer parent) |
263 | void llCreateLink(string target, Int32 parent); | 263 | void llCreateLink(string target, int parent); |
264 | //wiki: llBreakLink(integer linknum) | 264 | //wiki: llBreakLink(integer linknum) |
265 | void llBreakLink(Int32 linknum); | 265 | void llBreakLink(int linknum); |
266 | //wiki: llBreakAllLinks() | 266 | //wiki: llBreakAllLinks() |
267 | void llBreakAllLinks(); | 267 | void llBreakAllLinks(); |
268 | //wiki: key llGetLinkKey(integer linknum) | 268 | //wiki: key llGetLinkKey(integer linknum) |
269 | string llGetLinkKey(Int32 linknum); | 269 | string llGetLinkKey(int linknum); |
270 | //wiki: llGetLinkName(integer linknum) | 270 | //wiki: llGetLinkName(integer linknum) |
271 | void llGetLinkName(Int32 linknum); | 271 | void llGetLinkName(int linknum); |
272 | //wiki: integer llGetInventoryNumber(integer type) | 272 | //wiki: integer llGetInventoryNumber(integer type) |
273 | Int32 llGetInventoryNumber(Int32 type); | 273 | int llGetInventoryNumber(int type); |
274 | //wiki: string llGetInventoryName(integer type, integer number) | 274 | //wiki: string llGetInventoryName(integer type, integer number) |
275 | string llGetInventoryName(Int32 type, Int32 number); | 275 | string llGetInventoryName(int type, int number); |
276 | //wiki: llSetScriptState(string name, integer run) | 276 | //wiki: llSetScriptState(string name, integer run) |
277 | void llSetScriptState(string name, Int32 run); | 277 | void llSetScriptState(string name, int run); |
278 | //wiki: float llGetEnergy() | 278 | //wiki: double llGetEnergy() |
279 | float llGetEnergy(); | 279 | double llGetEnergy(); |
280 | //wiki: llGiveInventory(key destination, string inventory) | 280 | //wiki: llGiveInventory(key destination, string inventory) |
281 | void llGiveInventory(string destination, string inventory); | 281 | void llGiveInventory(string destination, string inventory); |
282 | //wiki: llRemoveInventory(string item) | 282 | //wiki: llRemoveInventory(string item) |
283 | void llRemoveInventory(string item); | 283 | void llRemoveInventory(string item); |
284 | //wiki: llSetText(string text, vector color, float alpha) | 284 | //wiki: llSetText(string text, vector color, double alpha) |
285 | void llSetText(string text, Axiom.Math.Vector3 color, float alpha); | 285 | void llSetText(string text, Axiom.Math.Vector3 color, double alpha); |
286 | //wiki: float llWater(vector offset) | 286 | //wiki: double llWater(vector offset) |
287 | float llWater(Axiom.Math.Vector3 offset); | 287 | double llWater(Axiom.Math.Vector3 offset); |
288 | //wiki: llPassTouches(integer pass) | 288 | //wiki: llPassTouches(integer pass) |
289 | void llPassTouches(Int32 pass); | 289 | void llPassTouches(int pass); |
290 | //wiki: key llRequestAgentData(key id, integer data) | 290 | //wiki: key llRequestAgentData(key id, integer data) |
291 | string llRequestAgentData(string id, Int32 data); | 291 | string llRequestAgentData(string id, int data); |
292 | //wiki: key llRequestInventoryData(string name) | 292 | //wiki: key llRequestInventoryData(string name) |
293 | string llRequestInventoryData(string name); | 293 | string llRequestInventoryData(string name); |
294 | //wiki: llSetDamage(float damage) | 294 | //wiki: llSetDamage(double damage) |
295 | void llSetDamage(float damage); | 295 | void llSetDamage(double damage); |
296 | //wiki: llTeleportAgentHome(key agent) | 296 | //wiki: llTeleportAgentHome(key agent) |
297 | void llTeleportAgentHome(string agent); | 297 | void llTeleportAgentHome(string agent); |
298 | //wiki: llModifyLand(integer action, integer brush) | 298 | //wiki: llModifyLand(integer action, integer brush) |
299 | void llModifyLand(Int32 action, Int32 brush); | 299 | void llModifyLand(int action, int brush); |
300 | //wiki: llCollisionSound(string impact_sound, float impact_volume) | 300 | //wiki: llCollisionSound(string impact_sound, double impact_volume) |
301 | void llCollisionSound(string impact_sound, float impact_volume); | 301 | void llCollisionSound(string impact_sound, double impact_volume); |
302 | //wiki: llCollisionSprite(string impact_sprite) | 302 | //wiki: llCollisionSprite(string impact_sprite) |
303 | void llCollisionSprite(string impact_sprite); | 303 | void llCollisionSprite(string impact_sprite); |
304 | //wiki: string llGetAnimation(key id) | 304 | //wiki: string llGetAnimation(key id) |
@@ -306,80 +306,80 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
306 | //wiki: llResetScript() | 306 | //wiki: llResetScript() |
307 | void llResetScript(); | 307 | void llResetScript(); |
308 | //wiki: llMessageLinked(integer linknum, integer num, string str, key id) | 308 | //wiki: llMessageLinked(integer linknum, integer num, string str, key id) |
309 | void llMessageLinked(Int32 linknum, Int32 num, string str, string id); | 309 | void llMessageLinked(int linknum, int num, string str, string id); |
310 | //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) | 310 | //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) |
311 | void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, Int32 local); | 311 | void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local); |
312 | //wiki: llPassCollisions(integer pass) | 312 | //wiki: llPassCollisions(integer pass) |
313 | void llPassCollisions(Int32 pass); | 313 | void llPassCollisions(int pass); |
314 | //wiki: string llGetScriptName() | 314 | //wiki: string llGetScriptName() |
315 | string llGetScriptName(); | 315 | string llGetScriptName(); |
316 | //wiki: integer llGetNumberOfSides() | 316 | //wiki: integer llGetNumberOfSides() |
317 | Int32 llGetNumberOfSides(); | 317 | int llGetNumberOfSides(); |
318 | //wiki: rotation llAxisAngle2Rot(vector axis, float angle) | 318 | //wiki: rotation llAxisAngle2Rot(vector axis, double angle) |
319 | Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, float angle); | 319 | Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle); |
320 | //wiki: vector llRot2Axis(rotation rot) | 320 | //wiki: vector llRot2Axis(rotation rot) |
321 | Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot); | 321 | Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot); |
322 | void llRot2Angle(); | 322 | void llRot2Angle(); |
323 | //wiki: float llAcos(float val) | 323 | //wiki: double llAcos(double val) |
324 | float llAcos(float val); | 324 | double llAcos(double val); |
325 | //wiki: float llAsin(float val) | 325 | //wiki: double llAsin(double val) |
326 | float llAsin(float val); | 326 | double llAsin(double val); |
327 | //wiki: float llAngleBetween(rotation a, rotation b) | 327 | //wiki: double llAngleBetween(rotation a, rotation b) |
328 | float llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b); | 328 | double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b); |
329 | //wiki: string llGetInventoryKey(string name) | 329 | //wiki: string llGetInventoryKey(string name) |
330 | string llGetInventoryKey(string name); | 330 | string llGetInventoryKey(string name); |
331 | //wiki: llAllowInventoryDrop(integer add) | 331 | //wiki: llAllowInventoryDrop(integer add) |
332 | void llAllowInventoryDrop(Int32 add); | 332 | void llAllowInventoryDrop(int add); |
333 | //wiki: vector llGetSunDirection() | 333 | //wiki: vector llGetSunDirection() |
334 | Axiom.Math.Vector3 llGetSunDirection(); | 334 | Axiom.Math.Vector3 llGetSunDirection(); |
335 | //wiki: vector llGetTextureOffset(integer face) | 335 | //wiki: vector llGetTextureOffset(integer face) |
336 | Axiom.Math.Vector3 llGetTextureOffset(Int32 face); | 336 | Axiom.Math.Vector3 llGetTextureOffset(int face); |
337 | //wiki: vector llGetTextureScale(integer side) | 337 | //wiki: vector llGetTextureScale(integer side) |
338 | Axiom.Math.Vector3 llGetTextureScale(Int32 side); | 338 | Axiom.Math.Vector3 llGetTextureScale(int side); |
339 | //wiki: float llGetTextureRot(integer side) | 339 | //wiki: double llGetTextureRot(integer side) |
340 | float llGetTextureRot(Int32 side); | 340 | double llGetTextureRot(int side); |
341 | //wiki: integer llSubStringIndex(string source, string pattern) | 341 | //wiki: integer llSubStringIndex(string source, string pattern) |
342 | Int32 llSubStringIndex(string source, string pattern); | 342 | int llSubStringIndex(string source, string pattern); |
343 | //wiki: key llGetOwnerKey(key id) | 343 | //wiki: key llGetOwnerKey(key id) |
344 | string llGetOwnerKey(string id); | 344 | string llGetOwnerKey(string id); |
345 | //wiki: vector llGetCenterOfMass() | 345 | //wiki: vector llGetCenterOfMass() |
346 | Axiom.Math.Vector3 llGetCenterOfMass(); | 346 | Axiom.Math.Vector3 llGetCenterOfMass(); |
347 | //wiki: list llListSort(list src, integer stride, integer ascending) | 347 | //wiki: list llListSort(list src, integer stride, integer ascending) |
348 | List<string> llListSort(List<string> src, Int32 stride, Int32 ascending); | 348 | List<string> llListSort(List<string> src, int stride, int ascending); |
349 | //integer llGetListLength(list src) | 349 | //integer llGetListLength(list src) |
350 | Int32 llGetListLength(List<string> src); | 350 | int llGetListLength(List<string> src); |
351 | //wiki: integer llList2Integer(list src, integer index) | 351 | //wiki: integer llList2Integer(list src, integer index) |
352 | Int32 llList2Integer(List<string> src, Int32 index); | 352 | int llList2Integer(List<string> src, int index); |
353 | //wiki: float llList2Float(list src, integer index) | 353 | //wiki: double llList2double(list src, integer index) |
354 | float llList2Float(List<string> src, Int32 index); | 354 | double llList2double(List<string> src, int index); |
355 | //wiki: string llList2String(list src, integer index) | 355 | //wiki: string llList2String(list src, integer index) |
356 | string llList2String(List<string> src, Int32 index); | 356 | string llList2String(List<string> src, int index); |
357 | //wiki: key llList2Key(list src, integer index) | 357 | //wiki: key llList2Key(list src, integer index) |
358 | string llList2Key(List<string> src, Int32 index); | 358 | string llList2Key(List<string> src, int index); |
359 | //wiki: vector llList2Vector(list src, integer index) | 359 | //wiki: vector llList2Vector(list src, integer index) |
360 | Axiom.Math.Vector3 llList2Vector(List<string> src, Int32 index); | 360 | Axiom.Math.Vector3 llList2Vector(List<string> src, int index); |
361 | //wiki rotation llList2Rot(list src, integer index) | 361 | //wiki rotation llList2Rot(list src, integer index) |
362 | Axiom.Math.Quaternion llList2Rot(List<string> src, Int32 index); | 362 | Axiom.Math.Quaternion llList2Rot(List<string> src, int index); |
363 | //wiki: list llList2List(list src, integer start, integer end) | 363 | //wiki: list llList2List(list src, integer start, integer end) |
364 | List<string> llList2List(List<string> src, Int32 start, Int32 end); | 364 | List<string> llList2List(List<string> src, int start, int end); |
365 | //wiki: llDeleteSubList(list src, integer start, integer end) | 365 | //wiki: llDeleteSubList(list src, integer start, integer end) |
366 | List<string> llDeleteSubList(List<string> src, Int32 start, Int32 end); | 366 | List<string> llDeleteSubList(List<string> src, int start, int end); |
367 | //wiki: integer llGetListEntryType( list src, integer index ) | 367 | //wiki: integer llGetListEntryType( list src, integer index ) |
368 | Int32 llGetListEntryType(List<string> src, Int32 index); | 368 | int llGetListEntryType(List<string> src, int index); |
369 | //wiki: string llList2CSV( list src ) | 369 | //wiki: string llList2CSV( list src ) |
370 | string llList2CSV(List<string> src); | 370 | string llList2CSV(List<string> src); |
371 | //wiki: list llCSV2List( string src ) | 371 | //wiki: list llCSV2List( string src ) |
372 | List<string> llCSV2List(string src); | 372 | List<string> llCSV2List(string src); |
373 | //wiki: list llListRandomize( list src, integer stride ) | 373 | //wiki: list llListRandomize( list src, integer stride ) |
374 | List<string> llListRandomize(List<string> src, Int32 stride); | 374 | List<string> llListRandomize(List<string> src, int stride); |
375 | //wiki: list llList2ListStrided( list src, integer start, integer end, integer stride ) | 375 | //wiki: list llList2ListStrided( list src, integer start, integer end, integer stride ) |
376 | List<string> llList2ListStrided(List<string> src, Int32 start, Int32 end, Int32 stride); | 376 | List<string> llList2ListStrided(List<string> src, int start, int end, int stride); |
377 | //wiki: vector llGetRegionCorner( ) | 377 | //wiki: vector llGetRegionCorner( ) |
378 | Axiom.Math.Vector3 llGetRegionCorner(); | 378 | Axiom.Math.Vector3 llGetRegionCorner(); |
379 | //wiki: list llListInsertList( list dest, list src, integer start ) | 379 | //wiki: list llListInsertList( list dest, list src, integer start ) |
380 | List<string> llListInsertList(List<string> dest, List<string> src, Int32 start); | 380 | List<string> llListInsertList(List<string> dest, List<string> src, int start); |
381 | //wiki: integer llListFindList( list src, list test ) | 381 | //wiki: integer llListFindList( list src, list test ) |
382 | Int32 llListFindList(List<string> src, List<string> test); | 382 | int llListFindList(List<string> src, List<string> test); |
383 | //wiki: string llGetObjectName() | 383 | //wiki: string llGetObjectName() |
384 | string llGetObjectName(); | 384 | string llGetObjectName(); |
385 | //wiki: llSetObjectName(string name) | 385 | //wiki: llSetObjectName(string name) |
@@ -387,34 +387,34 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
387 | //wiki: string llGetDate() | 387 | //wiki: string llGetDate() |
388 | string llGetDate(); | 388 | string llGetDate(); |
389 | //wiki: integer llEdgeOfWorld(vector pos, vector dir) | 389 | //wiki: integer llEdgeOfWorld(vector pos, vector dir) |
390 | Int32 llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir); | 390 | int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir); |
391 | //wiki: integer llGetAgentInfo(key id) | 391 | //wiki: integer llGetAgentInfo(key id) |
392 | Int32 llGetAgentInfo(string id); | 392 | int llGetAgentInfo(string id); |
393 | //wiki: llAdjustSoundVolume(float volume) | 393 | //wiki: llAdjustSoundVolume(double volume) |
394 | void llAdjustSoundVolume(float volume); | 394 | void llAdjustSoundVolume(double volume); |
395 | //wiki: llSetSoundQueueing(integer queue) | 395 | //wiki: llSetSoundQueueing(integer queue) |
396 | void llSetSoundQueueing(Int32 queue); | 396 | void llSetSoundQueueing(int queue); |
397 | //wiki: llSetSoundRadius(float radius) | 397 | //wiki: llSetSoundRadius(double radius) |
398 | void llSetSoundRadius(float radius); | 398 | void llSetSoundRadius(double radius); |
399 | //wiki: string llKey2Name(key id) | 399 | //wiki: string llKey2Name(key id) |
400 | string llKey2Name(string id); | 400 | string llKey2Name(string id); |
401 | //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, float start, float length, float rate) | 401 | //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate) |
402 | void llSetTextureAnim(Int32 mode, Int32 face, Int32 sizex, Int32 sizey, float start, float length, float rate); | 402 | void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate); |
403 | //wiki: llTriggerSoundLimited(string sound, float volume, vector top_north_east, vector bottom_south_west) | 403 | //wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) |
404 | void llTriggerSoundLimited(string sound, float volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west); | 404 | void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west); |
405 | //wiki: llEjectFromLand(key pest) | 405 | //wiki: llEjectFromLand(key pest) |
406 | void llEjectFromLand(string pest); | 406 | void llEjectFromLand(string pest); |
407 | void llParseString2List(); | 407 | void llParseString2List(); |
408 | //wiki: integer llOverMyLand(key id) | 408 | //wiki: integer llOverMyLand(key id) |
409 | Int32 llOverMyLand(string id); | 409 | int llOverMyLand(string id); |
410 | //wiki: key llGetLandOwnerAt(vector pos) | 410 | //wiki: key llGetLandOwnerAt(vector pos) |
411 | string llGetLandOwnerAt(Axiom.Math.Vector3 pos); | 411 | string llGetLandOwnerAt(Axiom.Math.Vector3 pos); |
412 | //wiki: key llGetNotecardLine(string name, integer line) | 412 | //wiki: key llGetNotecardLine(string name, integer line) |
413 | string llGetNotecardLine(string name, Int32 line); | 413 | string llGetNotecardLine(string name, int line); |
414 | //wiki: vector llGetAgentSize(key id) | 414 | //wiki: vector llGetAgentSize(key id) |
415 | Axiom.Math.Vector3 llGetAgentSize(string id); | 415 | Axiom.Math.Vector3 llGetAgentSize(string id); |
416 | //wiki: integer llSameGroup(key agent) | 416 | //wiki: integer llSameGroup(key agent) |
417 | Int32 llSameGroup(string agent); | 417 | int llSameGroup(string agent); |
418 | //wiki: llUnSit(key id) | 418 | //wiki: llUnSit(key id) |
419 | void llUnSit(string id); | 419 | void llUnSit(string id); |
420 | //wiki: vector llGroundSlope(vector offset) | 420 | //wiki: vector llGroundSlope(vector offset) |
@@ -424,38 +424,38 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
424 | //wiki: vector llGroundContour(vector offset) | 424 | //wiki: vector llGroundContour(vector offset) |
425 | Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset); | 425 | Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset); |
426 | //wiki: integer llGetAttached() | 426 | //wiki: integer llGetAttached() |
427 | Int32 llGetAttached(); | 427 | int llGetAttached(); |
428 | //wiki: integer llGetFreeMemory() | 428 | //wiki: integer llGetFreeMemory() |
429 | Int32 llGetFreeMemory(); | 429 | int llGetFreeMemory(); |
430 | //wiki: string llGetRegionName() | 430 | //wiki: string llGetRegionName() |
431 | string llGetRegionName(); | 431 | string llGetRegionName(); |
432 | //wiki: float llGetRegionTimeDilation() | 432 | //wiki: double llGetRegionTimeDilation() |
433 | float llGetRegionTimeDilation(); | 433 | double llGetRegionTimeDilation(); |
434 | //wiki: float llGetRegionFPS() | 434 | //wiki: double llGetRegionFPS() |
435 | float llGetRegionFPS(); | 435 | double llGetRegionFPS(); |
436 | //wiki: llParticleSystem(List<Object> rules | 436 | //wiki: llParticleSystem(List<Object> rules |
437 | void llParticleSystem(List<Object> rules); | 437 | void llParticleSystem(List<Object> rules); |
438 | //wiki: llGroundRepel(float height, integer water, float tau) | 438 | //wiki: llGroundRepel(double height, integer water, double tau) |
439 | void llGroundRepel(float height, Int32 water, float tau); | 439 | void llGroundRepel(double height, int water, double tau); |
440 | void llGiveInventoryList(); | 440 | void llGiveInventoryList(); |
441 | //wiki: llSetVehicleType(integer type) | 441 | //wiki: llSetVehicleType(integer type) |
442 | void llSetVehicleType(Int32 type); | 442 | void llSetVehicleType(int type); |
443 | //wiki: llSetVehicleFloatParam(integer param, float value) | 443 | //wiki: llSetVehicledoubleParam(integer param, double value) |
444 | void llSetVehicleFloatParam(Int32 param, float value); | 444 | void llSetVehicledoubleParam(int param, double value); |
445 | //wiki: llSetVehicleVectorParam(integer param, vector vec) | 445 | //wiki: llSetVehicleVectorParam(integer param, vector vec) |
446 | void llSetVehicleVectorParam(Int32 param, Axiom.Math.Vector3 vec); | 446 | void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec); |
447 | //wiki: llSetVehicleRotationParam(integer param, rotation rot) | 447 | //wiki: llSetVehicleRotationParam(integer param, rotation rot) |
448 | void llSetVehicleRotationParam(Int32 param, Axiom.Math.Quaternion rot); | 448 | void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot); |
449 | //wiki: llSetVehicleFlags(integer flags) | 449 | //wiki: llSetVehicleFlags(integer flags) |
450 | void llSetVehicleFlags(Int32 flags); | 450 | void llSetVehicleFlags(int flags); |
451 | //wiki: llRemoveVehicleFlags(integer flags) | 451 | //wiki: llRemoveVehicleFlags(integer flags) |
452 | void llRemoveVehicleFlags(Int32 flags); | 452 | void llRemoveVehicleFlags(int flags); |
453 | //wiki: llSitTarget(vector offset, rotation rot) | 453 | //wiki: llSitTarget(vector offset, rotation rot) |
454 | void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot); | 454 | void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot); |
455 | //wiki key llAvatarOnSitTarget() | 455 | //wiki key llAvatarOnSitTarget() |
456 | string llAvatarOnSitTarget(); | 456 | string llAvatarOnSitTarget(); |
457 | //wiki: llAddToLandPassList(key avatar, float hours) | 457 | //wiki: llAddToLandPassList(key avatar, double hours) |
458 | void llAddToLandPassList(string avatar, float hours); | 458 | void llAddToLandPassList(string avatar, double hours); |
459 | //wiki: llSetTouchText(string text) | 459 | //wiki: llSetTouchText(string text) |
460 | void llSetTouchText(string text); | 460 | void llSetTouchText(string text); |
461 | //wiki: llSetSitText(string text) | 461 | //wiki: llSetSitText(string text) |
@@ -468,29 +468,29 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
468 | //wiki: integer llScriptDanger(vector pos) | 468 | //wiki: integer llScriptDanger(vector pos) |
469 | void llScriptDanger(Axiom.Math.Vector3 pos); | 469 | void llScriptDanger(Axiom.Math.Vector3 pos); |
470 | //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel ) | 470 | //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel ) |
471 | void llDialog(string avatar, string message, List<string> buttons, Int32 chat_channel); | 471 | void llDialog(string avatar, string message, List<string> buttons, int chat_channel); |
472 | //wiki: llVolumeDetect(integer detect) | 472 | //wiki: llVolumeDetect(integer detect) |
473 | void llVolumeDetect(Int32 detect); | 473 | void llVolumeDetect(int detect); |
474 | //wiki: llResetOtherScript(string name) | 474 | //wiki: llResetOtherScript(string name) |
475 | void llResetOtherScript(string name); | 475 | void llResetOtherScript(string name); |
476 | //wiki: integer llGetScriptState(string name) | 476 | //wiki: integer llGetScriptState(string name) |
477 | Int32 llGetScriptState(string name); | 477 | int llGetScriptState(string name); |
478 | //wiki: (deprecated) | 478 | //wiki: (deprecated) |
479 | void llRemoteLoadScript(); | 479 | void llRemoteLoadScript(); |
480 | //wiki: llSetRemoteScriptAccessPin(integer pin) | 480 | //wiki: llSetRemoteScriptAccessPin(integer pin) |
481 | void llSetRemoteScriptAccessPin(Int32 pin); | 481 | void llSetRemoteScriptAccessPin(int pin); |
482 | //wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param) | 482 | //wiki: llRemoteLoadScriptPin(key target, string name, integer pin, integer running, integer start_param) |
483 | void llRemoteLoadScriptPin(string target, string name, Int32 pin, Int32 running, Int32 start_param); | 483 | void llRemoteLoadScriptPin(string target, string name, int pin, int running, int start_param); |
484 | //wiki: llOpenRemoteDataChannel() | 484 | //wiki: llOpenRemoteDataChannel() |
485 | void llOpenRemoteDataChannel(); | 485 | void llOpenRemoteDataChannel(); |
486 | //wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata) | 486 | //wiki: key llSendRemoteData(key channel, string dest, integer idata, string sdata) |
487 | string llSendRemoteData(string channel, string dest, Int32 idata, string sdata); | 487 | string llSendRemoteData(string channel, string dest, int idata, string sdata); |
488 | //wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata) | 488 | //wiki: llRemoteDataReply(key channel, key message_id, string sdata, integer idata) |
489 | void llRemoteDataReply(string channel, string message_id, string sdata, Int32 idata); | 489 | void llRemoteDataReply(string channel, string message_id, string sdata, int idata); |
490 | //wiki: llCloseRemoteDataChannel(key channel) | 490 | //wiki: llCloseRemoteDataChannel(key channel) |
491 | void llCloseRemoteDataChannel(string channel); | 491 | void llCloseRemoteDataChannel(string channel); |
492 | //wiki: string llMD5String(string src, integer nonce) | 492 | //wiki: string llMD5String(string src, integer nonce) |
493 | string llMD5String(string src, Int32 nonce); | 493 | string llMD5String(string src, int nonce); |
494 | //wiki: llSetPrimitiveParams( list rules ) | 494 | //wiki: llSetPrimitiveParams( list rules ) |
495 | void llSetPrimitiveParams(List<string> rules); | 495 | void llSetPrimitiveParams(List<string> rules); |
496 | //wiki: string llStringToBase64(string str) | 496 | //wiki: string llStringToBase64(string str) |
@@ -501,10 +501,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
501 | void llXorBase64Strings(); | 501 | void llXorBase64Strings(); |
502 | //wiki: llRemoteDataSetRegion() | 502 | //wiki: llRemoteDataSetRegion() |
503 | void llRemoteDataSetRegion(); | 503 | void llRemoteDataSetRegion(); |
504 | //wiki: float llLog10(float val) | 504 | //wiki: double llLog10(double val) |
505 | float llLog10(float val); | 505 | double llLog10(double val); |
506 | //wiki: float llLog(float val) | 506 | //wiki: double llLog(double val) |
507 | float llLog(float val); | 507 | double llLog(double val); |
508 | //wiki: list llGetAnimationList( key id ) | 508 | //wiki: list llGetAnimationList( key id ) |
509 | List<string> llGetAnimationList(string id); | 509 | List<string> llGetAnimationList(string id); |
510 | //wiki: llSetParcelMusicURL(string url) | 510 | //wiki: llSetParcelMusicURL(string url) |
@@ -521,10 +521,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
521 | string llGetCreator(); | 521 | string llGetCreator(); |
522 | //wiki: string llGetTimestamp() | 522 | //wiki: string llGetTimestamp() |
523 | string llGetTimestamp(); | 523 | string llGetTimestamp(); |
524 | //wiki: llSetLinkAlpha(integer linknumber, float alpha, integer face) | 524 | //wiki: llSetLinkAlpha(integer linknumber, double alpha, integer face) |
525 | void llSetLinkAlpha(Int32 linknumber, float alpha, Int32 face); | 525 | void llSetLinkAlpha(int linknumber, double alpha, int face); |
526 | //wiki: integer llGetNumberOfPrims() | 526 | //wiki: integer llGetNumberOfPrims() |
527 | Int32 llGetNumberOfPrims(); | 527 | int llGetNumberOfPrims(); |
528 | //wiki: key llGetNumberOfNotecardLines(string name) | 528 | //wiki: key llGetNumberOfNotecardLines(string name) |
529 | string llGetNumberOfNotecardLines(string name); | 529 | string llGetNumberOfNotecardLines(string name); |
530 | //wiki: list llGetBoundingBox( key object ) | 530 | //wiki: list llGetBoundingBox( key object ) |
@@ -533,11 +533,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
533 | Axiom.Math.Vector3 llGetGeometricCenter(); | 533 | Axiom.Math.Vector3 llGetGeometricCenter(); |
534 | void llGetPrimitiveParams(); | 534 | void llGetPrimitiveParams(); |
535 | //wiki: string llIntegerToBase64(integer number) | 535 | //wiki: string llIntegerToBase64(integer number) |
536 | string llIntegerToBase64(Int32 number); | 536 | string llIntegerToBase64(int number); |
537 | //wiki integer llBase64ToInteger(string str) | 537 | //wiki integer llBase64ToInteger(string str) |
538 | Int32 llBase64ToInteger(string str); | 538 | int llBase64ToInteger(string str); |
539 | //wiki: float llGetGMTclock() | 539 | //wiki: double llGetGMTclock() |
540 | float llGetGMTclock(); | 540 | double llGetGMTclock(); |
541 | //wiki: string llGetSimulatorHostname() | 541 | //wiki: string llGetSimulatorHostname() |
542 | string llGetSimulatorHostname(); | 542 | string llGetSimulatorHostname(); |
543 | //llSetLocalRot(rotation rot) | 543 | //llSetLocalRot(rotation rot) |
@@ -545,25 +545,25 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
545 | //wiki: list llParseStringKeepNulls( string src, list separators, list spacers ) | 545 | //wiki: list llParseStringKeepNulls( string src, list separators, list spacers ) |
546 | List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers); | 546 | List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers); |
547 | //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param) | 547 | //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param) |
548 | void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, Int32 param); | 548 | void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param); |
549 | //wiki: integer llGetObjectPermMask(integer mask) | 549 | //wiki: integer llGetObjectPermMask(integer mask) |
550 | Int32 llGetObjectPermMask(Int32 mask); | 550 | int llGetObjectPermMask(int mask); |
551 | //wiki: llSetObjectPermMask(integer mask, integer value) | 551 | //wiki: llSetObjectPermMask(integer mask, integer value) |
552 | void llSetObjectPermMask(Int32 mask, Int32 value); | 552 | void llSetObjectPermMask(int mask, int value); |
553 | //wiki integer llGetInventoryPermMask(string item, integer mask) | 553 | //wiki integer llGetInventoryPermMask(string item, integer mask) |
554 | void llGetInventoryPermMask(string item, Int32 mask); | 554 | void llGetInventoryPermMask(string item, int mask); |
555 | //wiki: llSetInventoryPermMask(string item, integer mask, integer value) | 555 | //wiki: llSetInventoryPermMask(string item, integer mask, integer value) |
556 | void llSetInventoryPermMask(string item, Int32 mask, Int32 value); | 556 | void llSetInventoryPermMask(string item, int mask, int value); |
557 | //wiki: key llGetInventoryCreator(string item) | 557 | //wiki: key llGetInventoryCreator(string item) |
558 | string llGetInventoryCreator(string item); | 558 | string llGetInventoryCreator(string item); |
559 | //wiki: llOwnerSay(string msg) | 559 | //wiki: llOwnerSay(string msg) |
560 | void llOwnerSay(string msg); | 560 | void llOwnerSay(string msg); |
561 | //wiki: key llRequestSimulatorData(string simulator, integer data) | 561 | //wiki: key llRequestSimulatorData(string simulator, integer data) |
562 | void llRequestSimulatorData(string simulator, Int32 data); | 562 | void llRequestSimulatorData(string simulator, int data); |
563 | //wiki: llForceMouselook(integer mouselook) | 563 | //wiki: llForceMouselook(integer mouselook) |
564 | void llForceMouselook(Int32 mouselook); | 564 | void llForceMouselook(int mouselook); |
565 | //wiki: float llGetObjectMass(key id) | 565 | //wiki: double llGetObjectMass(key id) |
566 | float llGetObjectMass(string id); | 566 | double llGetObjectMass(string id); |
567 | void llListReplaceList(); | 567 | void llListReplaceList(); |
568 | //wiki: llLoadURL(key avatar_id, string message, string url) | 568 | //wiki: llLoadURL(key avatar_id, string message, string url) |
569 | void llLoadURL(string avatar_id, string message, string url); | 569 | void llLoadURL(string avatar_id, string message, string url); |
@@ -571,11 +571,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
571 | void llParcelMediaCommandList(List<string> commandList); | 571 | void llParcelMediaCommandList(List<string> commandList); |
572 | void llParcelMediaQuery(); | 572 | void llParcelMediaQuery(); |
573 | //wiki integer llModPow(integer a, integer b, integer c) | 573 | //wiki integer llModPow(integer a, integer b, integer c) |
574 | Int32 llModPow(Int32 a, Int32 b, Int32 c); | 574 | int llModPow(int a, int b, int c); |
575 | //wiki: integer llGetInventoryType(string name) | 575 | //wiki: integer llGetInventoryType(string name) |
576 | Int32 llGetInventoryType(string name); | 576 | int llGetInventoryType(string name); |
577 | //wiki: llSetPayPrice( integer price, list quick_pay_buttons ) | 577 | //wiki: llSetPayPrice( integer price, list quick_pay_buttons ) |
578 | void llSetPayPrice(Int32 price, List<string> quick_pay_buttons); | 578 | void llSetPayPrice(int price, List<string> quick_pay_buttons); |
579 | //wiki: vector llGetCameraPos() | 579 | //wiki: vector llGetCameraPos() |
580 | Axiom.Math.Vector3 llGetCameraPos(); | 580 | Axiom.Math.Vector3 llGetCameraPos(); |
581 | //wiki rotation llGetCameraRot() | 581 | //wiki rotation llGetCameraRot() |
@@ -590,8 +590,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
590 | string llUnescapeURL(string url); | 590 | string llUnescapeURL(string url); |
591 | //wiki: llMapDestination(string simname, vector pos, vector look_at) | 591 | //wiki: llMapDestination(string simname, vector pos, vector look_at) |
592 | void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at); | 592 | void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at); |
593 | //wiki: llAddToLandBanList(key avatar, float hours) | 593 | //wiki: llAddToLandBanList(key avatar, double hours) |
594 | void llAddToLandBanList(string avatar, float hours); | 594 | void llAddToLandBanList(string avatar, double hours); |
595 | //wiki: llRemoveFromLandPassList(key avatar) | 595 | //wiki: llRemoveFromLandPassList(key avatar) |
596 | void llRemoveFromLandPassList(string avatar); | 596 | void llRemoveFromLandPassList(string avatar); |
597 | //wiki: llRemoveFromLandBanList(key avatar) | 597 | //wiki: llRemoveFromLandBanList(key avatar) |
@@ -600,14 +600,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
600 | void llSetCameraParams(List<string> rules); | 600 | void llSetCameraParams(List<string> rules); |
601 | //wiki: llClearCameraParams() | 601 | //wiki: llClearCameraParams() |
602 | void llClearCameraParams(); | 602 | void llClearCameraParams(); |
603 | //wiki: float llListStatistics( integer operation, list src ) | 603 | //wiki: double llListStatistics( integer operation, list src ) |
604 | float llListStatistics(Int32 operation, List<string> src); | 604 | double llListStatistics(int operation, List<string> src); |
605 | //wiki: integer llGetUnixTime() | 605 | //wiki: integer llGetUnixTime() |
606 | Int32 llGetUnixTime(); | 606 | int llGetUnixTime(); |
607 | //wiki: integer llGetParcelFlags(vector pos) | 607 | //wiki: integer llGetParcelFlags(vector pos) |
608 | Int32 llGetParcelFlags(Axiom.Math.Vector3 pos); | 608 | int llGetParcelFlags(Axiom.Math.Vector3 pos); |
609 | //wiki: integer llGetRegionFlags() | 609 | //wiki: integer llGetRegionFlags() |
610 | Int32 llGetRegionFlags(); | 610 | int llGetRegionFlags(); |
611 | //wiki: string llXorBase64StringsCorrect(string str1, string str2) | 611 | //wiki: string llXorBase64StringsCorrect(string str1, string str2) |
612 | string llXorBase64StringsCorrect(string str1, string str2); | 612 | string llXorBase64StringsCorrect(string str1, string str2); |
613 | void llHTTPRequest(); | 613 | void llHTTPRequest(); |
@@ -616,13 +616,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler | |||
616 | //wiki: llResetLandPassList() | 616 | //wiki: llResetLandPassList() |
617 | void llResetLandPassList(); | 617 | void llResetLandPassList(); |
618 | //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) | 618 | //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) |
619 | Int32 llGetParcelPrimCount(Axiom.Math.Vector3 pos, Int32 category, Int32 sim_wide); | 619 | int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide); |
620 | //wiki: list llGetParcelPrimOwners( vector pos ) | 620 | //wiki: list llGetParcelPrimOwners( vector pos ) |
621 | List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos); | 621 | List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos); |
622 | //wiki: integer llGetObjectPrimCount(key object_id) | 622 | //wiki: integer llGetObjectPrimCount(key object_id) |
623 | Int32 llGetObjectPrimCount(string object_id); | 623 | int llGetObjectPrimCount(string object_id); |
624 | //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) | 624 | //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) |
625 | Int32 llGetParcelMaxPrims(Axiom.Math.Vector3 pos, Int32 sim_wide); | 625 | int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide); |
626 | //wiki list llGetParcelDetails(vector pos, list params) | 626 | //wiki list llGetParcelDetails(vector pos, list params) |
627 | List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param); | 627 | List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param); |
628 | } | 628 | } |