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