aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs170
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_Types.cs53
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs8
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs17
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs15
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs174
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs181
7 files changed, 341 insertions, 277 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
index c56ff2f..beddbc5 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands_Interface.cs
@@ -48,16 +48,16 @@ namespace OpenSim.Region.ScriptEngine.Common
48 int llFloor(double f); 48 int llFloor(double f);
49 int llCeil(double f); 49 int llCeil(double f);
50 int llRound(double f); 50 int llRound(double f);
51 double llVecMag(Axiom.Math.Vector3 v); 51 double llVecMag(LSL_Types.Vector3 v);
52 Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v); 52 LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v);
53 double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b); 53 double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b);
54 Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r); 54 LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r);
55 Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v); 55 LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v);
56 Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up); 56 LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up);
57 Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r); 57 LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r);
58 Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r); 58 LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r);
59 Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r); 59 LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r);
60 Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end); 60 LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end);
61 void llWhisper(int channelID, string text); 61 void llWhisper(int channelID, string text);
62 //void llSay(int channelID, string text); 62 //void llSay(int channelID, string text);
63 void llSay(int channelID, string text); 63 void llSay(int channelID, string text);
@@ -72,73 +72,73 @@ namespace OpenSim.Region.ScriptEngine.Common
72 string llDetectedKey(int number); 72 string llDetectedKey(int number);
73 string llDetectedOwner(int number); 73 string llDetectedOwner(int number);
74 int llDetectedType(int number); 74 int llDetectedType(int number);
75 Axiom.Math.Vector3 llDetectedPos(int number); 75 LSL_Types.Vector3 llDetectedPos(int number);
76 Axiom.Math.Vector3 llDetectedVel(int number); 76 LSL_Types.Vector3 llDetectedVel(int number);
77 Axiom.Math.Vector3 llDetectedGrab(int number); 77 LSL_Types.Vector3 llDetectedGrab(int number);
78 Axiom.Math.Quaternion llDetectedRot(int number); 78 LSL_Types.Quaternion llDetectedRot(int number);
79 int llDetectedGroup(int number); 79 int llDetectedGroup(int number);
80 int llDetectedLinkNumber(int number); 80 int llDetectedLinkNumber(int number);
81 void llDie(); 81 void llDie();
82 double llGround(Axiom.Math.Vector3 offset); 82 double llGround(LSL_Types.Vector3 offset);
83 double llCloud(Axiom.Math.Vector3 offset); 83 double llCloud(LSL_Types.Vector3 offset);
84 Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset); 84 LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset);
85 void llSetStatus(int status, int value); 85 void llSetStatus(int status, int value);
86 int llGetStatus(int status); 86 int llGetStatus(int status);
87 void llSetScale(Axiom.Math.Vector3 scale); 87 void llSetScale(LSL_Types.Vector3 scale);
88 Axiom.Math.Vector3 llGetScale(); 88 LSL_Types.Vector3 llGetScale();
89 void llSetColor(Axiom.Math.Vector3 color, int face); 89 void llSetColor(LSL_Types.Vector3 color, int face);
90 double llGetAlpha(int face); 90 double llGetAlpha(int face);
91 void llSetAlpha(double alpha, int face); 91 void llSetAlpha(double alpha, int face);
92 Axiom.Math.Vector3 llGetColor(int face); 92 LSL_Types.Vector3 llGetColor(int face);
93 void llSetTexture(string texture, int face); 93 void llSetTexture(string texture, int face);
94 void llScaleTexture(double u, double v, int face); 94 void llScaleTexture(double u, double v, int face);
95 void llOffsetTexture(double u, double v, int face); 95 void llOffsetTexture(double u, double v, int face);
96 void llRotateTexture(double rotation, int face); 96 void llRotateTexture(double rotation, int face);
97 string llGetTexture(int face); 97 string llGetTexture(int face);
98 void llSetPos(Axiom.Math.Vector3 pos); 98 void llSetPos(LSL_Types.Vector3 pos);
99 99
100 //wiki: vector llGetPos() 100 //wiki: vector llGetPos()
101 Axiom.Math.Vector3 llGetPos(); 101 LSL_Types.Vector3 llGetPos();
102 //wiki: vector llGetLocalPos() 102 //wiki: vector llGetLocalPos()
103 Axiom.Math.Vector3 llGetLocalPos(); 103 LSL_Types.Vector3 llGetLocalPos();
104 //wiki: llSetRot(rotation rot) 104 //wiki: llSetRot(rotation rot)
105 void llSetRot(Axiom.Math.Quaternion rot); 105 void llSetRot(LSL_Types.Quaternion rot);
106 //wiki: rotation llGetRot() 106 //wiki: rotation llGetRot()
107 Axiom.Math.Quaternion llGetRot(); 107 LSL_Types.Quaternion llGetRot();
108 //wiki: rotation llGetLocalRot() 108 //wiki: rotation llGetLocalRot()
109 Axiom.Math.Quaternion llGetLocalRot(); 109 LSL_Types.Quaternion llGetLocalRot();
110 //wiki: llSetForce(vector force, integer local) 110 //wiki: llSetForce(vector force, integer local)
111 void llSetForce(Axiom.Math.Vector3 force, int local); 111 void llSetForce(LSL_Types.Vector3 force, int local);
112 //wiki: vector llGetForce() 112 //wiki: vector llGetForce()
113 Axiom.Math.Vector3 llGetForce(); 113 LSL_Types.Vector3 llGetForce();
114 //wiki: integer llTarget(vector position, double range) 114 //wiki: integer llTarget(vector position, double range)
115 int llTarget(Axiom.Math.Vector3 position, double range); 115 int llTarget(LSL_Types.Vector3 position, double range);
116 //wiki: llTargetRemove(integer number) 116 //wiki: llTargetRemove(integer number)
117 void llTargetRemove(int number); 117 void llTargetRemove(int number);
118 //wiki: integer llRotTarget(rotation rot, double error) 118 //wiki: integer llRotTarget(rotation rot, double error)
119 int llRotTarget(Axiom.Math.Quaternion rot, double error); 119 int llRotTarget(LSL_Types.Quaternion rot, double error);
120 //wiki: integer llRotTargetRemove(integer number) 120 //wiki: integer llRotTargetRemove(integer number)
121 void llRotTargetRemove(int number); 121 void llRotTargetRemove(int number);
122 //wiki: llMoveToTarget(vector target, double tau) 122 //wiki: llMoveToTarget(vector target, double tau)
123 void llMoveToTarget(Axiom.Math.Vector3 target, double tau); 123 void llMoveToTarget(LSL_Types.Vector3 target, double tau);
124 //wiki: llStopMoveToTarget() 124 //wiki: llStopMoveToTarget()
125 void llStopMoveToTarget(); 125 void llStopMoveToTarget();
126 //wiki: llApplyImpulse(vector force, integer local) 126 //wiki: llApplyImpulse(vector force, integer local)
127 void llApplyImpulse(Axiom.Math.Vector3 force, int local); 127 void llApplyImpulse(LSL_Types.Vector3 force, int local);
128 //wiki: llapplyRotationalImpulse(vector force, integer local) 128 //wiki: llapplyRotationalImpulse(vector force, integer local)
129 void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local); 129 void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local);
130 //wiki: llSetTorque(vector torque, integer local) 130 //wiki: llSetTorque(vector torque, integer local)
131 void llSetTorque(Axiom.Math.Vector3 torque, int local); 131 void llSetTorque(LSL_Types.Vector3 torque, int local);
132 //wiki: vector llGetTorque() 132 //wiki: vector llGetTorque()
133 Axiom.Math.Vector3 llGetTorque(); 133 LSL_Types.Vector3 llGetTorque();
134 //wiki: llSeForceAndTorque(vector force, vector torque, integer local) 134 //wiki: llSeForceAndTorque(vector force, vector torque, integer local)
135 void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local); 135 void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local);
136 //wiki: vector llGetVel() 136 //wiki: vector llGetVel()
137 Axiom.Math.Vector3 llGetVel(); 137 LSL_Types.Vector3 llGetVel();
138 //wiki: vector llGetAccel() 138 //wiki: vector llGetAccel()
139 Axiom.Math.Vector3 llGetAccel(); 139 LSL_Types.Vector3 llGetAccel();
140 //wiki: vector llGetOmega() 140 //wiki: vector llGetOmega()
141 Axiom.Math.Vector3 llGetOmega(); 141 LSL_Types.Vector3 llGetOmega();
142 //wiki: double llGetTimeOfDay() 142 //wiki: double llGetTimeOfDay()
143 double llGetTimeOfDay(); 143 double llGetTimeOfDay();
144 //wiki: double llGetWallclock() 144 //wiki: double llGetWallclock()
@@ -188,9 +188,9 @@ namespace OpenSim.Region.ScriptEngine.Common
188 //wiki: (deprecated) 188 //wiki: (deprecated)
189 void llMakeFire(); 189 void llMakeFire();
190 //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param) 190 //wiki: llRezObject(string inventory, vector pos, vector rel, rotation rot, integer param)
191 void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param); 191 void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param);
192 //wiki: llLookAt(vector target, double strength, double damping) 192 //wiki: llLookAt(vector target, double strength, double damping)
193 void llLookAt(Axiom.Math.Vector3 target, double strength, double damping); 193 void llLookAt(LSL_Types.Vector3 target, double strength, double damping);
194 //wiki: llStopLookAt() 194 //wiki: llStopLookAt()
195 void llStopLookAt(); 195 void llStopLookAt();
196 //wiki: llSetTimerEvent(double sec) 196 //wiki: llSetTimerEvent(double sec)
@@ -234,7 +234,7 @@ namespace OpenSim.Region.ScriptEngine.Common
234 //wiki: (deprecated) llSoundPreload() 234 //wiki: (deprecated) llSoundPreload()
235 void llSoundPreload(); 235 void llSoundPreload();
236 //wiki: llRotLookAt(rotation target, double strength, double damping) 236 //wiki: llRotLookAt(rotation target, double strength, double damping)
237 void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping); 237 void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping);
238 //wiki: integer llStringLength(string str) 238 //wiki: integer llStringLength(string str)
239 int llStringLength(string str); 239 int llStringLength(string str);
240 //wiki: llStartAnimation(string anim) 240 //wiki: llStartAnimation(string anim)
@@ -246,11 +246,11 @@ namespace OpenSim.Region.ScriptEngine.Common
246 //wiki: (deprecated) llStopPointAt 246 //wiki: (deprecated) llStopPointAt
247 void llStopPointAt(); 247 void llStopPointAt();
248 //wiki: llTargetOmega(vector axis, double spinrate, double gain) 248 //wiki: llTargetOmega(vector axis, double spinrate, double gain)
249 void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain); 249 void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain);
250 //wiki: integer llGetStartParameter() 250 //wiki: integer llGetStartParameter()
251 int llGetStartParameter(); 251 int llGetStartParameter();
252 //wiki: llGodLikeRezObject(key inventory, vector pos) 252 //wiki: llGodLikeRezObject(key inventory, vector pos)
253 void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos); 253 void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos);
254 //wiki: llRequestPermissions(key agent, integer perm) 254 //wiki: llRequestPermissions(key agent, integer perm)
255 void llRequestPermissions(string agent, int perm); 255 void llRequestPermissions(string agent, int perm);
256 //wiki: key llGetPermissionsKey() 256 //wiki: key llGetPermissionsKey()
@@ -260,7 +260,7 @@ namespace OpenSim.Region.ScriptEngine.Common
260 //wiki integer llGetLinkNumber() 260 //wiki integer llGetLinkNumber()
261 int llGetLinkNumber(); 261 int llGetLinkNumber();
262 //wiki: llSetLinkColor(integer linknumber, vector color, integer face) 262 //wiki: llSetLinkColor(integer linknumber, vector color, integer face)
263 void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face); 263 void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face);
264 //wiki: llCreateLink(key target, integer parent) 264 //wiki: llCreateLink(key target, integer parent)
265 void llCreateLink(string target, int parent); 265 void llCreateLink(string target, int parent);
266 //wiki: llBreakLink(integer linknum) 266 //wiki: llBreakLink(integer linknum)
@@ -284,9 +284,9 @@ namespace OpenSim.Region.ScriptEngine.Common
284 //wiki: llRemoveInventory(string item) 284 //wiki: llRemoveInventory(string item)
285 void llRemoveInventory(string item); 285 void llRemoveInventory(string item);
286 //wiki: llSetText(string text, vector color, double alpha) 286 //wiki: llSetText(string text, vector color, double alpha)
287 void llSetText(string text, Axiom.Math.Vector3 color, double alpha); 287 void llSetText(string text, LSL_Types.Vector3 color, double alpha);
288 //wiki: double llWater(vector offset) 288 //wiki: double llWater(vector offset)
289 double llWater(Axiom.Math.Vector3 offset); 289 double llWater(LSL_Types.Vector3 offset);
290 //wiki: llPassTouches(integer pass) 290 //wiki: llPassTouches(integer pass)
291 void llPassTouches(int pass); 291 void llPassTouches(int pass);
292 //wiki: key llRequestAgentData(key id, integer data) 292 //wiki: key llRequestAgentData(key id, integer data)
@@ -310,7 +310,7 @@ namespace OpenSim.Region.ScriptEngine.Common
310 //wiki: llMessageLinked(integer linknum, integer num, string str, key id) 310 //wiki: llMessageLinked(integer linknum, integer num, string str, key id)
311 void llMessageLinked(int linknum, int num, string str, string id); 311 void llMessageLinked(int linknum, int num, string str, string id);
312 //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local) 312 //wiki: llPushObject(key target, vector impulse, vector ang_impulse, integer local)
313 void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local); 313 void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local);
314 //wiki: llPassCollisions(integer pass) 314 //wiki: llPassCollisions(integer pass)
315 void llPassCollisions(int pass); 315 void llPassCollisions(int pass);
316 //wiki: string llGetScriptName() 316 //wiki: string llGetScriptName()
@@ -318,26 +318,26 @@ namespace OpenSim.Region.ScriptEngine.Common
318 //wiki: integer llGetNumberOfSides() 318 //wiki: integer llGetNumberOfSides()
319 int llGetNumberOfSides(); 319 int llGetNumberOfSides();
320 //wiki: rotation llAxisAngle2Rot(vector axis, double angle) 320 //wiki: rotation llAxisAngle2Rot(vector axis, double angle)
321 Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle); 321 LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle);
322 //wiki: vector llRot2Axis(rotation rot) 322 //wiki: vector llRot2Axis(rotation rot)
323 Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot); 323 LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot);
324 void llRot2Angle(); 324 void llRot2Angle();
325 //wiki: double llAcos(double val) 325 //wiki: double llAcos(double val)
326 double llAcos(double val); 326 double llAcos(double val);
327 //wiki: double llAsin(double val) 327 //wiki: double llAsin(double val)
328 double llAsin(double val); 328 double llAsin(double val);
329 //wiki: double llAngleBetween(rotation a, rotation b) 329 //wiki: double llAngleBetween(rotation a, rotation b)
330 double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b); 330 double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b);
331 //wiki: string llGetInventoryKey(string name) 331 //wiki: string llGetInventoryKey(string name)
332 string llGetInventoryKey(string name); 332 string llGetInventoryKey(string name);
333 //wiki: llAllowInventoryDrop(integer add) 333 //wiki: llAllowInventoryDrop(integer add)
334 void llAllowInventoryDrop(int add); 334 void llAllowInventoryDrop(int add);
335 //wiki: vector llGetSunDirection() 335 //wiki: vector llGetSunDirection()
336 Axiom.Math.Vector3 llGetSunDirection(); 336 LSL_Types.Vector3 llGetSunDirection();
337 //wiki: vector llGetTextureOffset(integer face) 337 //wiki: vector llGetTextureOffset(integer face)
338 Axiom.Math.Vector3 llGetTextureOffset(int face); 338 LSL_Types.Vector3 llGetTextureOffset(int face);
339 //wiki: vector llGetTextureScale(integer side) 339 //wiki: vector llGetTextureScale(integer side)
340 Axiom.Math.Vector3 llGetTextureScale(int side); 340 LSL_Types.Vector3 llGetTextureScale(int side);
341 //wiki: double llGetTextureRot(integer side) 341 //wiki: double llGetTextureRot(integer side)
342 double llGetTextureRot(int side); 342 double llGetTextureRot(int side);
343 //wiki: integer llSubStringIndex(string source, string pattern) 343 //wiki: integer llSubStringIndex(string source, string pattern)
@@ -345,7 +345,7 @@ namespace OpenSim.Region.ScriptEngine.Common
345 //wiki: key llGetOwnerKey(key id) 345 //wiki: key llGetOwnerKey(key id)
346 string llGetOwnerKey(string id); 346 string llGetOwnerKey(string id);
347 //wiki: vector llGetCenterOfMass() 347 //wiki: vector llGetCenterOfMass()
348 Axiom.Math.Vector3 llGetCenterOfMass(); 348 LSL_Types.Vector3 llGetCenterOfMass();
349 //wiki: list llListSort(list src, integer stride, integer ascending) 349 //wiki: list llListSort(list src, integer stride, integer ascending)
350 List<string> llListSort(List<string> src, int stride, int ascending); 350 List<string> llListSort(List<string> src, int stride, int ascending);
351 //integer llGetListLength(list src) 351 //integer llGetListLength(list src)
@@ -359,9 +359,9 @@ namespace OpenSim.Region.ScriptEngine.Common
359 //wiki: key llList2Key(list src, integer index) 359 //wiki: key llList2Key(list src, integer index)
360 string llList2Key(List<string> src, int index); 360 string llList2Key(List<string> src, int index);
361 //wiki: vector llList2Vector(list src, integer index) 361 //wiki: vector llList2Vector(list src, integer index)
362 Axiom.Math.Vector3 llList2Vector(List<string> src, int index); 362 LSL_Types.Vector3 llList2Vector(List<string> src, int index);
363 //wiki rotation llList2Rot(list src, integer index) 363 //wiki rotation llList2Rot(list src, integer index)
364 Axiom.Math.Quaternion llList2Rot(List<string> src, int index); 364 LSL_Types.Quaternion llList2Rot(List<string> src, int index);
365 //wiki: list llList2List(list src, integer start, integer end) 365 //wiki: list llList2List(list src, integer start, integer end)
366 List<string> llList2List(List<string> src, int start, int end); 366 List<string> llList2List(List<string> src, int start, int end);
367 //wiki: llDeleteSubList(list src, integer start, integer end) 367 //wiki: llDeleteSubList(list src, integer start, integer end)
@@ -377,7 +377,7 @@ namespace OpenSim.Region.ScriptEngine.Common
377 //wiki: list llList2ListStrided( list src, integer start, integer end, integer stride ) 377 //wiki: list llList2ListStrided( list src, integer start, integer end, integer stride )
378 List<string> llList2ListStrided(List<string> src, int start, int end, int stride); 378 List<string> llList2ListStrided(List<string> src, int start, int end, int stride);
379 //wiki: vector llGetRegionCorner( ) 379 //wiki: vector llGetRegionCorner( )
380 Axiom.Math.Vector3 llGetRegionCorner(); 380 LSL_Types.Vector3 llGetRegionCorner();
381 //wiki: list llListInsertList( list dest, list src, integer start ) 381 //wiki: list llListInsertList( list dest, list src, integer start )
382 List<string> llListInsertList(List<string> dest, List<string> src, int start); 382 List<string> llListInsertList(List<string> dest, List<string> src, int start);
383 //wiki: integer llListFindList( list src, list test ) 383 //wiki: integer llListFindList( list src, list test )
@@ -389,7 +389,7 @@ namespace OpenSim.Region.ScriptEngine.Common
389 //wiki: string llGetDate() 389 //wiki: string llGetDate()
390 string llGetDate(); 390 string llGetDate();
391 //wiki: integer llEdgeOfWorld(vector pos, vector dir) 391 //wiki: integer llEdgeOfWorld(vector pos, vector dir)
392 int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir); 392 int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir);
393 //wiki: integer llGetAgentInfo(key id) 393 //wiki: integer llGetAgentInfo(key id)
394 int llGetAgentInfo(string id); 394 int llGetAgentInfo(string id);
395 //wiki: llAdjustSoundVolume(double volume) 395 //wiki: llAdjustSoundVolume(double volume)
@@ -403,28 +403,28 @@ namespace OpenSim.Region.ScriptEngine.Common
403 //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate) 403 //wiki: llSetTextureAnim(integer mode, integer face, integer sizex, integer sizey, double start, double length, double rate)
404 void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate); 404 void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate);
405 //wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) 405 //wiki: llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west)
406 void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west); 406 void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west);
407 //wiki: llEjectFromLand(key pest) 407 //wiki: llEjectFromLand(key pest)
408 void llEjectFromLand(string pest); 408 void llEjectFromLand(string pest);
409 void llParseString2List(); 409 void llParseString2List();
410 //wiki: integer llOverMyLand(key id) 410 //wiki: integer llOverMyLand(key id)
411 int llOverMyLand(string id); 411 int llOverMyLand(string id);
412 //wiki: key llGetLandOwnerAt(vector pos) 412 //wiki: key llGetLandOwnerAt(vector pos)
413 string llGetLandOwnerAt(Axiom.Math.Vector3 pos); 413 string llGetLandOwnerAt(LSL_Types.Vector3 pos);
414 //wiki: key llGetNotecardLine(string name, integer line) 414 //wiki: key llGetNotecardLine(string name, integer line)
415 string llGetNotecardLine(string name, int line); 415 string llGetNotecardLine(string name, int line);
416 //wiki: vector llGetAgentSize(key id) 416 //wiki: vector llGetAgentSize(key id)
417 Axiom.Math.Vector3 llGetAgentSize(string id); 417 LSL_Types.Vector3 llGetAgentSize(string id);
418 //wiki: integer llSameGroup(key agent) 418 //wiki: integer llSameGroup(key agent)
419 int llSameGroup(string agent); 419 int llSameGroup(string agent);
420 //wiki: llUnSit(key id) 420 //wiki: llUnSit(key id)
421 void llUnSit(string id); 421 void llUnSit(string id);
422 //wiki: vector llGroundSlope(vector offset) 422 //wiki: vector llGroundSlope(vector offset)
423 Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset); 423 LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset);
424 //wiki: vector llGroundNormal(vector offset) 424 //wiki: vector llGroundNormal(vector offset)
425 Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset); 425 LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset);
426 //wiki: vector llGroundContour(vector offset) 426 //wiki: vector llGroundContour(vector offset)
427 Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset); 427 LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset);
428 //wiki: integer llGetAttached() 428 //wiki: integer llGetAttached()
429 int llGetAttached(); 429 int llGetAttached();
430 //wiki: integer llGetFreeMemory() 430 //wiki: integer llGetFreeMemory()
@@ -445,15 +445,15 @@ namespace OpenSim.Region.ScriptEngine.Common
445 //wiki: llSetVehicledoubleParam(integer param, double value) 445 //wiki: llSetVehicledoubleParam(integer param, double value)
446 void llSetVehicledoubleParam(int param, double value); 446 void llSetVehicledoubleParam(int param, double value);
447 //wiki: llSetVehicleVectorParam(integer param, vector vec) 447 //wiki: llSetVehicleVectorParam(integer param, vector vec)
448 void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec); 448 void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec);
449 //wiki: llSetVehicleRotationParam(integer param, rotation rot) 449 //wiki: llSetVehicleRotationParam(integer param, rotation rot)
450 void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot); 450 void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot);
451 //wiki: llSetVehicleFlags(integer flags) 451 //wiki: llSetVehicleFlags(integer flags)
452 void llSetVehicleFlags(int flags); 452 void llSetVehicleFlags(int flags);
453 //wiki: llRemoveVehicleFlags(integer flags) 453 //wiki: llRemoveVehicleFlags(integer flags)
454 void llRemoveVehicleFlags(int flags); 454 void llRemoveVehicleFlags(int flags);
455 //wiki: llSitTarget(vector offset, rotation rot) 455 //wiki: llSitTarget(vector offset, rotation rot)
456 void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot); 456 void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot);
457 //wiki key llAvatarOnSitTarget() 457 //wiki key llAvatarOnSitTarget()
458 string llAvatarOnSitTarget(); 458 string llAvatarOnSitTarget();
459 //wiki: llAddToLandPassList(key avatar, double hours) 459 //wiki: llAddToLandPassList(key avatar, double hours)
@@ -463,12 +463,12 @@ namespace OpenSim.Region.ScriptEngine.Common
463 //wiki: llSetSitText(string text) 463 //wiki: llSetSitText(string text)
464 void llSetSitText(string text); 464 void llSetSitText(string text);
465 //wiki: llSetCameraEyeOffset(vector offset) 465 //wiki: llSetCameraEyeOffset(vector offset)
466 void llSetCameraEyeOffset(Axiom.Math.Vector3 offset); 466 void llSetCameraEyeOffset(LSL_Types.Vector3 offset);
467 //wiki: llSeteCameraAtOffset(vector offset) 467 //wiki: llSeteCameraAtOffset(vector offset)
468 void llSetCameraAtOffset(Axiom.Math.Vector3 offset); 468 void llSetCameraAtOffset(LSL_Types.Vector3 offset);
469 void llDumpList2String(); 469 void llDumpList2String();
470 //wiki: integer llScriptDanger(vector pos) 470 //wiki: integer llScriptDanger(vector pos)
471 void llScriptDanger(Axiom.Math.Vector3 pos); 471 void llScriptDanger(LSL_Types.Vector3 pos);
472 //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel ) 472 //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel )
473 void llDialog(string avatar, string message, List<string> buttons, int chat_channel); 473 void llDialog(string avatar, string message, List<string> buttons, int chat_channel);
474 //wiki: llVolumeDetect(integer detect) 474 //wiki: llVolumeDetect(integer detect)
@@ -512,9 +512,9 @@ namespace OpenSim.Region.ScriptEngine.Common
512 //wiki: llSetParcelMusicURL(string url) 512 //wiki: llSetParcelMusicURL(string url)
513 void llSetParcelMusicURL(string url); 513 void llSetParcelMusicURL(string url);
514 //wiki: vector llGetRootPosition() 514 //wiki: vector llGetRootPosition()
515 Axiom.Math.Vector3 llGetRootPosition(); 515 LSL_Types.Vector3 llGetRootPosition();
516 //wiki: rotation llGetRootRotation() 516 //wiki: rotation llGetRootRotation()
517 Axiom.Math.Quaternion llGetRootRotation(); 517 LSL_Types.Quaternion llGetRootRotation();
518 //wiki: string llGetObjectDesc() 518 //wiki: string llGetObjectDesc()
519 string llGetObjectDesc(); 519 string llGetObjectDesc();
520 //wiki: llSetObjectDesc(string desc) 520 //wiki: llSetObjectDesc(string desc)
@@ -532,7 +532,7 @@ namespace OpenSim.Region.ScriptEngine.Common
532 //wiki: list llGetBoundingBox( key object ) 532 //wiki: list llGetBoundingBox( key object )
533 List<string> llGetBoundingBox(string obj); 533 List<string> llGetBoundingBox(string obj);
534 //wiki: vector llGetGeometricCenter() 534 //wiki: vector llGetGeometricCenter()
535 Axiom.Math.Vector3 llGetGeometricCenter(); 535 LSL_Types.Vector3 llGetGeometricCenter();
536 void llGetPrimitiveParams(); 536 void llGetPrimitiveParams();
537 //wiki: string llIntegerToBase64(integer number) 537 //wiki: string llIntegerToBase64(integer number)
538 string llIntegerToBase64(int number); 538 string llIntegerToBase64(int number);
@@ -543,11 +543,11 @@ namespace OpenSim.Region.ScriptEngine.Common
543 //wiki: string llGetSimulatorHostname() 543 //wiki: string llGetSimulatorHostname()
544 string llGetSimulatorHostname(); 544 string llGetSimulatorHostname();
545 //llSetLocalRot(rotation rot) 545 //llSetLocalRot(rotation rot)
546 void llSetLocalRot(Axiom.Math.Quaternion rot); 546 void llSetLocalRot(LSL_Types.Quaternion rot);
547 //wiki: list llParseStringKeepNulls( string src, list separators, list spacers ) 547 //wiki: list llParseStringKeepNulls( string src, list separators, list spacers )
548 List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers); 548 List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers);
549 //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param) 549 //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param)
550 void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param); 550 void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param);
551 //wiki: integer llGetObjectPermMask(integer mask) 551 //wiki: integer llGetObjectPermMask(integer mask)
552 int llGetObjectPermMask(int mask); 552 int llGetObjectPermMask(int mask);
553 //wiki: llSetObjectPermMask(integer mask, integer value) 553 //wiki: llSetObjectPermMask(integer mask, integer value)
@@ -579,9 +579,9 @@ namespace OpenSim.Region.ScriptEngine.Common
579 //wiki: llSetPayPrice( integer price, list quick_pay_buttons ) 579 //wiki: llSetPayPrice( integer price, list quick_pay_buttons )
580 void llSetPayPrice(int price, List<string> quick_pay_buttons); 580 void llSetPayPrice(int price, List<string> quick_pay_buttons);
581 //wiki: vector llGetCameraPos() 581 //wiki: vector llGetCameraPos()
582 Axiom.Math.Vector3 llGetCameraPos(); 582 LSL_Types.Vector3 llGetCameraPos();
583 //wiki rotation llGetCameraRot() 583 //wiki rotation llGetCameraRot()
584 Axiom.Math.Quaternion llGetCameraRot(); 584 LSL_Types.Quaternion llGetCameraRot();
585 //wiki: (deprecated) 585 //wiki: (deprecated)
586 void llSetPrimURL(); 586 void llSetPrimURL();
587 //wiki: (deprecated) 587 //wiki: (deprecated)
@@ -591,7 +591,7 @@ namespace OpenSim.Region.ScriptEngine.Common
591 //wiki: string llUnescapeURL(string url) 591 //wiki: string llUnescapeURL(string url)
592 string llUnescapeURL(string url); 592 string llUnescapeURL(string url);
593 //wiki: llMapDestination(string simname, vector pos, vector look_at) 593 //wiki: llMapDestination(string simname, vector pos, vector look_at)
594 void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at); 594 void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at);
595 //wiki: llAddToLandBanList(key avatar, double hours) 595 //wiki: llAddToLandBanList(key avatar, double hours)
596 void llAddToLandBanList(string avatar, double hours); 596 void llAddToLandBanList(string avatar, double hours);
597 //wiki: llRemoveFromLandPassList(key avatar) 597 //wiki: llRemoveFromLandPassList(key avatar)
@@ -607,7 +607,7 @@ namespace OpenSim.Region.ScriptEngine.Common
607 //wiki: integer llGetUnixTime() 607 //wiki: integer llGetUnixTime()
608 int llGetUnixTime(); 608 int llGetUnixTime();
609 //wiki: integer llGetParcelFlags(vector pos) 609 //wiki: integer llGetParcelFlags(vector pos)
610 int llGetParcelFlags(Axiom.Math.Vector3 pos); 610 int llGetParcelFlags(LSL_Types.Vector3 pos);
611 //wiki: integer llGetRegionFlags() 611 //wiki: integer llGetRegionFlags()
612 int llGetRegionFlags(); 612 int llGetRegionFlags();
613 //wiki: string llXorBase64StringsCorrect(string str1, string str2) 613 //wiki: string llXorBase64StringsCorrect(string str1, string str2)
@@ -618,14 +618,14 @@ namespace OpenSim.Region.ScriptEngine.Common
618 //wiki: llResetLandPassList() 618 //wiki: llResetLandPassList()
619 void llResetLandPassList(); 619 void llResetLandPassList();
620 //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) 620 //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
621 int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide); 621 int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide);
622 //wiki: list llGetParcelPrimOwners( vector pos ) 622 //wiki: list llGetParcelPrimOwners( vector pos )
623 List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos); 623 List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos);
624 //wiki: integer llGetObjectPrimCount(key object_id) 624 //wiki: integer llGetObjectPrimCount(key object_id)
625 int llGetObjectPrimCount(string object_id); 625 int llGetObjectPrimCount(string object_id);
626 //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) 626 //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide )
627 int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide); 627 int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide);
628 //wiki list llGetParcelDetails(vector pos, list params) 628 //wiki list llGetParcelDetails(vector pos, list params)
629 List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param); 629 List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param);
630 } 630 }
631} 631}
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
new file mode 100644
index 0000000..b151d5a
--- /dev/null
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_Types.cs
@@ -0,0 +1,53 @@
1using System;
2
3namespace OpenSim.Region.ScriptEngine.Common
4{
5 [Serializable]
6 public class LSL_Types
7 {
8 [Serializable]
9 public struct Vector3
10 {
11 public double X;
12 public double Y;
13 public double Z;
14
15 public Vector3(Vector3 vector)
16 {
17 X = (float)vector.X;
18 Y = (float)vector.Y;
19 Z = (float)vector.Z;
20 }
21 public Vector3(double x, double y, double z)
22 {
23 X = x;
24 Y = y;
25 Z = z;
26 }
27 }
28 [Serializable]
29 public struct Quaternion
30 {
31 public double X;
32 public double Y;
33 public double Z;
34 public double R;
35
36 public Quaternion(Quaternion Quat)
37 {
38 X = (float)Quat.X;
39 Y = (float)Quat.Y;
40 Z = (float)Quat.Z;
41 R = (float)Quat.R;
42 }
43 public Quaternion(double x, double y, double z, double r)
44 {
45 X = x;
46 Y = y;
47 Z = z;
48 R = r;
49 }
50
51 }
52 }
53}
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
index 2e1e3d1..7941ea2 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/AppDomainManager.cs
@@ -71,7 +71,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
71 //ads.ApplicationName = "DotNetScriptEngine"; 71 //ads.ApplicationName = "DotNetScriptEngine";
72 //ads.DynamicBase = ads.ApplicationBase; 72 //ads.DynamicBase = ads.ApplicationBase;
73 73
74 Console.WriteLine("AppDomain BaseDirectory: " + ads.ApplicationBase); 74 //Console.WriteLine("AppDomain BaseDirectory: " + ads.ApplicationBase);
75 ads.DisallowBindingRedirects = false; 75 ads.DisallowBindingRedirects = false;
76 ads.DisallowCodeDownload = true; 76 ads.DisallowCodeDownload = true;
77 ads.ShadowCopyFiles = "true"; 77 ads.ShadowCopyFiles = "true";
@@ -95,13 +95,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
95 95
96 } 96 }
97 97
98 Console.WriteLine("Assembly file: " + this.GetType().Assembly.CodeBase); 98 //Console.WriteLine("Assembly file: " + this.GetType().Assembly.CodeBase);
99 Console.WriteLine("Assembly name: " + this.GetType().ToString()); 99 //Console.WriteLine("Assembly name: " + this.GetType().ToString());
100 //AD.CreateInstanceFrom(this.GetType().Assembly.CodeBase, "OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine"); 100 //AD.CreateInstanceFrom(this.GetType().Assembly.CodeBase, "OpenSim.Region.ScriptEngine.DotNetEngine.ScriptEngine");
101 101
102 //AD.Load(this.GetType().Assembly.CodeBase); 102 //AD.Load(this.GetType().Assembly.CodeBase);
103 103
104 Console.WriteLine("Done preparing new appdomain."); 104 Console.WriteLine("Done preparing new AppDomain.");
105 return AD; 105 return AD;
106 106
107 } 107 }
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
index 4c2ceb0..c29b9f4 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/Compiler.cs
@@ -8,6 +8,7 @@ using System.Reflection;
8 8
9namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL 9namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
10{ 10{
11
11 public class Compiler 12 public class Compiler
12 { 13 {
13 private LSL2CSConverter LSL_Converter = new LSL2CSConverter(); 14 private LSL2CSConverter LSL_Converter = new LSL2CSConverter();
@@ -52,13 +53,17 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
52 System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters(); 53 System.CodeDom.Compiler.CompilerParameters parameters = new CompilerParameters();
53 parameters.IncludeDebugInformation = true; 54 parameters.IncludeDebugInformation = true;
54 // Add all available assemblies 55 // Add all available assemblies
55 //foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) 56 foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies())
56 //{ 57 {
57 // Console.WriteLine("Adding assembly: " + asm.Location); 58 //Console.WriteLine("Adding assembly: " + asm.Location);
58 // parameters.ReferencedAssemblies.Add(asm.Location); 59 //parameters.ReferencedAssemblies.Add(asm.Location);
59 //} 60 }
60 61
61 parameters.ReferencedAssemblies.Add(this.GetType().Assembly.CodeBase); 62 string rootPath = Path.GetDirectoryName(this.GetType().Assembly.Location);
63 Console.WriteLine("Assembly location: " + rootPath);
64 parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.Common.dll"));
65 parameters.ReferencedAssemblies.Add(Path.Combine(rootPath, "OpenSim.Region.ScriptEngine.DotNetEngine.dll"));
66
62 //parameters.ReferencedAssemblies.Add("OpenSim.Region.Environment"); 67 //parameters.ReferencedAssemblies.Add("OpenSim.Region.Environment");
63 parameters.GenerateExecutable = false; 68 parameters.GenerateExecutable = false;
64 parameters.OutputAssembly = OutFile; 69 parameters.OutputAssembly = OutFile;
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
index 81f8e2d..f41cd59 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL2CSConverter.cs
@@ -18,8 +18,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
18 DataTypes.Add("float", "double"); 18 DataTypes.Add("float", "double");
19 DataTypes.Add("string", "string"); 19 DataTypes.Add("string", "string");
20 DataTypes.Add("key", "string"); 20 DataTypes.Add("key", "string");
21 DataTypes.Add("vector", "Axiom.Math.Vector3"); 21 DataTypes.Add("vector", "LSL_Types.Vector3");
22 DataTypes.Add("rotation", "Axiom.Math.Quaternion"); 22 DataTypes.Add("rotation", "LSL_Types.Quaternion");
23 DataTypes.Add("list", "list"); 23 DataTypes.Add("list", "list");
24 DataTypes.Add("null", "null"); 24 DataTypes.Add("null", "null");
25 } 25 }
@@ -205,8 +205,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
205 Script = Regex.Replace(Script, @"^(\s*)((?!(if|switch|for)[^a-zA-Z0-9_])[a-zA-Z0-9_]*\s*\([^\)]*\)[^;]*\{)", @"$1void $2", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); 205 Script = Regex.Replace(Script, @"^(\s*)((?!(if|switch|for)[^a-zA-Z0-9_])[a-zA-Z0-9_]*\s*\([^\)]*\)[^;]*\{)", @"$1void $2", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
206 206
207 // Replace <x,y,z> and <x,y,z,r> 207 // Replace <x,y,z> and <x,y,z,r>
208 Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*,[^,>]*)>", @"new Axiom.Math.Quaternion($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); 208 Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*,[^,>]*)>", @"new LSL_Types.Quaternion($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
209 Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*)>", @"new Axiom.Math.Vector3($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); 209 Script = Regex.Replace(Script, @"<([^,>]*,[^,>]*,[^,>]*)>", @"new LSL_Types.Vector3($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
210 210
211 // Replace List []'s 211 // Replace List []'s
212 Script = Regex.Replace(Script, @"\[([^\]]*)\]", @"List.Parse($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline); 212 Script = Regex.Replace(Script, @"\[([^\]]*)\]", @"List.Parse($1)", RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
@@ -227,7 +227,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
227 227
228 228
229 // Add namespace, class name and inheritance 229 // Add namespace, class name and inheritance
230 Return = "namespace SecondLife {\r\n"; 230 Return = "" +
231 "using System;\r\n" +
232 "using System.Collections.Generic;\r\n" +
233 "using System.Text;\r\n" +
234 "using OpenSim.Region.ScriptEngine.Common;\r\n" +
235 "namespace SecondLife {\r\n";
231 Return += "[Serializable] public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n"; 236 Return += "[Serializable] public class Script : OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass {\r\n";
232 Return += @"public Script() { }"+"\r\n"; 237 Return += @"public Script() { }"+"\r\n";
233 Return += Script; 238 Return += Script;
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
index eb3d871..ff1676e 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs
@@ -66,16 +66,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
66 public int llFloor(double f) { return m_LSL_Functions.llFloor(f); } 66 public int llFloor(double f) { return m_LSL_Functions.llFloor(f); }
67 public int llCeil(double f) { return m_LSL_Functions.llCeil(f); } 67 public int llCeil(double f) { return m_LSL_Functions.llCeil(f); }
68 public int llRound(double f) { return m_LSL_Functions.llRound(f); } 68 public int llRound(double f) { return m_LSL_Functions.llRound(f); }
69 public double llVecMag(Axiom.Math.Vector3 v) { return m_LSL_Functions.llVecMag(v); } 69 public double llVecMag(LSL_Types.Vector3 v) { return m_LSL_Functions.llVecMag(v); }
70 public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return m_LSL_Functions.llVecNorm(v); } 70 public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v) { return m_LSL_Functions.llVecNorm(v); }
71 public double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return m_LSL_Functions.llVecDist(a, b); } 71 public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b) { return m_LSL_Functions.llVecDist(a, b); }
72 public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Euler(r); } 72 public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Euler(r); }
73 public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return m_LSL_Functions.llEuler2Rot(v); } 73 public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v) { return m_LSL_Functions.llEuler2Rot(v); }
74 public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return m_LSL_Functions.llAxes2Rot(fwd, left, up); } 74 public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up) { return m_LSL_Functions.llAxes2Rot(fwd, left, up); }
75 public Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Fwd(r); } 75 public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Fwd(r); }
76 public Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Left(r); } 76 public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Left(r); }
77 public Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r) { return m_LSL_Functions.llRot2Up(r); } 77 public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r) { return m_LSL_Functions.llRot2Up(r); }
78 public Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end) { return m_LSL_Functions.llRotBetween(start, end); } 78 public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end) { return m_LSL_Functions.llRotBetween(start, end); }
79 public void llWhisper(int channelID, string text) { m_LSL_Functions.llWhisper(channelID, text); } 79 public void llWhisper(int channelID, string text) { m_LSL_Functions.llWhisper(channelID, text); }
80 public void llSay(int channelID, string text) { m_LSL_Functions.llSay(channelID, text); } 80 public void llSay(int channelID, string text) { m_LSL_Functions.llSay(channelID, text); }
81 // 81 //
@@ -92,27 +92,27 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
92 public string llDetectedKey(int number) { return m_LSL_Functions.llDetectedKey(number); } 92 public string llDetectedKey(int number) { return m_LSL_Functions.llDetectedKey(number); }
93 public string llDetectedOwner(int number) { return m_LSL_Functions.llDetectedOwner(number); } 93 public string llDetectedOwner(int number) { return m_LSL_Functions.llDetectedOwner(number); }
94 public int llDetectedType(int number) { return m_LSL_Functions.llDetectedType(number); } 94 public int llDetectedType(int number) { return m_LSL_Functions.llDetectedType(number); }
95 public Axiom.Math.Vector3 llDetectedPos(int number) { return m_LSL_Functions.llDetectedPos(number); } 95 public LSL_Types.Vector3 llDetectedPos(int number) { return m_LSL_Functions.llDetectedPos(number); }
96 public Axiom.Math.Vector3 llDetectedVel(int number) { return m_LSL_Functions.llDetectedVel(number); } 96 public LSL_Types.Vector3 llDetectedVel(int number) { return m_LSL_Functions.llDetectedVel(number); }
97 public Axiom.Math.Vector3 llDetectedGrab(int number) { return m_LSL_Functions.llDetectedGrab(number); } 97 public LSL_Types.Vector3 llDetectedGrab(int number) { return m_LSL_Functions.llDetectedGrab(number); }
98 public Axiom.Math.Quaternion llDetectedRot(int number) { return m_LSL_Functions.llDetectedRot(number); } 98 public LSL_Types.Quaternion llDetectedRot(int number) { return m_LSL_Functions.llDetectedRot(number); }
99 public int llDetectedGroup(int number) { return m_LSL_Functions.llDetectedGroup(number); } 99 public int llDetectedGroup(int number) { return m_LSL_Functions.llDetectedGroup(number); }
100 public int llDetectedLinkNumber(int number) { return m_LSL_Functions.llDetectedLinkNumber(number); } 100 public int llDetectedLinkNumber(int number) { return m_LSL_Functions.llDetectedLinkNumber(number); }
101 // 101 //
102 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 102 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
103 // 103 //
104 public void llDie() { m_LSL_Functions.llDie(); } 104 public void llDie() { m_LSL_Functions.llDie(); }
105 public double llGround(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGround(offset); } 105 public double llGround(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGround(offset); }
106 public double llCloud(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llCloud(offset); } 106 public double llCloud(LSL_Types.Vector3 offset) { return m_LSL_Functions.llCloud(offset); }
107 public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llWind(offset); } 107 public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset) { return m_LSL_Functions.llWind(offset); }
108 public void llSetStatus(int status, int value) { m_LSL_Functions.llSetStatus(status, value); } 108 public void llSetStatus(int status, int value) { m_LSL_Functions.llSetStatus(status, value); }
109 public int llGetStatus(int status) { return m_LSL_Functions.llGetStatus(status); } 109 public int llGetStatus(int status) { return m_LSL_Functions.llGetStatus(status); }
110 public void llSetScale(Axiom.Math.Vector3 scale) { m_LSL_Functions.llSetScale(scale); } 110 public void llSetScale(LSL_Types.Vector3 scale) { m_LSL_Functions.llSetScale(scale); }
111 public Axiom.Math.Vector3 llGetScale() { return m_LSL_Functions.llGetScale(); } 111 public LSL_Types.Vector3 llGetScale() { return m_LSL_Functions.llGetScale(); }
112 public void llSetColor(Axiom.Math.Vector3 color, int face) { m_LSL_Functions.llSetColor(color, face); } 112 public void llSetColor(LSL_Types.Vector3 color, int face) { m_LSL_Functions.llSetColor(color, face); }
113 public double llGetAlpha(int face) { return m_LSL_Functions.llGetAlpha(face); } 113 public double llGetAlpha(int face) { return m_LSL_Functions.llGetAlpha(face); }
114 public void llSetAlpha(double alpha, int face) { m_LSL_Functions.llSetAlpha(alpha, face); } 114 public void llSetAlpha(double alpha, int face) { m_LSL_Functions.llSetAlpha(alpha, face); }
115 public Axiom.Math.Vector3 llGetColor(int face) { return m_LSL_Functions.llGetColor(face); } 115 public LSL_Types.Vector3 llGetColor(int face) { return m_LSL_Functions.llGetColor(face); }
116 public void llSetTexture(string texture, int face) { m_LSL_Functions.llSetTexture(texture, face); } 116 public void llSetTexture(string texture, int face) { m_LSL_Functions.llSetTexture(texture, face); }
117 public void llScaleTexture(double u, double v, int face) { m_LSL_Functions.llScaleTexture(u, v, face); } 117 public void llScaleTexture(double u, double v, int face) { m_LSL_Functions.llScaleTexture(u, v, face); }
118 public void llOffsetTexture(double u, double v, int face) { m_LSL_Functions.llOffsetTexture(u, v, face); } 118 public void llOffsetTexture(double u, double v, int face) { m_LSL_Functions.llOffsetTexture(u, v, face); }
@@ -121,31 +121,31 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
121 // 121 //
122 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 122 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
123 // 123 //
124 public void llSetPos(Axiom.Math.Vector3 pos) { m_LSL_Functions.llSetPos(pos); } 124 public void llSetPos(LSL_Types.Vector3 pos) { m_LSL_Functions.llSetPos(pos); }
125 public Axiom.Math.Vector3 llGetPos() { return m_LSL_Functions.llGetPos(); } 125 public LSL_Types.Vector3 llGetPos() { return m_LSL_Functions.llGetPos(); }
126 public Axiom.Math.Vector3 llGetLocalPos() { return m_LSL_Functions.llGetLocalPos(); } 126 public LSL_Types.Vector3 llGetLocalPos() { return m_LSL_Functions.llGetLocalPos(); }
127 public void llSetRot(Axiom.Math.Quaternion rot) { m_LSL_Functions.llSetRot(rot); } 127 public void llSetRot(LSL_Types.Quaternion rot) { m_LSL_Functions.llSetRot(rot); }
128 public Axiom.Math.Quaternion llGetRot() { return m_LSL_Functions.llGetRot(); } 128 public LSL_Types.Quaternion llGetRot() { return m_LSL_Functions.llGetRot(); }
129 public Axiom.Math.Quaternion llGetLocalRot() { return m_LSL_Functions.llGetLocalRot(); } 129 public LSL_Types.Quaternion llGetLocalRot() { return m_LSL_Functions.llGetLocalRot(); }
130 public void llSetForce(Axiom.Math.Vector3 force, int local) { m_LSL_Functions.llSetForce(force, local); } 130 public void llSetForce(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llSetForce(force, local); }
131 public Axiom.Math.Vector3 llGetForce() { return m_LSL_Functions.llGetForce(); } 131 public LSL_Types.Vector3 llGetForce() { return m_LSL_Functions.llGetForce(); }
132 public int llTarget(Axiom.Math.Vector3 position, double range) { return m_LSL_Functions.llTarget(position, range); } 132 public int llTarget(LSL_Types.Vector3 position, double range) { return m_LSL_Functions.llTarget(position, range); }
133 public void llTargetRemove(int number) { m_LSL_Functions.llTargetRemove(number); } 133 public void llTargetRemove(int number) { m_LSL_Functions.llTargetRemove(number); }
134 public int llRotTarget(Axiom.Math.Quaternion rot, double error) { return m_LSL_Functions.llRotTarget(rot, error); } 134 public int llRotTarget(LSL_Types.Quaternion rot, double error) { return m_LSL_Functions.llRotTarget(rot, error); }
135 public void llRotTargetRemove(int number) { m_LSL_Functions.llRotTargetRemove(number); } 135 public void llRotTargetRemove(int number) { m_LSL_Functions.llRotTargetRemove(number); }
136 public void llMoveToTarget(Axiom.Math.Vector3 target, double tau) { m_LSL_Functions.llMoveToTarget(target, tau); } 136 public void llMoveToTarget(LSL_Types.Vector3 target, double tau) { m_LSL_Functions.llMoveToTarget(target, tau); }
137 public void llStopMoveToTarget() { m_LSL_Functions.llStopMoveToTarget(); } 137 public void llStopMoveToTarget() { m_LSL_Functions.llStopMoveToTarget(); }
138 public void llApplyImpulse(Axiom.Math.Vector3 force, int local) { m_LSL_Functions.llApplyImpulse(force, local); } 138 public void llApplyImpulse(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llApplyImpulse(force, local); }
139 // 139 //
140 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 140 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
141 // 141 //
142 public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local) { m_LSL_Functions.llApplyRotationalImpulse(force, local); } 142 public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local) { m_LSL_Functions.llApplyRotationalImpulse(force, local); }
143 public void llSetTorque(Axiom.Math.Vector3 torque, int local) { m_LSL_Functions.llSetTorque(torque, local); } 143 public void llSetTorque(LSL_Types.Vector3 torque, int local) { m_LSL_Functions.llSetTorque(torque, local); }
144 public Axiom.Math.Vector3 llGetTorque() { return m_LSL_Functions.llGetTorque(); } 144 public LSL_Types.Vector3 llGetTorque() { return m_LSL_Functions.llGetTorque(); }
145 public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local) { m_LSL_Functions.llSetForceAndTorque(force, torque, local); } 145 public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local) { m_LSL_Functions.llSetForceAndTorque(force, torque, local); }
146 public Axiom.Math.Vector3 llGetVel() { return m_LSL_Functions.llGetVel(); } 146 public LSL_Types.Vector3 llGetVel() { return m_LSL_Functions.llGetVel(); }
147 public Axiom.Math.Vector3 llGetAccel() { return m_LSL_Functions.llGetAccel(); } 147 public LSL_Types.Vector3 llGetAccel() { return m_LSL_Functions.llGetAccel(); }
148 public Axiom.Math.Vector3 llGetOmega() { return m_LSL_Functions.llGetOmega(); } 148 public LSL_Types.Vector3 llGetOmega() { return m_LSL_Functions.llGetOmega(); }
149 public double llGetTimeOfDay() { return m_LSL_Functions.llGetTimeOfDay(); } 149 public double llGetTimeOfDay() { return m_LSL_Functions.llGetTimeOfDay(); }
150 public double llGetWallclock() { return m_LSL_Functions.llGetWallclock(); } 150 public double llGetWallclock() { return m_LSL_Functions.llGetWallclock(); }
151 public double llGetTime() { return m_LSL_Functions.llGetTime(); } 151 public double llGetTime() { return m_LSL_Functions.llGetTime(); }
@@ -173,8 +173,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
173 public void llMakeFountain() { m_LSL_Functions.llMakeFountain(); } 173 public void llMakeFountain() { m_LSL_Functions.llMakeFountain(); }
174 public void llMakeSmoke() { m_LSL_Functions.llMakeSmoke(); } 174 public void llMakeSmoke() { m_LSL_Functions.llMakeSmoke(); }
175 public void llMakeFire() { m_LSL_Functions.llMakeFire(); } 175 public void llMakeFire() { m_LSL_Functions.llMakeFire(); }
176 public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param) { m_LSL_Functions.llRezObject(inventory, pos, rot, param); } 176 public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param) { m_LSL_Functions.llRezObject(inventory, pos, rot, param); }
177 public void llLookAt(Axiom.Math.Vector3 target, double strength, double damping) { m_LSL_Functions.llLookAt(target, strength, damping); } 177 public void llLookAt(LSL_Types.Vector3 target, double strength, double damping) { m_LSL_Functions.llLookAt(target, strength, damping); }
178 public void llStopLookAt() { m_LSL_Functions.llStopLookAt(); } 178 public void llStopLookAt() { m_LSL_Functions.llStopLookAt(); }
179 public void llSetTimerEvent(double sec) { m_LSL_Functions.llSetTimerEvent(sec); } 179 public void llSetTimerEvent(double sec) { m_LSL_Functions.llSetTimerEvent(sec); }
180 public void llSleep(double sec) { m_LSL_Functions.llSleep(sec); } 180 public void llSleep(double sec) { m_LSL_Functions.llSleep(sec); }
@@ -199,7 +199,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
199 public void llStopHover() { m_LSL_Functions.llStopHover(); } 199 public void llStopHover() { m_LSL_Functions.llStopHover(); }
200 public void llMinEventDelay(double delay) { m_LSL_Functions.llMinEventDelay(delay); } 200 public void llMinEventDelay(double delay) { m_LSL_Functions.llMinEventDelay(delay); }
201 public void llSoundPreload() { m_LSL_Functions.llSoundPreload(); } 201 public void llSoundPreload() { m_LSL_Functions.llSoundPreload(); }
202 public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { m_LSL_Functions.llRotLookAt(target, strength, damping); } 202 public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) { m_LSL_Functions.llRotLookAt(target, strength, damping); }
203 // 203 //
204 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 204 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
205 // 205 //
@@ -208,14 +208,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
208 public void llStopAnimation(string anim) { m_LSL_Functions.llStopAnimation(anim); } 208 public void llStopAnimation(string anim) { m_LSL_Functions.llStopAnimation(anim); }
209 public void llPointAt() { m_LSL_Functions.llPointAt(); } 209 public void llPointAt() { m_LSL_Functions.llPointAt(); }
210 public void llStopPointAt() { m_LSL_Functions.llStopPointAt(); } 210 public void llStopPointAt() { m_LSL_Functions.llStopPointAt(); }
211 public void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain) { m_LSL_Functions.llTargetOmega(axis, spinrate, gain); } 211 public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain) { m_LSL_Functions.llTargetOmega(axis, spinrate, gain); }
212 public int llGetStartParameter() { return m_LSL_Functions.llGetStartParameter(); } 212 public int llGetStartParameter() { return m_LSL_Functions.llGetStartParameter(); }
213 public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { m_LSL_Functions.llGodLikeRezObject(inventory, pos); } 213 public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos) { m_LSL_Functions.llGodLikeRezObject(inventory, pos); }
214 public void llRequestPermissions(string agent, int perm) { m_LSL_Functions.llRequestPermissions(agent, perm); } 214 public void llRequestPermissions(string agent, int perm) { m_LSL_Functions.llRequestPermissions(agent, perm); }
215 public string llGetPermissionsKey() { return m_LSL_Functions.llGetPermissionsKey(); } 215 public string llGetPermissionsKey() { return m_LSL_Functions.llGetPermissionsKey(); }
216 public int llGetPermissions() { return m_LSL_Functions.llGetPermissions(); } 216 public int llGetPermissions() { return m_LSL_Functions.llGetPermissions(); }
217 public int llGetLinkNumber() { return m_LSL_Functions.llGetLinkNumber(); } 217 public int llGetLinkNumber() { return m_LSL_Functions.llGetLinkNumber(); }
218 public void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face) { m_LSL_Functions.llSetLinkColor(linknumber, color, face); } 218 public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face) { m_LSL_Functions.llSetLinkColor(linknumber, color, face); }
219 public void llCreateLink(string target, int parent) { m_LSL_Functions.llCreateLink(target, parent); } 219 public void llCreateLink(string target, int parent) { m_LSL_Functions.llCreateLink(target, parent); }
220 public void llBreakLink(int linknum) { m_LSL_Functions.llBreakLink(linknum); } 220 public void llBreakLink(int linknum) { m_LSL_Functions.llBreakLink(linknum); }
221 public void llBreakAllLinks() { m_LSL_Functions.llBreakAllLinks(); } 221 public void llBreakAllLinks() { m_LSL_Functions.llBreakAllLinks(); }
@@ -230,8 +230,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
230 public double llGetEnergy() { return m_LSL_Functions.llGetEnergy(); } 230 public double llGetEnergy() { return m_LSL_Functions.llGetEnergy(); }
231 public void llGiveInventory(string destination, string inventory) { m_LSL_Functions.llGiveInventory(destination, inventory); } 231 public void llGiveInventory(string destination, string inventory) { m_LSL_Functions.llGiveInventory(destination, inventory); }
232 public void llRemoveInventory(string item) { m_LSL_Functions.llRemoveInventory(item); } 232 public void llRemoveInventory(string item) { m_LSL_Functions.llRemoveInventory(item); }
233 public void llSetText(string text, Axiom.Math.Vector3 color, double alpha) { m_LSL_Functions.llSetText(text, color, alpha); } 233 public void llSetText(string text, LSL_Types.Vector3 color, double alpha) { m_LSL_Functions.llSetText(text, color, alpha); }
234 public double llWater(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llWater(offset); } 234 public double llWater(LSL_Types.Vector3 offset) { return m_LSL_Functions.llWater(offset); }
235 public void llPassTouches(int pass) { m_LSL_Functions.llPassTouches(pass); } 235 public void llPassTouches(int pass) { m_LSL_Functions.llPassTouches(pass); }
236 public string llRequestAgentData(string id, int data) { return m_LSL_Functions.llRequestAgentData(id, data); } 236 public string llRequestAgentData(string id, int data) { return m_LSL_Functions.llRequestAgentData(id, data); }
237 public string llRequestInventoryData(string name) { return m_LSL_Functions.llRequestInventoryData(name); } 237 public string llRequestInventoryData(string name) { return m_LSL_Functions.llRequestInventoryData(name); }
@@ -243,28 +243,28 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
243 public string llGetAnimation(string id) { return m_LSL_Functions.llGetAnimation(id); } 243 public string llGetAnimation(string id) { return m_LSL_Functions.llGetAnimation(id); }
244 public void llResetScript() { m_LSL_Functions.llResetScript(); } 244 public void llResetScript() { m_LSL_Functions.llResetScript(); }
245 public void llMessageLinked(int linknum, int num, string str, string id) { m_LSL_Functions.llMessageLinked(linknum, num, str, id); } 245 public void llMessageLinked(int linknum, int num, string str, string id) { m_LSL_Functions.llMessageLinked(linknum, num, str, id); }
246 public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local) { m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); } 246 public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local) { m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); }
247 public void llPassCollisions(int pass) { m_LSL_Functions.llPassCollisions(pass); } 247 public void llPassCollisions(int pass) { m_LSL_Functions.llPassCollisions(pass); }
248 public string llGetScriptName() { return m_LSL_Functions.llGetScriptName(); } 248 public string llGetScriptName() { return m_LSL_Functions.llGetScriptName(); }
249 public int llGetNumberOfSides() { return m_LSL_Functions.llGetNumberOfSides(); } 249 public int llGetNumberOfSides() { return m_LSL_Functions.llGetNumberOfSides(); }
250 // 250 //
251 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 251 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
252 // 252 //
253 public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle) { return m_LSL_Functions.llAxisAngle2Rot(axis, angle); } 253 public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle) { return m_LSL_Functions.llAxisAngle2Rot(axis, angle); }
254 public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return m_LSL_Functions.llRot2Axis(rot); } 254 public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot) { return m_LSL_Functions.llRot2Axis(rot); }
255 public void llRot2Angle() { m_LSL_Functions.llRot2Angle(); } 255 public void llRot2Angle() { m_LSL_Functions.llRot2Angle(); }
256 public double llAcos(double val) { return m_LSL_Functions.llAcos(val); } 256 public double llAcos(double val) { return m_LSL_Functions.llAcos(val); }
257 public double llAsin(double val) { return m_LSL_Functions.llAsin(val); } 257 public double llAsin(double val) { return m_LSL_Functions.llAsin(val); }
258 public double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return m_LSL_Functions.llAngleBetween(a, b); } 258 public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b) { return m_LSL_Functions.llAngleBetween(a, b); }
259 public string llGetInventoryKey(string name) { return m_LSL_Functions.llGetInventoryKey(name); } 259 public string llGetInventoryKey(string name) { return m_LSL_Functions.llGetInventoryKey(name); }
260 public void llAllowInventoryDrop(int add) { m_LSL_Functions.llAllowInventoryDrop(add); } 260 public void llAllowInventoryDrop(int add) { m_LSL_Functions.llAllowInventoryDrop(add); }
261 public Axiom.Math.Vector3 llGetSunDirection() { return m_LSL_Functions.llGetSunDirection(); } 261 public LSL_Types.Vector3 llGetSunDirection() { return m_LSL_Functions.llGetSunDirection(); }
262 public Axiom.Math.Vector3 llGetTextureOffset(int face) { return m_LSL_Functions.llGetTextureOffset(face); } 262 public LSL_Types.Vector3 llGetTextureOffset(int face) { return m_LSL_Functions.llGetTextureOffset(face); }
263 public Axiom.Math.Vector3 llGetTextureScale(int side) { return m_LSL_Functions.llGetTextureScale(side); } 263 public LSL_Types.Vector3 llGetTextureScale(int side) { return m_LSL_Functions.llGetTextureScale(side); }
264 public double llGetTextureRot(int side) { return m_LSL_Functions.llGetTextureRot(side); } 264 public double llGetTextureRot(int side) { return m_LSL_Functions.llGetTextureRot(side); }
265 public int llSubStringIndex(string source, string pattern) { return m_LSL_Functions.llSubStringIndex(source, pattern); } 265 public int llSubStringIndex(string source, string pattern) { return m_LSL_Functions.llSubStringIndex(source, pattern); }
266 public string llGetOwnerKey(string id) { return m_LSL_Functions.llGetOwnerKey(id); } 266 public string llGetOwnerKey(string id) { return m_LSL_Functions.llGetOwnerKey(id); }
267 public Axiom.Math.Vector3 llGetCenterOfMass() { return m_LSL_Functions.llGetCenterOfMass(); } 267 public LSL_Types.Vector3 llGetCenterOfMass() { return m_LSL_Functions.llGetCenterOfMass(); }
268 public List<string> llListSort(List<string> src, int stride, int ascending) { return m_LSL_Functions.llListSort(src, stride, ascending); } 268 public List<string> llListSort(List<string> src, int stride, int ascending) { return m_LSL_Functions.llListSort(src, stride, ascending); }
269 public int llGetListLength(List<string> src) { return m_LSL_Functions.llGetListLength(src); } 269 public int llGetListLength(List<string> src) { return m_LSL_Functions.llGetListLength(src); }
270 // 270 //
@@ -274,8 +274,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
274 public double llList2double(List<string> src, int index) { return m_LSL_Functions.llList2double(src, index); } 274 public double llList2double(List<string> src, int index) { return m_LSL_Functions.llList2double(src, index); }
275 public string llList2String(List<string> src, int index) { return m_LSL_Functions.llList2String(src, index); } 275 public string llList2String(List<string> src, int index) { return m_LSL_Functions.llList2String(src, index); }
276 public string llList2Key(List<string> src, int index) { return m_LSL_Functions.llList2Key(src, index); } 276 public string llList2Key(List<string> src, int index) { return m_LSL_Functions.llList2Key(src, index); }
277 public Axiom.Math.Vector3 llList2Vector(List<string> src, int index) { return m_LSL_Functions.llList2Vector(src, index); } 277 public LSL_Types.Vector3 llList2Vector(List<string> src, int index) { return m_LSL_Functions.llList2Vector(src, index); }
278 public Axiom.Math.Quaternion llList2Rot(List<string> src, int index) { return m_LSL_Functions.llList2Rot(src, index); } 278 public LSL_Types.Quaternion llList2Rot(List<string> src, int index) { return m_LSL_Functions.llList2Rot(src, index); }
279 public List<string> llList2List(List<string> src, int start, int end) { return m_LSL_Functions.llList2List(src, start, end); } 279 public List<string> llList2List(List<string> src, int start, int end) { return m_LSL_Functions.llList2List(src, start, end); }
280 public List<string> llDeleteSubList(List<string> src, int start, int end) { return m_LSL_Functions.llDeleteSubList(src, start, end); } 280 public List<string> llDeleteSubList(List<string> src, int start, int end) { return m_LSL_Functions.llDeleteSubList(src, start, end); }
281 public int llGetListEntryType(List<string> src, int index) { return m_LSL_Functions.llGetListEntryType(src, index); } 281 public int llGetListEntryType(List<string> src, int index) { return m_LSL_Functions.llGetListEntryType(src, index); }
@@ -283,13 +283,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
283 public List<string> llCSV2List(string src) { return m_LSL_Functions.llCSV2List(src); } 283 public List<string> llCSV2List(string src) { return m_LSL_Functions.llCSV2List(src); }
284 public List<string> llListRandomize(List<string> src, int stride) { return m_LSL_Functions.llListRandomize(src, stride); } 284 public List<string> llListRandomize(List<string> src, int stride) { return m_LSL_Functions.llListRandomize(src, stride); }
285 public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) { return m_LSL_Functions.llList2ListStrided(src, start, end, stride); } 285 public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) { return m_LSL_Functions.llList2ListStrided(src, start, end, stride); }
286 public Axiom.Math.Vector3 llGetRegionCorner() { return m_LSL_Functions.llGetRegionCorner(); } 286 public LSL_Types.Vector3 llGetRegionCorner() { return m_LSL_Functions.llGetRegionCorner(); }
287 public List<string> llListInsertList(List<string> dest, List<string> src, int start) { return m_LSL_Functions.llListInsertList(dest, src, start); } 287 public List<string> llListInsertList(List<string> dest, List<string> src, int start) { return m_LSL_Functions.llListInsertList(dest, src, start); }
288 public int llListFindList(List<string> src, List<string> test) { return m_LSL_Functions.llListFindList(src, test); } 288 public int llListFindList(List<string> src, List<string> test) { return m_LSL_Functions.llListFindList(src, test); }
289 public string llGetObjectName() { return m_LSL_Functions.llGetObjectName(); } 289 public string llGetObjectName() { return m_LSL_Functions.llGetObjectName(); }
290 public void llSetObjectName(string name) { m_LSL_Functions.llSetObjectName(name); } 290 public void llSetObjectName(string name) { m_LSL_Functions.llSetObjectName(name); }
291 public string llGetDate() { return m_LSL_Functions.llGetDate(); } 291 public string llGetDate() { return m_LSL_Functions.llGetDate(); }
292 public int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return m_LSL_Functions.llEdgeOfWorld(pos, dir); } 292 public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) { return m_LSL_Functions.llEdgeOfWorld(pos, dir); }
293 public int llGetAgentInfo(string id) { return m_LSL_Functions.llGetAgentInfo(id); } 293 public int llGetAgentInfo(string id) { return m_LSL_Functions.llGetAgentInfo(id); }
294 // 294 //
295 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 295 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
@@ -299,18 +299,18 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
299 public void llSetSoundRadius(double radius) { m_LSL_Functions.llSetSoundRadius(radius); } 299 public void llSetSoundRadius(double radius) { m_LSL_Functions.llSetSoundRadius(radius); }
300 public string llKey2Name(string id) { return m_LSL_Functions.llKey2Name(id); } 300 public string llKey2Name(string id) { return m_LSL_Functions.llKey2Name(id); }
301 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); } 301 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); }
302 public void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); } 302 public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west) { m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); }
303 public void llEjectFromLand(string pest) { m_LSL_Functions.llEjectFromLand(pest); } 303 public void llEjectFromLand(string pest) { m_LSL_Functions.llEjectFromLand(pest); }
304 public void llParseString2List() { m_LSL_Functions.llParseString2List(); } 304 public void llParseString2List() { m_LSL_Functions.llParseString2List(); }
305 public int llOverMyLand(string id) { return m_LSL_Functions.llOverMyLand(id); } 305 public int llOverMyLand(string id) { return m_LSL_Functions.llOverMyLand(id); }
306 public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return m_LSL_Functions.llGetLandOwnerAt(pos); } 306 public string llGetLandOwnerAt(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetLandOwnerAt(pos); }
307 public string llGetNotecardLine(string name, int line) { return m_LSL_Functions.llGetNotecardLine(name, line); } 307 public string llGetNotecardLine(string name, int line) { return m_LSL_Functions.llGetNotecardLine(name, line); }
308 public Axiom.Math.Vector3 llGetAgentSize(string id) { return m_LSL_Functions.llGetAgentSize(id); } 308 public LSL_Types.Vector3 llGetAgentSize(string id) { return m_LSL_Functions.llGetAgentSize(id); }
309 public int llSameGroup(string agent) { return m_LSL_Functions.llSameGroup(agent); } 309 public int llSameGroup(string agent) { return m_LSL_Functions.llSameGroup(agent); }
310 public void llUnSit(string id) { m_LSL_Functions.llUnSit(id); } 310 public void llUnSit(string id) { m_LSL_Functions.llUnSit(id); }
311 public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGroundSlope(offset); } 311 public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundSlope(offset); }
312 public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGroundNormal(offset); } 312 public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundNormal(offset); }
313 public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return m_LSL_Functions.llGroundContour(offset); } 313 public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset) { return m_LSL_Functions.llGroundContour(offset); }
314 public int llGetAttached() { return m_LSL_Functions.llGetAttached(); } 314 public int llGetAttached() { return m_LSL_Functions.llGetAttached(); }
315 public int llGetFreeMemory() { return m_LSL_Functions.llGetFreeMemory(); } 315 public int llGetFreeMemory() { return m_LSL_Functions.llGetFreeMemory(); }
316 public string llGetRegionName() { return m_LSL_Functions.llGetRegionName(); } 316 public string llGetRegionName() { return m_LSL_Functions.llGetRegionName(); }
@@ -324,19 +324,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
324 public void llGiveInventoryList() { m_LSL_Functions.llGiveInventoryList(); } 324 public void llGiveInventoryList() { m_LSL_Functions.llGiveInventoryList(); }
325 public void llSetVehicleType(int type) { m_LSL_Functions.llSetVehicleType(type); } 325 public void llSetVehicleType(int type) { m_LSL_Functions.llSetVehicleType(type); }
326 public void llSetVehicledoubleParam(int param, double value) { m_LSL_Functions.llSetVehicledoubleParam(param, value); } 326 public void llSetVehicledoubleParam(int param, double value) { m_LSL_Functions.llSetVehicledoubleParam(param, value); }
327 public void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec) { m_LSL_Functions.llSetVehicleVectorParam(param, vec); } 327 public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) { m_LSL_Functions.llSetVehicleVectorParam(param, vec); }
328 public void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot) { m_LSL_Functions.llSetVehicleRotationParam(param, rot); } 328 public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot) { m_LSL_Functions.llSetVehicleRotationParam(param, rot); }
329 public void llSetVehicleFlags(int flags) { m_LSL_Functions.llSetVehicleFlags(flags); } 329 public void llSetVehicleFlags(int flags) { m_LSL_Functions.llSetVehicleFlags(flags); }
330 public void llRemoveVehicleFlags(int flags) { m_LSL_Functions.llRemoveVehicleFlags(flags); } 330 public void llRemoveVehicleFlags(int flags) { m_LSL_Functions.llRemoveVehicleFlags(flags); }
331 public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { m_LSL_Functions.llSitTarget(offset, rot); } 331 public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot) { m_LSL_Functions.llSitTarget(offset, rot); }
332 public string llAvatarOnSitTarget() { return m_LSL_Functions.llAvatarOnSitTarget(); } 332 public string llAvatarOnSitTarget() { return m_LSL_Functions.llAvatarOnSitTarget(); }
333 public void llAddToLandPassList(string avatar, double hours) { m_LSL_Functions.llAddToLandPassList(avatar, hours); } 333 public void llAddToLandPassList(string avatar, double hours) { m_LSL_Functions.llAddToLandPassList(avatar, hours); }
334 public void llSetTouchText(string text) { m_LSL_Functions.llSetTouchText(text); } 334 public void llSetTouchText(string text) { m_LSL_Functions.llSetTouchText(text); }
335 public void llSetSitText(string text) { m_LSL_Functions.llSetSitText(text); } 335 public void llSetSitText(string text) { m_LSL_Functions.llSetSitText(text); }
336 public void llSetCameraEyeOffset(Axiom.Math.Vector3 offset) { m_LSL_Functions.llSetCameraEyeOffset(offset); } 336 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) { m_LSL_Functions.llSetCameraEyeOffset(offset); }
337 public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { m_LSL_Functions.llSetCameraAtOffset(offset); } 337 public void llSetCameraAtOffset(LSL_Types.Vector3 offset) { m_LSL_Functions.llSetCameraAtOffset(offset); }
338 public void llDumpList2String() { m_LSL_Functions.llDumpList2String(); } 338 public void llDumpList2String() { m_LSL_Functions.llDumpList2String(); }
339 public void llScriptDanger(Axiom.Math.Vector3 pos) { m_LSL_Functions.llScriptDanger(pos); } 339 public void llScriptDanger(LSL_Types.Vector3 pos) { m_LSL_Functions.llScriptDanger(pos); }
340 public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); } 340 public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); }
341 public void llVolumeDetect(int detect) { m_LSL_Functions.llVolumeDetect(detect); } 341 public void llVolumeDetect(int detect) { m_LSL_Functions.llVolumeDetect(detect); }
342 public void llResetOtherScript(string name) { m_LSL_Functions.llResetOtherScript(name); } 342 public void llResetOtherScript(string name) { m_LSL_Functions.llResetOtherScript(name); }
@@ -361,8 +361,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
361 public double llLog(double val) { return m_LSL_Functions.llLog(val); } 361 public double llLog(double val) { return m_LSL_Functions.llLog(val); }
362 public List<string> llGetAnimationList(string id) { return m_LSL_Functions.llGetAnimationList(id); } 362 public List<string> llGetAnimationList(string id) { return m_LSL_Functions.llGetAnimationList(id); }
363 public void llSetParcelMusicURL(string url) { m_LSL_Functions.llSetParcelMusicURL(url); } 363 public void llSetParcelMusicURL(string url) { m_LSL_Functions.llSetParcelMusicURL(url); }
364 public Axiom.Math.Vector3 llGetRootPosition() { return m_LSL_Functions.llGetRootPosition(); } 364 public LSL_Types.Vector3 llGetRootPosition() { return m_LSL_Functions.llGetRootPosition(); }
365 public Axiom.Math.Quaternion llGetRootRotation() { return m_LSL_Functions.llGetRootRotation(); } 365 public LSL_Types.Quaternion llGetRootRotation() { return m_LSL_Functions.llGetRootRotation(); }
366 public string llGetObjectDesc() { return m_LSL_Functions.llGetObjectDesc(); } 366 public string llGetObjectDesc() { return m_LSL_Functions.llGetObjectDesc(); }
367 public void llSetObjectDesc(string desc) { m_LSL_Functions.llSetObjectDesc(desc); } 367 public void llSetObjectDesc(string desc) { m_LSL_Functions.llSetObjectDesc(desc); }
368 public string llGetCreator() { return m_LSL_Functions.llGetCreator(); } 368 public string llGetCreator() { return m_LSL_Functions.llGetCreator(); }
@@ -371,7 +371,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
371 public int llGetNumberOfPrims() { return m_LSL_Functions.llGetNumberOfPrims(); } 371 public int llGetNumberOfPrims() { return m_LSL_Functions.llGetNumberOfPrims(); }
372 public string llGetNumberOfNotecardLines(string name) { return m_LSL_Functions.llGetNumberOfNotecardLines(name); } 372 public string llGetNumberOfNotecardLines(string name) { return m_LSL_Functions.llGetNumberOfNotecardLines(name); }
373 public List<string> llGetBoundingBox(string obj) { return m_LSL_Functions.llGetBoundingBox(obj); } 373 public List<string> llGetBoundingBox(string obj) { return m_LSL_Functions.llGetBoundingBox(obj); }
374 public Axiom.Math.Vector3 llGetGeometricCenter() { return m_LSL_Functions.llGetGeometricCenter(); } 374 public LSL_Types.Vector3 llGetGeometricCenter() { return m_LSL_Functions.llGetGeometricCenter(); }
375 public void llGetPrimitiveParams() { m_LSL_Functions.llGetPrimitiveParams(); } 375 public void llGetPrimitiveParams() { m_LSL_Functions.llGetPrimitiveParams(); }
376 // 376 //
377 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 377 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
@@ -380,9 +380,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
380 public int llBase64ToInteger(string str) { return m_LSL_Functions.llBase64ToInteger(str); } 380 public int llBase64ToInteger(string str) { return m_LSL_Functions.llBase64ToInteger(str); }
381 public double llGetGMTclock() { return m_LSL_Functions.llGetGMTclock(); } 381 public double llGetGMTclock() { return m_LSL_Functions.llGetGMTclock(); }
382 public string llGetSimulatorHostname() { return m_LSL_Functions.llGetSimulatorHostname(); } 382 public string llGetSimulatorHostname() { return m_LSL_Functions.llGetSimulatorHostname(); }
383 public void llSetLocalRot(Axiom.Math.Quaternion rot) { m_LSL_Functions.llSetLocalRot(rot); } 383 public void llSetLocalRot(LSL_Types.Quaternion rot) { m_LSL_Functions.llSetLocalRot(rot); }
384 public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) { return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); } 384 public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) { return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); }
385 public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param) { m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); } 385 public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param) { m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); }
386 public int llGetObjectPermMask(int mask) { return m_LSL_Functions.llGetObjectPermMask(mask); } 386 public int llGetObjectPermMask(int mask) { return m_LSL_Functions.llGetObjectPermMask(mask); }
387 public void llSetObjectPermMask(int mask, int value) { m_LSL_Functions.llSetObjectPermMask(mask, value); } 387 public void llSetObjectPermMask(int mask, int value) { m_LSL_Functions.llSetObjectPermMask(mask, value); }
388 public void llGetInventoryPermMask(string item, int mask) { m_LSL_Functions.llGetInventoryPermMask(item, mask); } 388 public void llGetInventoryPermMask(string item, int mask) { m_LSL_Functions.llGetInventoryPermMask(item, mask); }
@@ -402,13 +402,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
402 // 402 //
403 public int llGetInventoryType(string name) { return m_LSL_Functions.llGetInventoryType(name); } 403 public int llGetInventoryType(string name) { return m_LSL_Functions.llGetInventoryType(name); }
404 public void llSetPayPrice(int price, List<string> quick_pay_buttons) { m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); } 404 public void llSetPayPrice(int price, List<string> quick_pay_buttons) { m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); }
405 public Axiom.Math.Vector3 llGetCameraPos() { return m_LSL_Functions.llGetCameraPos(); } 405 public LSL_Types.Vector3 llGetCameraPos() { return m_LSL_Functions.llGetCameraPos(); }
406 public Axiom.Math.Quaternion llGetCameraRot() { return m_LSL_Functions.llGetCameraRot(); } 406 public LSL_Types.Quaternion llGetCameraRot() { return m_LSL_Functions.llGetCameraRot(); }
407 public void llSetPrimURL() { m_LSL_Functions.llSetPrimURL(); } 407 public void llSetPrimURL() { m_LSL_Functions.llSetPrimURL(); }
408 public void llRefreshPrimURL() { m_LSL_Functions.llRefreshPrimURL(); } 408 public void llRefreshPrimURL() { m_LSL_Functions.llRefreshPrimURL(); }
409 public string llEscapeURL(string url) { return m_LSL_Functions.llEscapeURL(url); } 409 public string llEscapeURL(string url) { return m_LSL_Functions.llEscapeURL(url); }
410 public string llUnescapeURL(string url) { return m_LSL_Functions.llUnescapeURL(url); } 410 public string llUnescapeURL(string url) { return m_LSL_Functions.llUnescapeURL(url); }
411 public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { m_LSL_Functions.llMapDestination(simname, pos, look_at); } 411 public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at) { m_LSL_Functions.llMapDestination(simname, pos, look_at); }
412 public void llAddToLandBanList(string avatar, double hours) { m_LSL_Functions.llAddToLandBanList(avatar, hours); } 412 public void llAddToLandBanList(string avatar, double hours) { m_LSL_Functions.llAddToLandBanList(avatar, hours); }
413 public void llRemoveFromLandPassList(string avatar) { m_LSL_Functions.llRemoveFromLandPassList(avatar); } 413 public void llRemoveFromLandPassList(string avatar) { m_LSL_Functions.llRemoveFromLandPassList(avatar); }
414 public void llRemoveFromLandBanList(string avatar) { m_LSL_Functions.llRemoveFromLandBanList(avatar); } 414 public void llRemoveFromLandBanList(string avatar) { m_LSL_Functions.llRemoveFromLandBanList(avatar); }
@@ -416,20 +416,20 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
416 public void llClearCameraParams() { m_LSL_Functions.llClearCameraParams(); } 416 public void llClearCameraParams() { m_LSL_Functions.llClearCameraParams(); }
417 public double llListStatistics(int operation, List<string> src) { return m_LSL_Functions.llListStatistics(operation, src); } 417 public double llListStatistics(int operation, List<string> src) { return m_LSL_Functions.llListStatistics(operation, src); }
418 public int llGetUnixTime() { return m_LSL_Functions.llGetUnixTime(); } 418 public int llGetUnixTime() { return m_LSL_Functions.llGetUnixTime(); }
419 public int llGetParcelFlags(Axiom.Math.Vector3 pos) { return m_LSL_Functions.llGetParcelFlags(pos); } 419 public int llGetParcelFlags(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetParcelFlags(pos); }
420 public int llGetRegionFlags() { return m_LSL_Functions.llGetRegionFlags(); } 420 public int llGetRegionFlags() { return m_LSL_Functions.llGetRegionFlags(); }
421 public string llXorBase64StringsCorrect(string str1, string str2) { return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); } 421 public string llXorBase64StringsCorrect(string str1, string str2) { return m_LSL_Functions.llXorBase64StringsCorrect(str1, str2); }
422 public void llHTTPRequest() { m_LSL_Functions.llHTTPRequest(); } 422 public void llHTTPRequest() { m_LSL_Functions.llHTTPRequest(); }
423 public void llResetLandBanList() { m_LSL_Functions.llResetLandBanList(); } 423 public void llResetLandBanList() { m_LSL_Functions.llResetLandBanList(); }
424 public void llResetLandPassList() { m_LSL_Functions.llResetLandPassList(); } 424 public void llResetLandPassList() { m_LSL_Functions.llResetLandPassList(); }
425 public int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide) { return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); } 425 public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) { return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); }
426 public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return m_LSL_Functions.llGetParcelPrimOwners(pos); } 426 public List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos) { return m_LSL_Functions.llGetParcelPrimOwners(pos); }
427 public int llGetObjectPrimCount(string object_id) { return m_LSL_Functions.llGetObjectPrimCount(object_id); } 427 public int llGetObjectPrimCount(string object_id) { return m_LSL_Functions.llGetObjectPrimCount(object_id); }
428 // 428 //
429 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 429 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
430 // 430 //
431 public int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide) { return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); } 431 public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) { return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); }
432 public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return m_LSL_Functions.llGetParcelDetails(pos, param); } 432 public List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param) { return m_LSL_Functions.llGetParcelDetails(pos, param); }
433 433
434 434
435 435
@@ -738,8 +738,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
738 public const double SQRT2 = 1.414213538f; 738 public const double SQRT2 = 1.414213538f;
739 739
740 // Can not be public const? 740 // Can not be public const?
741 public Axiom.Math.Vector3 ZERO_VECTOR = new Axiom.Math.Vector3(0, 0, 0); 741 public LSL_Types.Vector3 ZERO_VECTOR = new LSL_Types.Vector3(0, 0, 0);
742 public Axiom.Math.Quaternion ZERO_ROTATION = new Axiom.Math.Quaternion(0, 0, 0, 0); 742 public LSL_Types.Quaternion ZERO_ROTATION = new LSL_Types.Quaternion(0, 0, 0, 0);
743 743
744 744
745 745
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
index 6401163..15de03b 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands.cs
@@ -60,16 +60,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
60 public int llFloor(double f) { return (int)Math.Floor(f); } 60 public int llFloor(double f) { return (int)Math.Floor(f); }
61 public int llCeil(double f) { return (int)Math.Ceiling(f); } 61 public int llCeil(double f) { return (int)Math.Ceiling(f); }
62 public int llRound(double f) { return (int)Math.Round(f, 1); } 62 public int llRound(double f) { return (int)Math.Round(f, 1); }
63 public double llVecMag(Axiom.Math.Vector3 v) { return 0; } 63 public double llVecMag(LSL_Types.Vector3 v) { return 0; }
64 public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } 64 public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v) { return new LSL_Types.Vector3(); }
65 public double llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } 65 public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b) { return 0; }
66 public Axiom.Math.Vector3 llRot2Euler(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } 66 public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); }
67 public Axiom.Math.Quaternion llEuler2Rot(Axiom.Math.Vector3 v) { return new Axiom.Math.Quaternion(); } 67 public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v) { return new LSL_Types.Quaternion(); }
68 public Axiom.Math.Quaternion llAxes2Rot(Axiom.Math.Vector3 fwd, Axiom.Math.Vector3 left, Axiom.Math.Vector3 up) { return new Axiom.Math.Quaternion(); } 68 public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up) { return new LSL_Types.Quaternion(); }
69 public Axiom.Math.Vector3 llRot2Fwd(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } 69 public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); }
70 public Axiom.Math.Vector3 llRot2Left(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } 70 public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); }
71 public Axiom.Math.Vector3 llRot2Up(Axiom.Math.Quaternion r) { return new Axiom.Math.Vector3(); } 71 public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r) { return new LSL_Types.Vector3(); }
72 public Axiom.Math.Quaternion llRotBetween(Axiom.Math.Vector3 start, Axiom.Math.Vector3 end) { return new Axiom.Math.Quaternion(); } 72 public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end) { return new LSL_Types.Quaternion(); }
73 73
74 public void llWhisper(int channelID, string text) 74 public void llWhisper(int channelID, string text)
75 { 75 {
@@ -112,57 +112,57 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
112 public string llDetectedKey(int number) { return ""; } 112 public string llDetectedKey(int number) { return ""; }
113 public string llDetectedOwner(int number) { return ""; } 113 public string llDetectedOwner(int number) { return ""; }
114 public int llDetectedType(int number) { return 0; } 114 public int llDetectedType(int number) { return 0; }
115 public Axiom.Math.Vector3 llDetectedPos(int number) { return new Axiom.Math.Vector3(); } 115 public LSL_Types.Vector3 llDetectedPos(int number) { return new LSL_Types.Vector3(); }
116 public Axiom.Math.Vector3 llDetectedVel(int number) { return new Axiom.Math.Vector3(); } 116 public LSL_Types.Vector3 llDetectedVel(int number) { return new LSL_Types.Vector3(); }
117 public Axiom.Math.Vector3 llDetectedGrab(int number) { return new Axiom.Math.Vector3(); } 117 public LSL_Types.Vector3 llDetectedGrab(int number) { return new LSL_Types.Vector3(); }
118 public Axiom.Math.Quaternion llDetectedRot(int number) { return new Axiom.Math.Quaternion(); } 118 public LSL_Types.Quaternion llDetectedRot(int number) { return new LSL_Types.Quaternion(); }
119 public int llDetectedGroup(int number) { return 0; } 119 public int llDetectedGroup(int number) { return 0; }
120 public int llDetectedLinkNumber(int number) { return 0; } 120 public int llDetectedLinkNumber(int number) { return 0; }
121 public void llDie() { return; } 121 public void llDie() { return; }
122 public double llGround(Axiom.Math.Vector3 offset) { return 0; } 122 public double llGround(LSL_Types.Vector3 offset) { return 0; }
123 public double llCloud(Axiom.Math.Vector3 offset) { return 0; } 123 public double llCloud(LSL_Types.Vector3 offset) { return 0; }
124 public Axiom.Math.Vector3 llWind(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } 124 public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); }
125 public void llSetStatus(int status, int value) { return; } 125 public void llSetStatus(int status, int value) { return; }
126 public int llGetStatus(int status) { return 0; } 126 public int llGetStatus(int status) { return 0; }
127 public void llSetScale(Axiom.Math.Vector3 scale) { return; } 127 public void llSetScale(LSL_Types.Vector3 scale) { return; }
128 public Axiom.Math.Vector3 llGetScale() { return new Axiom.Math.Vector3(); } 128 public LSL_Types.Vector3 llGetScale() { return new LSL_Types.Vector3(); }
129 public void llSetColor(Axiom.Math.Vector3 color, int face) { return; } 129 public void llSetColor(LSL_Types.Vector3 color, int face) { return; }
130 public double llGetAlpha(int face) { return 0; } 130 public double llGetAlpha(int face) { return 0; }
131 public void llSetAlpha(double alpha, int face) { return; } 131 public void llSetAlpha(double alpha, int face) { return; }
132 public Axiom.Math.Vector3 llGetColor(int face) { return new Axiom.Math.Vector3(); } 132 public LSL_Types.Vector3 llGetColor(int face) { return new LSL_Types.Vector3(); }
133 public void llSetTexture(string texture, int face) { return; } 133 public void llSetTexture(string texture, int face) { return; }
134 public void llScaleTexture(double u, double v, int face) { return; } 134 public void llScaleTexture(double u, double v, int face) { return; }
135 public void llOffsetTexture(double u, double v, int face) { return; } 135 public void llOffsetTexture(double u, double v, int face) { return; }
136 public void llRotateTexture(double rotation, int face) { return; } 136 public void llRotateTexture(double rotation, int face) { return; }
137 public string llGetTexture(int face) { return ""; } 137 public string llGetTexture(int face) { return ""; }
138 public void llSetPos(Axiom.Math.Vector3 pos) { return; } 138 public void llSetPos(LSL_Types.Vector3 pos) { return; }
139 139
140 public Axiom.Math.Vector3 llGetPos() 140 public LSL_Types.Vector3 llGetPos()
141 { 141 {
142 throw new NotImplementedException("llGetPos"); 142 throw new NotImplementedException("llGetPos");
143 // return m_host.AbsolutePosition; 143 // return m_host.AbsolutePosition;
144 } 144 }
145 145
146 public Axiom.Math.Vector3 llGetLocalPos() { return new Axiom.Math.Vector3(); } 146 public LSL_Types.Vector3 llGetLocalPos() { return new LSL_Types.Vector3(); }
147 public void llSetRot(Axiom.Math.Quaternion rot) { } 147 public void llSetRot(LSL_Types.Quaternion rot) { }
148 public Axiom.Math.Quaternion llGetRot() { return new Axiom.Math.Quaternion(); } 148 public LSL_Types.Quaternion llGetRot() { return new LSL_Types.Quaternion(); }
149 public Axiom.Math.Quaternion llGetLocalRot() { return new Axiom.Math.Quaternion(); } 149 public LSL_Types.Quaternion llGetLocalRot() { return new LSL_Types.Quaternion(); }
150 public void llSetForce(Axiom.Math.Vector3 force, int local) { } 150 public void llSetForce(LSL_Types.Vector3 force, int local) { }
151 public Axiom.Math.Vector3 llGetForce() { return new Axiom.Math.Vector3(); } 151 public LSL_Types.Vector3 llGetForce() { return new LSL_Types.Vector3(); }
152 public int llTarget(Axiom.Math.Vector3 position, double range) { return 0; } 152 public int llTarget(LSL_Types.Vector3 position, double range) { return 0; }
153 public void llTargetRemove(int number) { } 153 public void llTargetRemove(int number) { }
154 public int llRotTarget(Axiom.Math.Quaternion rot, double error) { return 0; } 154 public int llRotTarget(LSL_Types.Quaternion rot, double error) { return 0; }
155 public void llRotTargetRemove(int number) { } 155 public void llRotTargetRemove(int number) { }
156 public void llMoveToTarget(Axiom.Math.Vector3 target, double tau) { } 156 public void llMoveToTarget(LSL_Types.Vector3 target, double tau) { }
157 public void llStopMoveToTarget() { } 157 public void llStopMoveToTarget() { }
158 public void llApplyImpulse(Axiom.Math.Vector3 force, int local) { } 158 public void llApplyImpulse(LSL_Types.Vector3 force, int local) { }
159 public void llApplyRotationalImpulse(Axiom.Math.Vector3 force, int local) { } 159 public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local) { }
160 public void llSetTorque(Axiom.Math.Vector3 torque, int local) { } 160 public void llSetTorque(LSL_Types.Vector3 torque, int local) { }
161 public Axiom.Math.Vector3 llGetTorque() { return new Axiom.Math.Vector3(); } 161 public LSL_Types.Vector3 llGetTorque() { return new LSL_Types.Vector3(); }
162 public void llSetForceAndTorque(Axiom.Math.Vector3 force, Axiom.Math.Vector3 torque, int local) { } 162 public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local) { }
163 public Axiom.Math.Vector3 llGetVel() { return new Axiom.Math.Vector3(); } 163 public LSL_Types.Vector3 llGetVel() { return new LSL_Types.Vector3(); }
164 public Axiom.Math.Vector3 llGetAccel() { return new Axiom.Math.Vector3(); } 164 public LSL_Types.Vector3 llGetAccel() { return new LSL_Types.Vector3(); }
165 public Axiom.Math.Vector3 llGetOmega() { return new Axiom.Math.Vector3(); } 165 public LSL_Types.Vector3 llGetOmega() { return new LSL_Types.Vector3(); }
166 public double llGetTimeOfDay() { return 0; } 166 public double llGetTimeOfDay() { return 0; }
167 public double llGetWallclock() { return 0; } 167 public double llGetWallclock() { return 0; }
168 public double llGetTime() { return 0; } 168 public double llGetTime() { return 0; }
@@ -187,8 +187,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
187 public void llMakeFountain() { } 187 public void llMakeFountain() { }
188 public void llMakeSmoke() { } 188 public void llMakeSmoke() { }
189 public void llMakeFire() { } 189 public void llMakeFire() { }
190 public void llRezObject(string inventory, Axiom.Math.Vector3 pos, Axiom.Math.Quaternion rot, int param) { } 190 public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param) { }
191 public void llLookAt(Axiom.Math.Vector3 target, double strength, double damping) { } 191 public void llLookAt(LSL_Types.Vector3 target, double strength, double damping) { }
192 public void llStopLookAt() { } 192 public void llStopLookAt() { }
193 public void llSetTimerEvent(double sec) { } 193 public void llSetTimerEvent(double sec) { }
194 public void llSleep(double sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); } 194 public void llSleep(double sec) { System.Threading.Thread.Sleep((int)(sec * 1000)); }
@@ -210,7 +210,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
210 public void llStopHover() { } 210 public void llStopHover() { }
211 public void llMinEventDelay(double delay) { } 211 public void llMinEventDelay(double delay) { }
212 public void llSoundPreload() { } 212 public void llSoundPreload() { }
213 public void llRotLookAt(Axiom.Math.Quaternion target, double strength, double damping) { } 213 public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) { }
214 214
215 public int llStringLength(string str) 215 public int llStringLength(string str)
216 { 216 {
@@ -228,14 +228,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
228 public void llStopAnimation(string anim) { } 228 public void llStopAnimation(string anim) { }
229 public void llPointAt() { } 229 public void llPointAt() { }
230 public void llStopPointAt() { } 230 public void llStopPointAt() { }
231 public void llTargetOmega(Axiom.Math.Vector3 axis, double spinrate, double gain) { } 231 public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain) { }
232 public int llGetStartParameter() { return 0; } 232 public int llGetStartParameter() { return 0; }
233 public void llGodLikeRezObject(string inventory, Axiom.Math.Vector3 pos) { } 233 public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos) { }
234 public void llRequestPermissions(string agent, int perm) { } 234 public void llRequestPermissions(string agent, int perm) { }
235 public string llGetPermissionsKey() { return ""; } 235 public string llGetPermissionsKey() { return ""; }
236 public int llGetPermissions() { return 0; } 236 public int llGetPermissions() { return 0; }
237 public int llGetLinkNumber() { return 0; } 237 public int llGetLinkNumber() { return 0; }
238 public void llSetLinkColor(int linknumber, Axiom.Math.Vector3 color, int face) { } 238 public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face) { }
239 public void llCreateLink(string target, int parent) { } 239 public void llCreateLink(string target, int parent) { }
240 public void llBreakLink(int linknum) { } 240 public void llBreakLink(int linknum) { }
241 public void llBreakAllLinks() { } 241 public void llBreakAllLinks() { }
@@ -248,12 +248,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
248 public void llGiveInventory(string destination, string inventory) { } 248 public void llGiveInventory(string destination, string inventory) { }
249 public void llRemoveInventory(string item) { } 249 public void llRemoveInventory(string item) { }
250 250
251 public void llSetText(string text, Axiom.Math.Vector3 color, double alpha) 251 public void llSetText(string text, LSL_Types.Vector3 color, double alpha)
252 { 252 {
253 m_host.SetText(text, color, alpha); 253 // TEMP DISABLED UNTIL WE CAN AGREE UPON VECTOR/ROTATION FORMAT
254 //m_host.SetText(text, color, alpha);
254 } 255 }
255 256
256 public double llWater(Axiom.Math.Vector3 offset) { return 0; } 257 public double llWater(LSL_Types.Vector3 offset) { return 0; }
257 public void llPassTouches(int pass) { } 258 public void llPassTouches(int pass) { }
258 public string llRequestAgentData(string id, int data) { return ""; } 259 public string llRequestAgentData(string id, int data) { return ""; }
259 public string llRequestInventoryData(string name) { return ""; } 260 public string llRequestInventoryData(string name) { return ""; }
@@ -265,25 +266,25 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
265 public string llGetAnimation(string id) { return ""; } 266 public string llGetAnimation(string id) { return ""; }
266 public void llResetScript() { } 267 public void llResetScript() { }
267 public void llMessageLinked(int linknum, int num, string str, string id) { } 268 public void llMessageLinked(int linknum, int num, string str, string id) { }
268 public void llPushObject(string target, Axiom.Math.Vector3 impulse, Axiom.Math.Vector3 ang_impulse, int local) { } 269 public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local) { }
269 public void llPassCollisions(int pass) { } 270 public void llPassCollisions(int pass) { }
270 public string llGetScriptName() { return ""; } 271 public string llGetScriptName() { return ""; }
271 public int llGetNumberOfSides() { return 0; } 272 public int llGetNumberOfSides() { return 0; }
272 public Axiom.Math.Quaternion llAxisAngle2Rot(Axiom.Math.Vector3 axis, double angle) { return new Axiom.Math.Quaternion(); } 273 public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle) { return new LSL_Types.Quaternion(); }
273 public Axiom.Math.Vector3 llRot2Axis(Axiom.Math.Quaternion rot) { return new Axiom.Math.Vector3(); } 274 public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot) { return new LSL_Types.Vector3(); }
274 public void llRot2Angle() { } 275 public void llRot2Angle() { }
275 public double llAcos(double val) { return (double)Math.Acos(val); } 276 public double llAcos(double val) { return (double)Math.Acos(val); }
276 public double llAsin(double val) { return (double)Math.Asin(val); } 277 public double llAsin(double val) { return (double)Math.Asin(val); }
277 public double llAngleBetween(Axiom.Math.Quaternion a, Axiom.Math.Quaternion b) { return 0; } 278 public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b) { return 0; }
278 public string llGetInventoryKey(string name) { return ""; } 279 public string llGetInventoryKey(string name) { return ""; }
279 public void llAllowInventoryDrop(int add) { } 280 public void llAllowInventoryDrop(int add) { }
280 public Axiom.Math.Vector3 llGetSunDirection() { return new Axiom.Math.Vector3(); } 281 public LSL_Types.Vector3 llGetSunDirection() { return new LSL_Types.Vector3(); }
281 public Axiom.Math.Vector3 llGetTextureOffset(int face) { return new Axiom.Math.Vector3(); } 282 public LSL_Types.Vector3 llGetTextureOffset(int face) { return new LSL_Types.Vector3(); }
282 public Axiom.Math.Vector3 llGetTextureScale(int side) { return new Axiom.Math.Vector3(); } 283 public LSL_Types.Vector3 llGetTextureScale(int side) { return new LSL_Types.Vector3(); }
283 public double llGetTextureRot(int side) { return 0; } 284 public double llGetTextureRot(int side) { return 0; }
284 public int llSubStringIndex(string source, string pattern) { return 0; } 285 public int llSubStringIndex(string source, string pattern) { return 0; }
285 public string llGetOwnerKey(string id) { return ""; } 286 public string llGetOwnerKey(string id) { return ""; }
286 public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } 287 public LSL_Types.Vector3 llGetCenterOfMass() { return new LSL_Types.Vector3(); }
287 public List<string> llListSort(List<string> src, int stride, int ascending) 288 public List<string> llListSort(List<string> src, int stride, int ascending)
288 { return new List<string>(); } 289 { return new List<string>(); }
289 public int llGetListLength(List<string> src) { return 0; } 290 public int llGetListLength(List<string> src) { return 0; }
@@ -291,10 +292,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
291 public double llList2double(List<string> src, int index) { return 0; } 292 public double llList2double(List<string> src, int index) { return 0; }
292 public string llList2String(List<string> src, int index) { return ""; } 293 public string llList2String(List<string> src, int index) { return ""; }
293 public string llList2Key(List<string> src, int index) { return ""; } 294 public string llList2Key(List<string> src, int index) { return ""; }
294 public Axiom.Math.Vector3 llList2Vector(List<string> src, int index) 295 public LSL_Types.Vector3 llList2Vector(List<string> src, int index)
295 { return new Axiom.Math.Vector3(); } 296 { return new LSL_Types.Vector3(); }
296 public Axiom.Math.Quaternion llList2Rot(List<string> src, int index) 297 public LSL_Types.Quaternion llList2Rot(List<string> src, int index)
297 { return new Axiom.Math.Quaternion(); } 298 { return new LSL_Types.Quaternion(); }
298 public List<string> llList2List(List<string> src, int start, int end) 299 public List<string> llList2List(List<string> src, int start, int end)
299 { return new List<string>(); } 300 { return new List<string>(); }
300 public List<string> llDeleteSubList(List<string> src, int start, int end) 301 public List<string> llDeleteSubList(List<string> src, int start, int end)
@@ -307,33 +308,33 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
307 { return new List<string>(); } 308 { return new List<string>(); }
308 public List<string> llList2ListStrided(List<string> src, int start, int end, int stride) 309 public List<string> llList2ListStrided(List<string> src, int start, int end, int stride)
309 { return new List<string>(); } 310 { return new List<string>(); }
310 public Axiom.Math.Vector3 llGetRegionCorner() 311 public LSL_Types.Vector3 llGetRegionCorner()
311 { return new Axiom.Math.Vector3(World.RegionInfo.RegionLocX * 256, World.RegionInfo.RegionLocY * 256, 0); } 312 { return new LSL_Types.Vector3(World.RegionInfo.RegionLocX * 256, World.RegionInfo.RegionLocY * 256, 0); }
312 public List<string> llListInsertList(List<string> dest, List<string> src, int start) 313 public List<string> llListInsertList(List<string> dest, List<string> src, int start)
313 { return new List<string>(); } 314 { return new List<string>(); }
314 public int llListFindList(List<string> src, List<string> test) { return 0; } 315 public int llListFindList(List<string> src, List<string> test) { return 0; }
315 public string llGetObjectName() { return ""; } 316 public string llGetObjectName() { return ""; }
316 public void llSetObjectName(string name) { } 317 public void llSetObjectName(string name) { }
317 public string llGetDate() { return ""; } 318 public string llGetDate() { return ""; }
318 public int llEdgeOfWorld(Axiom.Math.Vector3 pos, Axiom.Math.Vector3 dir) { return 0; } 319 public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) { return 0; }
319 public int llGetAgentInfo(string id) { return 0; } 320 public int llGetAgentInfo(string id) { return 0; }
320 public void llAdjustSoundVolume(double volume) { } 321 public void llAdjustSoundVolume(double volume) { }
321 public void llSetSoundQueueing(int queue) { } 322 public void llSetSoundQueueing(int queue) { }
322 public void llSetSoundRadius(double radius) { } 323 public void llSetSoundRadius(double radius) { }
323 public string llKey2Name(string id) { return ""; } 324 public string llKey2Name(string id) { return ""; }
324 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { } 325 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) { }
325 public void llTriggerSoundLimited(string sound, double volume, Axiom.Math.Vector3 top_north_east, Axiom.Math.Vector3 bottom_south_west) { } 326 public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west) { }
326 public void llEjectFromLand(string pest) { } 327 public void llEjectFromLand(string pest) { }
327 public void llParseString2List() { } 328 public void llParseString2List() { }
328 public int llOverMyLand(string id) { return 0; } 329 public int llOverMyLand(string id) { return 0; }
329 public string llGetLandOwnerAt(Axiom.Math.Vector3 pos) { return ""; } 330 public string llGetLandOwnerAt(LSL_Types.Vector3 pos) { return ""; }
330 public string llGetNotecardLine(string name, int line) { return ""; } 331 public string llGetNotecardLine(string name, int line) { return ""; }
331 public Axiom.Math.Vector3 llGetAgentSize(string id) { return new Axiom.Math.Vector3(); } 332 public LSL_Types.Vector3 llGetAgentSize(string id) { return new LSL_Types.Vector3(); }
332 public int llSameGroup(string agent) { return 0; } 333 public int llSameGroup(string agent) { return 0; }
333 public void llUnSit(string id) { } 334 public void llUnSit(string id) { }
334 public Axiom.Math.Vector3 llGroundSlope(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } 335 public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); }
335 public Axiom.Math.Vector3 llGroundNormal(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } 336 public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); }
336 public Axiom.Math.Vector3 llGroundContour(Axiom.Math.Vector3 offset) { return new Axiom.Math.Vector3(); } 337 public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset) { return new LSL_Types.Vector3(); }
337 public int llGetAttached() { return 0; } 338 public int llGetAttached() { return 0; }
338 public int llGetFreeMemory() { return 0; } 339 public int llGetFreeMemory() { return 0; }
339 public string llGetRegionName() { return m_manager.RegionName; } 340 public string llGetRegionName() { return m_manager.RegionName; }
@@ -344,11 +345,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
344 public void llGiveInventoryList() { } 345 public void llGiveInventoryList() { }
345 public void llSetVehicleType(int type) { } 346 public void llSetVehicleType(int type) { }
346 public void llSetVehicledoubleParam(int param, double value) { } 347 public void llSetVehicledoubleParam(int param, double value) { }
347 public void llSetVehicleVectorParam(int param, Axiom.Math.Vector3 vec) { } 348 public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) { }
348 public void llSetVehicleRotationParam(int param, Axiom.Math.Quaternion rot) { } 349 public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot) { }
349 public void llSetVehicleFlags(int flags) { } 350 public void llSetVehicleFlags(int flags) { }
350 public void llRemoveVehicleFlags(int flags) { } 351 public void llRemoveVehicleFlags(int flags) { }
351 public void llSitTarget(Axiom.Math.Vector3 offset, Axiom.Math.Quaternion rot) { } 352 public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot) { }
352 public string llAvatarOnSitTarget() { return ""; } 353 public string llAvatarOnSitTarget() { return ""; }
353 public void llAddToLandPassList(string avatar, double hours) { } 354 public void llAddToLandPassList(string avatar, double hours) { }
354 public void llSetTouchText(string text) 355 public void llSetTouchText(string text)
@@ -358,10 +359,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
358 public void llSetSitText(string text) 359 public void llSetSitText(string text)
359 { 360 {
360 } 361 }
361 public void llSetCameraEyeOffset(Axiom.Math.Vector3 offset) { } 362 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) { }
362 public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } 363 public void llSetCameraAtOffset(LSL_Types.Vector3 offset) { }
363 public void llDumpList2String() { } 364 public void llDumpList2String() { }
364 public void llScriptDanger(Axiom.Math.Vector3 pos) { } 365 public void llScriptDanger(LSL_Types.Vector3 pos) { }
365 public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { } 366 public void llDialog(string avatar, string message, List<string> buttons, int chat_channel) { }
366 public void llVolumeDetect(int detect) { } 367 public void llVolumeDetect(int detect) { }
367 public void llResetOtherScript(string name) { } 368 public void llResetOtherScript(string name) { }
@@ -387,15 +388,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
387 public List<string> llGetAnimationList(string id) { return new List<string>(); } 388 public List<string> llGetAnimationList(string id) { return new List<string>(); }
388 public void llSetParcelMusicURL(string url) { } 389 public void llSetParcelMusicURL(string url) { }
389 390
390 public Axiom.Math.Vector3 llGetRootPosition() 391 public LSL_Types.Vector3 llGetRootPosition()
391 { 392 {
392 throw new NotImplementedException("llGetRootPosition"); 393 throw new NotImplementedException("llGetRootPosition");
393 //return m_root.AbsolutePosition; 394 //return m_root.AbsolutePosition;
394 } 395 }
395 396
396 public Axiom.Math.Quaternion llGetRootRotation() 397 public LSL_Types.Quaternion llGetRootRotation()
397 { 398 {
398 return new Axiom.Math.Quaternion(); 399 return new LSL_Types.Quaternion();
399 } 400 }
400 401
401 public string llGetObjectDesc() { return ""; } 402 public string llGetObjectDesc() { return ""; }
@@ -406,16 +407,16 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
406 public int llGetNumberOfPrims() { return 0; } 407 public int llGetNumberOfPrims() { return 0; }
407 public string llGetNumberOfNotecardLines(string name) { return ""; } 408 public string llGetNumberOfNotecardLines(string name) { return ""; }
408 public List<string> llGetBoundingBox(string obj) { return new List<string>(); } 409 public List<string> llGetBoundingBox(string obj) { return new List<string>(); }
409 public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } 410 public LSL_Types.Vector3 llGetGeometricCenter() { return new LSL_Types.Vector3(); }
410 public void llGetPrimitiveParams() { } 411 public void llGetPrimitiveParams() { }
411 public string llIntegerToBase64(int number) { return ""; } 412 public string llIntegerToBase64(int number) { return ""; }
412 public int llBase64ToInteger(string str) { return 0; } 413 public int llBase64ToInteger(string str) { return 0; }
413 public double llGetGMTclock() { return 0; } 414 public double llGetGMTclock() { return 0; }
414 public string llGetSimulatorHostname() { return ""; } 415 public string llGetSimulatorHostname() { return ""; }
415 public void llSetLocalRot(Axiom.Math.Quaternion rot) { } 416 public void llSetLocalRot(LSL_Types.Quaternion rot) { }
416 public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) 417 public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers)
417 { return new List<string>(); } 418 { return new List<string>(); }
418 public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, int param) { } 419 public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param) { }
419 public int llGetObjectPermMask(int mask) { return 0; } 420 public int llGetObjectPermMask(int mask) { return 0; }
420 public void llSetObjectPermMask(int mask, int value) { } 421 public void llSetObjectPermMask(int mask, int value) { }
421 public void llGetInventoryPermMask(string item, int mask) { } 422 public void llGetInventoryPermMask(string item, int mask) { }
@@ -440,13 +441,13 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
440 441
441 public int llGetInventoryType(string name) { return 0; } 442 public int llGetInventoryType(string name) { return 0; }
442 public void llSetPayPrice(int price, List<string> quick_pay_buttons) { } 443 public void llSetPayPrice(int price, List<string> quick_pay_buttons) { }
443 public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } 444 public LSL_Types.Vector3 llGetCameraPos() { return new LSL_Types.Vector3(); }
444 public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } 445 public LSL_Types.Quaternion llGetCameraRot() { return new LSL_Types.Quaternion(); }
445 public void llSetPrimURL() { } 446 public void llSetPrimURL() { }
446 public void llRefreshPrimURL() { } 447 public void llRefreshPrimURL() { }
447 public string llEscapeURL(string url) { return ""; } 448 public string llEscapeURL(string url) { return ""; }
448 public string llUnescapeURL(string url) { return ""; } 449 public string llUnescapeURL(string url) { return ""; }
449 public void llMapDestination(string simname, Axiom.Math.Vector3 pos, Axiom.Math.Vector3 look_at) { } 450 public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at) { }
450 public void llAddToLandBanList(string avatar, double hours) { } 451 public void llAddToLandBanList(string avatar, double hours) { }
451 public void llRemoveFromLandPassList(string avatar) { } 452 public void llRemoveFromLandPassList(string avatar) { }
452 public void llRemoveFromLandBanList(string avatar) { } 453 public void llRemoveFromLandBanList(string avatar) { }
@@ -457,17 +458,17 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
457 { 458 {
458 return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); 459 return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch();
459 } 460 }
460 public int llGetParcelFlags(Axiom.Math.Vector3 pos) { return 0; } 461 public int llGetParcelFlags(LSL_Types.Vector3 pos) { return 0; }
461 public int llGetRegionFlags() { return 0; } 462 public int llGetRegionFlags() { return 0; }
462 public string llXorBase64StringsCorrect(string str1, string str2) { return ""; } 463 public string llXorBase64StringsCorrect(string str1, string str2) { return ""; }
463 public void llHTTPRequest() { } 464 public void llHTTPRequest() { }
464 public void llResetLandBanList() { } 465 public void llResetLandBanList() { }
465 public void llResetLandPassList() { } 466 public void llResetLandPassList() { }
466 public int llGetParcelPrimCount(Axiom.Math.Vector3 pos, int category, int sim_wide) { return 0; } 467 public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) { return 0; }
467 public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return new List<string>(); } 468 public List<string> llGetParcelPrimOwners(LSL_Types.Vector3 pos) { return new List<string>(); }
468 public int llGetObjectPrimCount(string object_id) { return 0; } 469 public int llGetObjectPrimCount(string object_id) { return 0; }
469 public int llGetParcelMaxPrims(Axiom.Math.Vector3 pos, int sim_wide) { return 0; } 470 public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) { return 0; }
470 public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return new List<string>(); } 471 public List<string> llGetParcelDetails(LSL_Types.Vector3 pos, List<string> param) { return new List<string>(); }
471 472
472 473
473 } 474 }