aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-04-21 07:09:17 +0000
committerAdam Frisby2008-04-21 07:09:17 +0000
commitfef3b3689492dea63693c964bcdbec9f5137eb5e (patch)
tree7791eef001d85d3e1de863a68f26ff9434d062ca /OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
parent* Terrain Module code has been reformatted to comply with guidelines. (diff)
downloadopensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.zip
opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.gz
opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.bz2
opensim-SC-fef3b3689492dea63693c964bcdbec9f5137eb5e.tar.xz
* Optimised using statements and namespace references across entire project (this took a while to run).
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs183
1 files changed, 91 insertions, 92 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
index b6468c2..8aee94e 100644
--- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
@@ -26,15 +26,14 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Collections.Generic;
30using System.Runtime.Remoting.Lifetime; 29using System.Runtime.Remoting.Lifetime;
31using System.Threading; 30using System.Threading;
32using OpenSim.Region.ScriptEngine.Common; 31using OpenSim.Region.Environment.Interfaces;
33using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase; 32using OpenSim.Region.ScriptEngine.Common.ScriptEngineBase;
34using integer = System.Int32; 33using integer = System.Int32;
35using key = System.String; 34using key = System.String;
36using vector = OpenSim.Region.ScriptEngine.Common.LSL_Types.Vector3; 35using vector = ScriptEngine.Common.LSL_Types.Vector3;
37using rotation = OpenSim.Region.ScriptEngine.Common.LSL_Types.Quaternion; 36using rotation = Quaternion;
38 37
39namespace OpenSim.Region.ScriptEngine.Common 38namespace OpenSim.Region.ScriptEngine.Common
40{ 39{
@@ -151,7 +150,7 @@ namespace OpenSim.Region.ScriptEngine.Common
151 // They are only forwarders to LSL_BuiltIn_Commands.cs 150 // They are only forwarders to LSL_BuiltIn_Commands.cs
152 // 151 //
153 152
154 public OpenSim.Region.Environment.Interfaces.ICommander GetCommander(string name) 153 public ICommander GetCommander(string name)
155 { 154 {
156 return m_LSL_Functions.GetCommander(name); 155 return m_LSL_Functions.GetCommander(name);
157 } 156 }
@@ -216,52 +215,52 @@ namespace OpenSim.Region.ScriptEngine.Common
216 return m_LSL_Functions.llRound(f); 215 return m_LSL_Functions.llRound(f);
217 } 216 }
218 217
219 public double llVecMag(vector v) 218 public double llVecMag(LSL_Types.Vector3 v)
220 { 219 {
221 return m_LSL_Functions.llVecMag(v); 220 return m_LSL_Functions.llVecMag(v);
222 } 221 }
223 222
224 public vector llVecNorm(vector v) 223 public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v)
225 { 224 {
226 return m_LSL_Functions.llVecNorm(v); 225 return m_LSL_Functions.llVecNorm(v);
227 } 226 }
228 227
229 public double llVecDist(vector a, vector b) 228 public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b)
230 { 229 {
231 return m_LSL_Functions.llVecDist(a, b); 230 return m_LSL_Functions.llVecDist(a, b);
232 } 231 }
233 232
234 public vector llRot2Euler(rotation r) 233 public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r)
235 { 234 {
236 return m_LSL_Functions.llRot2Euler(r); 235 return m_LSL_Functions.llRot2Euler(r);
237 } 236 }
238 237
239 public rotation llEuler2Rot(vector v) 238 public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v)
240 { 239 {
241 return m_LSL_Functions.llEuler2Rot(v); 240 return m_LSL_Functions.llEuler2Rot(v);
242 } 241 }
243 242
244 public rotation llAxes2Rot(vector fwd, vector left, vector up) 243 public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up)
245 { 244 {
246 return m_LSL_Functions.llAxes2Rot(fwd, left, up); 245 return m_LSL_Functions.llAxes2Rot(fwd, left, up);
247 } 246 }
248 247
249 public vector llRot2Fwd(rotation r) 248 public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r)
250 { 249 {
251 return m_LSL_Functions.llRot2Fwd(r); 250 return m_LSL_Functions.llRot2Fwd(r);
252 } 251 }
253 252
254 public vector llRot2Left(rotation r) 253 public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r)
255 { 254 {
256 return m_LSL_Functions.llRot2Left(r); 255 return m_LSL_Functions.llRot2Left(r);
257 } 256 }
258 257
259 public vector llRot2Up(rotation r) 258 public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r)
260 { 259 {
261 return m_LSL_Functions.llRot2Up(r); 260 return m_LSL_Functions.llRot2Up(r);
262 } 261 }
263 262
264 public rotation llRotBetween(vector start, vector end) 263 public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end)
265 { 264 {
266 return m_LSL_Functions.llRotBetween(start, end); 265 return m_LSL_Functions.llRotBetween(start, end);
267 } 266 }
@@ -334,22 +333,22 @@ namespace OpenSim.Region.ScriptEngine.Common
334 return m_LSL_Functions.llDetectedType(number); 333 return m_LSL_Functions.llDetectedType(number);
335 } 334 }
336 335
337 public vector llDetectedPos(int number) 336 public LSL_Types.Vector3 llDetectedPos(int number)
338 { 337 {
339 return m_LSL_Functions.llDetectedPos(number); 338 return m_LSL_Functions.llDetectedPos(number);
340 } 339 }
341 340
342 public vector llDetectedVel(int number) 341 public LSL_Types.Vector3 llDetectedVel(int number)
343 { 342 {
344 return m_LSL_Functions.llDetectedVel(number); 343 return m_LSL_Functions.llDetectedVel(number);
345 } 344 }
346 345
347 public vector llDetectedGrab(int number) 346 public LSL_Types.Vector3 llDetectedGrab(int number)
348 { 347 {
349 return m_LSL_Functions.llDetectedGrab(number); 348 return m_LSL_Functions.llDetectedGrab(number);
350 } 349 }
351 350
352 public rotation llDetectedRot(int number) 351 public LSL_Types.Quaternion llDetectedRot(int number)
353 { 352 {
354 return m_LSL_Functions.llDetectedRot(number); 353 return m_LSL_Functions.llDetectedRot(number);
355 } 354 }
@@ -372,17 +371,17 @@ namespace OpenSim.Region.ScriptEngine.Common
372 m_LSL_Functions.llDie(); 371 m_LSL_Functions.llDie();
373 } 372 }
374 373
375 public double llGround(vector offset) 374 public double llGround(LSL_Types.Vector3 offset)
376 { 375 {
377 return m_LSL_Functions.llGround(offset); 376 return m_LSL_Functions.llGround(offset);
378 } 377 }
379 378
380 public double llCloud(vector offset) 379 public double llCloud(LSL_Types.Vector3 offset)
381 { 380 {
382 return m_LSL_Functions.llCloud(offset); 381 return m_LSL_Functions.llCloud(offset);
383 } 382 }
384 383
385 public vector llWind(vector offset) 384 public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset)
386 { 385 {
387 return m_LSL_Functions.llWind(offset); 386 return m_LSL_Functions.llWind(offset);
388 } 387 }
@@ -397,17 +396,17 @@ namespace OpenSim.Region.ScriptEngine.Common
397 return m_LSL_Functions.llGetStatus(status); 396 return m_LSL_Functions.llGetStatus(status);
398 } 397 }
399 398
400 public void llSetScale(vector scale) 399 public void llSetScale(LSL_Types.Vector3 scale)
401 { 400 {
402 m_LSL_Functions.llSetScale(scale); 401 m_LSL_Functions.llSetScale(scale);
403 } 402 }
404 403
405 public vector llGetScale() 404 public LSL_Types.Vector3 llGetScale()
406 { 405 {
407 return m_LSL_Functions.llGetScale(); 406 return m_LSL_Functions.llGetScale();
408 } 407 }
409 408
410 public void llSetColor(vector color, int face) 409 public void llSetColor(LSL_Types.Vector3 color, int face)
411 { 410 {
412 m_LSL_Functions.llSetColor(color, face); 411 m_LSL_Functions.llSetColor(color, face);
413 } 412 }
@@ -422,7 +421,7 @@ namespace OpenSim.Region.ScriptEngine.Common
422 m_LSL_Functions.llSetAlpha(alpha, face); 421 m_LSL_Functions.llSetAlpha(alpha, face);
423 } 422 }
424 423
425 public vector llGetColor(int face) 424 public LSL_Types.Vector3 llGetColor(int face)
426 { 425 {
427 return m_LSL_Functions.llGetColor(face); 426 return m_LSL_Functions.llGetColor(face);
428 } 427 }
@@ -455,47 +454,47 @@ namespace OpenSim.Region.ScriptEngine.Common
455 // 454 //
456 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 455 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
457 // 456 //
458 public void llSetPos(vector pos) 457 public void llSetPos(LSL_Types.Vector3 pos)
459 { 458 {
460 m_LSL_Functions.llSetPos(pos); 459 m_LSL_Functions.llSetPos(pos);
461 } 460 }
462 461
463 public vector llGetPos() 462 public LSL_Types.Vector3 llGetPos()
464 { 463 {
465 return m_LSL_Functions.llGetPos(); 464 return m_LSL_Functions.llGetPos();
466 } 465 }
467 466
468 public vector llGetLocalPos() 467 public LSL_Types.Vector3 llGetLocalPos()
469 { 468 {
470 return m_LSL_Functions.llGetLocalPos(); 469 return m_LSL_Functions.llGetLocalPos();
471 } 470 }
472 471
473 public void llSetRot(rotation rot) 472 public void llSetRot(LSL_Types.Quaternion rot)
474 { 473 {
475 m_LSL_Functions.llSetRot(rot); 474 m_LSL_Functions.llSetRot(rot);
476 } 475 }
477 476
478 public rotation llGetRot() 477 public LSL_Types.Quaternion llGetRot()
479 { 478 {
480 return m_LSL_Functions.llGetRot(); 479 return m_LSL_Functions.llGetRot();
481 } 480 }
482 481
483 public rotation llGetLocalRot() 482 public LSL_Types.Quaternion llGetLocalRot()
484 { 483 {
485 return m_LSL_Functions.llGetLocalRot(); 484 return m_LSL_Functions.llGetLocalRot();
486 } 485 }
487 486
488 public void llSetForce(vector force, int local) 487 public void llSetForce(LSL_Types.Vector3 force, int local)
489 { 488 {
490 m_LSL_Functions.llSetForce(force, local); 489 m_LSL_Functions.llSetForce(force, local);
491 } 490 }
492 491
493 public vector llGetForce() 492 public LSL_Types.Vector3 llGetForce()
494 { 493 {
495 return m_LSL_Functions.llGetForce(); 494 return m_LSL_Functions.llGetForce();
496 } 495 }
497 496
498 public int llTarget(vector position, double range) 497 public int llTarget(LSL_Types.Vector3 position, double range)
499 { 498 {
500 return m_LSL_Functions.llTarget(position, range); 499 return m_LSL_Functions.llTarget(position, range);
501 } 500 }
@@ -505,7 +504,7 @@ namespace OpenSim.Region.ScriptEngine.Common
505 m_LSL_Functions.llTargetRemove(number); 504 m_LSL_Functions.llTargetRemove(number);
506 } 505 }
507 506
508 public int llRotTarget(rotation rot, double error) 507 public int llRotTarget(LSL_Types.Quaternion rot, double error)
509 { 508 {
510 return m_LSL_Functions.llRotTarget(rot, error); 509 return m_LSL_Functions.llRotTarget(rot, error);
511 } 510 }
@@ -515,7 +514,7 @@ namespace OpenSim.Region.ScriptEngine.Common
515 m_LSL_Functions.llRotTargetRemove(number); 514 m_LSL_Functions.llRotTargetRemove(number);
516 } 515 }
517 516
518 public void llMoveToTarget(vector target, double tau) 517 public void llMoveToTarget(LSL_Types.Vector3 target, double tau)
519 { 518 {
520 m_LSL_Functions.llMoveToTarget(target, tau); 519 m_LSL_Functions.llMoveToTarget(target, tau);
521 } 520 }
@@ -525,7 +524,7 @@ namespace OpenSim.Region.ScriptEngine.Common
525 m_LSL_Functions.llStopMoveToTarget(); 524 m_LSL_Functions.llStopMoveToTarget();
526 } 525 }
527 526
528 public void llApplyImpulse(vector force, int local) 527 public void llApplyImpulse(LSL_Types.Vector3 force, int local)
529 { 528 {
530 m_LSL_Functions.llApplyImpulse(force, local); 529 m_LSL_Functions.llApplyImpulse(force, local);
531 } 530 }
@@ -533,37 +532,37 @@ namespace OpenSim.Region.ScriptEngine.Common
533 // 532 //
534 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 533 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
535 // 534 //
536 public void llApplyRotationalImpulse(vector force, int local) 535 public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local)
537 { 536 {
538 m_LSL_Functions.llApplyRotationalImpulse(force, local); 537 m_LSL_Functions.llApplyRotationalImpulse(force, local);
539 } 538 }
540 539
541 public void llSetTorque(vector torque, int local) 540 public void llSetTorque(LSL_Types.Vector3 torque, int local)
542 { 541 {
543 m_LSL_Functions.llSetTorque(torque, local); 542 m_LSL_Functions.llSetTorque(torque, local);
544 } 543 }
545 544
546 public vector llGetTorque() 545 public LSL_Types.Vector3 llGetTorque()
547 { 546 {
548 return m_LSL_Functions.llGetTorque(); 547 return m_LSL_Functions.llGetTorque();
549 } 548 }
550 549
551 public void llSetForceAndTorque(vector force, vector torque, int local) 550 public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local)
552 { 551 {
553 m_LSL_Functions.llSetForceAndTorque(force, torque, local); 552 m_LSL_Functions.llSetForceAndTorque(force, torque, local);
554 } 553 }
555 554
556 public vector llGetVel() 555 public LSL_Types.Vector3 llGetVel()
557 { 556 {
558 return m_LSL_Functions.llGetVel(); 557 return m_LSL_Functions.llGetVel();
559 } 558 }
560 559
561 public vector llGetAccel() 560 public LSL_Types.Vector3 llGetAccel()
562 { 561 {
563 return m_LSL_Functions.llGetAccel(); 562 return m_LSL_Functions.llGetAccel();
564 } 563 }
565 564
566 public vector llGetOmega() 565 public LSL_Types.Vector3 llGetOmega()
567 { 566 {
568 return m_LSL_Functions.llGetOmega(); 567 return m_LSL_Functions.llGetOmega();
569 } 568 }
@@ -691,12 +690,12 @@ namespace OpenSim.Region.ScriptEngine.Common
691 m_LSL_Functions.llMakeFire(); 690 m_LSL_Functions.llMakeFire();
692 } 691 }
693 692
694 public void llRezObject(string inventory, vector pos, rotation rot, int param) 693 public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param)
695 { 694 {
696 m_LSL_Functions.llRezObject(inventory, pos, rot, param); 695 m_LSL_Functions.llRezObject(inventory, pos, rot, param);
697 } 696 }
698 697
699 public void llLookAt(vector target, double strength, double damping) 698 public void llLookAt(LSL_Types.Vector3 target, double strength, double damping)
700 { 699 {
701 m_LSL_Functions.llLookAt(target, strength, damping); 700 m_LSL_Functions.llLookAt(target, strength, damping);
702 } 701 }
@@ -809,7 +808,7 @@ namespace OpenSim.Region.ScriptEngine.Common
809 m_LSL_Functions.llSoundPreload(); 808 m_LSL_Functions.llSoundPreload();
810 } 809 }
811 810
812 public void llRotLookAt(rotation target, double strength, double damping) 811 public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping)
813 { 812 {
814 m_LSL_Functions.llRotLookAt(target, strength, damping); 813 m_LSL_Functions.llRotLookAt(target, strength, damping);
815 } 814 }
@@ -842,7 +841,7 @@ namespace OpenSim.Region.ScriptEngine.Common
842 m_LSL_Functions.llStopPointAt(); 841 m_LSL_Functions.llStopPointAt();
843 } 842 }
844 843
845 public void llTargetOmega(vector axis, double spinrate, double gain) 844 public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain)
846 { 845 {
847 m_LSL_Functions.llTargetOmega(axis, spinrate, gain); 846 m_LSL_Functions.llTargetOmega(axis, spinrate, gain);
848 } 847 }
@@ -852,7 +851,7 @@ namespace OpenSim.Region.ScriptEngine.Common
852 return m_LSL_Functions.llGetStartParameter(); 851 return m_LSL_Functions.llGetStartParameter();
853 } 852 }
854 853
855 public void llGodLikeRezObject(string inventory, vector pos) 854 public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos)
856 { 855 {
857 m_LSL_Functions.llGodLikeRezObject(inventory, pos); 856 m_LSL_Functions.llGodLikeRezObject(inventory, pos);
858 } 857 }
@@ -877,7 +876,7 @@ namespace OpenSim.Region.ScriptEngine.Common
877 return m_LSL_Functions.llGetLinkNumber(); 876 return m_LSL_Functions.llGetLinkNumber();
878 } 877 }
879 878
880 public void llSetLinkColor(int linknumber, vector color, int face) 879 public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face)
881 { 880 {
882 m_LSL_Functions.llSetLinkColor(linknumber, color, face); 881 m_LSL_Functions.llSetLinkColor(linknumber, color, face);
883 } 882 }
@@ -940,12 +939,12 @@ namespace OpenSim.Region.ScriptEngine.Common
940 m_LSL_Functions.llRemoveInventory(item); 939 m_LSL_Functions.llRemoveInventory(item);
941 } 940 }
942 941
943 public void llSetText(string text, vector color, double alpha) 942 public void llSetText(string text, LSL_Types.Vector3 color, double alpha)
944 { 943 {
945 m_LSL_Functions.llSetText(text, color, alpha); 944 m_LSL_Functions.llSetText(text, color, alpha);
946 } 945 }
947 946
948 public double llWater(vector offset) 947 public double llWater(LSL_Types.Vector3 offset)
949 { 948 {
950 return m_LSL_Functions.llWater(offset); 949 return m_LSL_Functions.llWater(offset);
951 } 950 }
@@ -1005,7 +1004,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1005 m_LSL_Functions.llMessageLinked(linknum, num, str, id); 1004 m_LSL_Functions.llMessageLinked(linknum, num, str, id);
1006 } 1005 }
1007 1006
1008 public void llPushObject(string target, vector impulse, vector ang_impulse, int local) 1007 public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local)
1009 { 1008 {
1010 m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); 1009 m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local);
1011 } 1010 }
@@ -1028,12 +1027,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1028 // 1027 //
1029 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1028 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1030 // 1029 //
1031 public rotation llAxisAngle2Rot(vector axis, double angle) 1030 public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle)
1032 { 1031 {
1033 return m_LSL_Functions.llAxisAngle2Rot(axis, angle); 1032 return m_LSL_Functions.llAxisAngle2Rot(axis, angle);
1034 } 1033 }
1035 1034
1036 public vector llRot2Axis(rotation rot) 1035 public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot)
1037 { 1036 {
1038 return m_LSL_Functions.llRot2Axis(rot); 1037 return m_LSL_Functions.llRot2Axis(rot);
1039 } 1038 }
@@ -1053,7 +1052,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1053 return m_LSL_Functions.llAsin(val); 1052 return m_LSL_Functions.llAsin(val);
1054 } 1053 }
1055 1054
1056 public double llAngleBetween(rotation a, rotation b) 1055 public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b)
1057 { 1056 {
1058 return m_LSL_Functions.llAngleBetween(a, b); 1057 return m_LSL_Functions.llAngleBetween(a, b);
1059 } 1058 }
@@ -1068,17 +1067,17 @@ namespace OpenSim.Region.ScriptEngine.Common
1068 m_LSL_Functions.llAllowInventoryDrop(add); 1067 m_LSL_Functions.llAllowInventoryDrop(add);
1069 } 1068 }
1070 1069
1071 public vector llGetSunDirection() 1070 public LSL_Types.Vector3 llGetSunDirection()
1072 { 1071 {
1073 return m_LSL_Functions.llGetSunDirection(); 1072 return m_LSL_Functions.llGetSunDirection();
1074 } 1073 }
1075 1074
1076 public vector llGetTextureOffset(int face) 1075 public LSL_Types.Vector3 llGetTextureOffset(int face)
1077 { 1076 {
1078 return m_LSL_Functions.llGetTextureOffset(face); 1077 return m_LSL_Functions.llGetTextureOffset(face);
1079 } 1078 }
1080 1079
1081 public vector llGetTextureScale(int side) 1080 public LSL_Types.Vector3 llGetTextureScale(int side)
1082 { 1081 {
1083 return m_LSL_Functions.llGetTextureScale(side); 1082 return m_LSL_Functions.llGetTextureScale(side);
1084 } 1083 }
@@ -1098,7 +1097,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1098 return m_LSL_Functions.llGetOwnerKey(id); 1097 return m_LSL_Functions.llGetOwnerKey(id);
1099 } 1098 }
1100 1099
1101 public vector llGetCenterOfMass() 1100 public LSL_Types.Vector3 llGetCenterOfMass()
1102 { 1101 {
1103 return m_LSL_Functions.llGetCenterOfMass(); 1102 return m_LSL_Functions.llGetCenterOfMass();
1104 } 1103 }
@@ -1136,12 +1135,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1136 return m_LSL_Functions.llList2Key(src, index); 1135 return m_LSL_Functions.llList2Key(src, index);
1137 } 1136 }
1138 1137
1139 public vector llList2Vector(LSL_Types.list src, int index) 1138 public LSL_Types.Vector3 llList2Vector(LSL_Types.list src, int index)
1140 { 1139 {
1141 return m_LSL_Functions.llList2Vector(src, index); 1140 return m_LSL_Functions.llList2Vector(src, index);
1142 } 1141 }
1143 1142
1144 public rotation llList2Rot(LSL_Types.list src, int index) 1143 public LSL_Types.Quaternion llList2Rot(LSL_Types.list src, int index)
1145 { 1144 {
1146 return m_LSL_Functions.llList2Rot(src, index); 1145 return m_LSL_Functions.llList2Rot(src, index);
1147 } 1146 }
@@ -1181,7 +1180,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1181 return m_LSL_Functions.llList2ListStrided(src, start, end, stride); 1180 return m_LSL_Functions.llList2ListStrided(src, start, end, stride);
1182 } 1181 }
1183 1182
1184 public vector llGetRegionCorner() 1183 public LSL_Types.Vector3 llGetRegionCorner()
1185 { 1184 {
1186 return m_LSL_Functions.llGetRegionCorner(); 1185 return m_LSL_Functions.llGetRegionCorner();
1187 } 1186 }
@@ -1211,7 +1210,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1211 return m_LSL_Functions.llGetDate(); 1210 return m_LSL_Functions.llGetDate();
1212 } 1211 }
1213 1212
1214 public int llEdgeOfWorld(vector pos, vector dir) 1213 public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir)
1215 { 1214 {
1216 return m_LSL_Functions.llEdgeOfWorld(pos, dir); 1215 return m_LSL_Functions.llEdgeOfWorld(pos, dir);
1217 } 1216 }
@@ -1249,7 +1248,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1249 m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); 1248 m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate);
1250 } 1249 }
1251 1250
1252 public void llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) 1251 public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west)
1253 { 1252 {
1254 m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); 1253 m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west);
1255 } 1254 }
@@ -1269,7 +1268,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1269 return m_LSL_Functions.llOverMyLand(id); 1268 return m_LSL_Functions.llOverMyLand(id);
1270 } 1269 }
1271 1270
1272 public string llGetLandOwnerAt(vector pos) 1271 public string llGetLandOwnerAt(LSL_Types.Vector3 pos)
1273 { 1272 {
1274 return m_LSL_Functions.llGetLandOwnerAt(pos); 1273 return m_LSL_Functions.llGetLandOwnerAt(pos);
1275 } 1274 }
@@ -1279,7 +1278,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1279 return m_LSL_Functions.llGetNotecardLine(name, line); 1278 return m_LSL_Functions.llGetNotecardLine(name, line);
1280 } 1279 }
1281 1280
1282 public vector llGetAgentSize(string id) 1281 public LSL_Types.Vector3 llGetAgentSize(string id)
1283 { 1282 {
1284 return m_LSL_Functions.llGetAgentSize(id); 1283 return m_LSL_Functions.llGetAgentSize(id);
1285 } 1284 }
@@ -1294,17 +1293,17 @@ namespace OpenSim.Region.ScriptEngine.Common
1294 m_LSL_Functions.llUnSit(id); 1293 m_LSL_Functions.llUnSit(id);
1295 } 1294 }
1296 1295
1297 public vector llGroundSlope(vector offset) 1296 public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset)
1298 { 1297 {
1299 return m_LSL_Functions.llGroundSlope(offset); 1298 return m_LSL_Functions.llGroundSlope(offset);
1300 } 1299 }
1301 1300
1302 public vector llGroundNormal(vector offset) 1301 public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset)
1303 { 1302 {
1304 return m_LSL_Functions.llGroundNormal(offset); 1303 return m_LSL_Functions.llGroundNormal(offset);
1305 } 1304 }
1306 1305
1307 public vector llGroundContour(vector offset) 1306 public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset)
1308 { 1307 {
1309 return m_LSL_Functions.llGroundContour(offset); 1308 return m_LSL_Functions.llGroundContour(offset);
1310 } 1309 }
@@ -1362,12 +1361,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1362 m_LSL_Functions.llSetVehicledoubleParam(param, value); 1361 m_LSL_Functions.llSetVehicledoubleParam(param, value);
1363 } 1362 }
1364 1363
1365 public void llSetVehicleVectorParam(int param, vector vec) 1364 public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec)
1366 { 1365 {
1367 m_LSL_Functions.llSetVehicleVectorParam(param, vec); 1366 m_LSL_Functions.llSetVehicleVectorParam(param, vec);
1368 } 1367 }
1369 1368
1370 public void llSetVehicleRotationParam(int param, rotation rot) 1369 public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot)
1371 { 1370 {
1372 m_LSL_Functions.llSetVehicleRotationParam(param, rot); 1371 m_LSL_Functions.llSetVehicleRotationParam(param, rot);
1373 } 1372 }
@@ -1382,7 +1381,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1382 m_LSL_Functions.llRemoveVehicleFlags(flags); 1381 m_LSL_Functions.llRemoveVehicleFlags(flags);
1383 } 1382 }
1384 1383
1385 public void llSitTarget(vector offset, rotation rot) 1384 public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot)
1386 { 1385 {
1387 m_LSL_Functions.llSitTarget(offset, rot); 1386 m_LSL_Functions.llSitTarget(offset, rot);
1388 } 1387 }
@@ -1407,12 +1406,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1407 m_LSL_Functions.llSetSitText(text); 1406 m_LSL_Functions.llSetSitText(text);
1408 } 1407 }
1409 1408
1410 public void llSetCameraEyeOffset(vector offset) 1409 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset)
1411 { 1410 {
1412 m_LSL_Functions.llSetCameraEyeOffset(offset); 1411 m_LSL_Functions.llSetCameraEyeOffset(offset);
1413 } 1412 }
1414 1413
1415 public void llSetCameraAtOffset(vector offset) 1414 public void llSetCameraAtOffset(LSL_Types.Vector3 offset)
1416 { 1415 {
1417 m_LSL_Functions.llSetCameraAtOffset(offset); 1416 m_LSL_Functions.llSetCameraAtOffset(offset);
1418 } 1417 }
@@ -1422,7 +1421,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1422 return m_LSL_Functions.llDumpList2String(src, seperator); 1421 return m_LSL_Functions.llDumpList2String(src, seperator);
1423 } 1422 }
1424 1423
1425 public void llScriptDanger(vector pos) 1424 public void llScriptDanger(LSL_Types.Vector3 pos)
1426 { 1425 {
1427 m_LSL_Functions.llScriptDanger(pos); 1426 m_LSL_Functions.llScriptDanger(pos);
1428 } 1427 }
@@ -1539,12 +1538,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1539 m_LSL_Functions.llSetParcelMusicURL(url); 1538 m_LSL_Functions.llSetParcelMusicURL(url);
1540 } 1539 }
1541 1540
1542 public vector llGetRootPosition() 1541 public LSL_Types.Vector3 llGetRootPosition()
1543 { 1542 {
1544 return m_LSL_Functions.llGetRootPosition(); 1543 return m_LSL_Functions.llGetRootPosition();
1545 } 1544 }
1546 1545
1547 public rotation llGetRootRotation() 1546 public LSL_Types.Quaternion llGetRootRotation()
1548 { 1547 {
1549 return m_LSL_Functions.llGetRootRotation(); 1548 return m_LSL_Functions.llGetRootRotation();
1550 } 1549 }
@@ -1589,7 +1588,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1589 return m_LSL_Functions.llGetBoundingBox(obj); 1588 return m_LSL_Functions.llGetBoundingBox(obj);
1590 } 1589 }
1591 1590
1592 public vector llGetGeometricCenter() 1591 public LSL_Types.Vector3 llGetGeometricCenter()
1593 { 1592 {
1594 return m_LSL_Functions.llGetGeometricCenter(); 1593 return m_LSL_Functions.llGetGeometricCenter();
1595 } 1594 }
@@ -1622,7 +1621,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1622 return m_LSL_Functions.llGetSimulatorHostname(); 1621 return m_LSL_Functions.llGetSimulatorHostname();
1623 } 1622 }
1624 1623
1625 public void llSetLocalRot(rotation rot) 1624 public void llSetLocalRot(LSL_Types.Quaternion rot)
1626 { 1625 {
1627 m_LSL_Functions.llSetLocalRot(rot); 1626 m_LSL_Functions.llSetLocalRot(rot);
1628 } 1627 }
@@ -1632,7 +1631,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1632 return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); 1631 return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers);
1633 } 1632 }
1634 1633
1635 public void llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, int param) 1634 public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param)
1636 { 1635 {
1637 m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); 1636 m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param);
1638 } 1637 }
@@ -1720,12 +1719,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1720 m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); 1719 m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons);
1721 } 1720 }
1722 1721
1723 public vector llGetCameraPos() 1722 public LSL_Types.Vector3 llGetCameraPos()
1724 { 1723 {
1725 return m_LSL_Functions.llGetCameraPos(); 1724 return m_LSL_Functions.llGetCameraPos();
1726 } 1725 }
1727 1726
1728 public rotation llGetCameraRot() 1727 public LSL_Types.Quaternion llGetCameraRot()
1729 { 1728 {
1730 return m_LSL_Functions.llGetCameraRot(); 1729 return m_LSL_Functions.llGetCameraRot();
1731 } 1730 }
@@ -1750,7 +1749,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1750 return m_LSL_Functions.llUnescapeURL(url); 1749 return m_LSL_Functions.llUnescapeURL(url);
1751 } 1750 }
1752 1751
1753 public void llMapDestination(string simname, vector pos, vector look_at) 1752 public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at)
1754 { 1753 {
1755 m_LSL_Functions.llMapDestination(simname, pos, look_at); 1754 m_LSL_Functions.llMapDestination(simname, pos, look_at);
1756 } 1755 }
@@ -1790,7 +1789,7 @@ namespace OpenSim.Region.ScriptEngine.Common
1790 return m_LSL_Functions.llGetUnixTime(); 1789 return m_LSL_Functions.llGetUnixTime();
1791 } 1790 }
1792 1791
1793 public int llGetParcelFlags(vector pos) 1792 public int llGetParcelFlags(LSL_Types.Vector3 pos)
1794 { 1793 {
1795 return m_LSL_Functions.llGetParcelFlags(pos); 1794 return m_LSL_Functions.llGetParcelFlags(pos);
1796 } 1795 }
@@ -1820,12 +1819,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1820 m_LSL_Functions.llResetLandPassList(); 1819 m_LSL_Functions.llResetLandPassList();
1821 } 1820 }
1822 1821
1823 public int llGetParcelPrimCount(vector pos, int category, int sim_wide) 1822 public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide)
1824 { 1823 {
1825 return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); 1824 return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide);
1826 } 1825 }
1827 1826
1828 public LSL_Types.list llGetParcelPrimOwners(vector pos) 1827 public LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos)
1829 { 1828 {
1830 return m_LSL_Functions.llGetParcelPrimOwners(pos); 1829 return m_LSL_Functions.llGetParcelPrimOwners(pos);
1831 } 1830 }
@@ -1838,12 +1837,12 @@ namespace OpenSim.Region.ScriptEngine.Common
1838 // 1837 //
1839 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs 1838 // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs
1840 // 1839 //
1841 public int llGetParcelMaxPrims(vector pos, int sim_wide) 1840 public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide)
1842 { 1841 {
1843 return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); 1842 return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide);
1844 } 1843 }
1845 1844
1846 public LSL_Types.list llGetParcelDetails(vector pos, LSL_Types.list param) 1845 public LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param)
1847 { 1846 {
1848 return m_LSL_Functions.llGetParcelDetails(pos, param); 1847 return m_LSL_Functions.llGetParcelDetails(pos, param);
1849 } 1848 }
@@ -2381,7 +2380,7 @@ namespace OpenSim.Region.ScriptEngine.Common
2381 public const int OBJECT_CREATOR = 8; 2380 public const int OBJECT_CREATOR = 8;
2382 2381
2383 // Can not be public const? 2382 // Can not be public const?
2384 public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); 2383 public LSL_Types.Vector3 ZERO_VECTOR = new LSL_Types.Vector3(0.0, 0.0, 0.0);
2385 public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); 2384 public LSL_Types.Quaternion ZERO_ROTATION = new LSL_Types.Quaternion(0.0, 0, 0.0, 1.0);
2386 } 2385 }
2387} 2386}