diff options
author | Adam Frisby | 2008-05-01 15:36:39 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 15:36:39 +0000 |
commit | a1c8aa4050b7f7a94e02dd40d8cd456f258b4e2b (patch) | |
tree | a71b99297fa2b57f7c53492fe18f48b3d3ad8827 /OpenSim/Region/ScriptEngine/Common | |
parent | Moving LaunchSLClient source files so build works (2/2) (diff) | |
download | opensim-SC-a1c8aa4050b7f7a94e02dd40d8cd456f258b4e2b.zip opensim-SC-a1c8aa4050b7f7a94e02dd40d8cd456f258b4e2b.tar.gz opensim-SC-a1c8aa4050b7f7a94e02dd40d8cd456f258b4e2b.tar.bz2 opensim-SC-a1c8aa4050b7f7a94e02dd40d8cd456f258b4e2b.tar.xz |
* Cleaned namespaces of entire solution. OpenSim directories now correspond with namespaces.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 176 |
1 files changed, 88 insertions, 88 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 95acd23..9b541c5 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -217,52 +217,52 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
217 | return m_LSL_Functions.llRound(f); | 217 | return m_LSL_Functions.llRound(f); |
218 | } | 218 | } |
219 | 219 | ||
220 | public double llVecMag(LSL_Types.Vector3 v) | 220 | public double llVecMag(vector v) |
221 | { | 221 | { |
222 | return m_LSL_Functions.llVecMag(v); | 222 | return m_LSL_Functions.llVecMag(v); |
223 | } | 223 | } |
224 | 224 | ||
225 | public LSL_Types.Vector3 llVecNorm(LSL_Types.Vector3 v) | 225 | public vector llVecNorm(vector v) |
226 | { | 226 | { |
227 | return m_LSL_Functions.llVecNorm(v); | 227 | return m_LSL_Functions.llVecNorm(v); |
228 | } | 228 | } |
229 | 229 | ||
230 | public double llVecDist(LSL_Types.Vector3 a, LSL_Types.Vector3 b) | 230 | public double llVecDist(vector a, vector b) |
231 | { | 231 | { |
232 | return m_LSL_Functions.llVecDist(a, b); | 232 | return m_LSL_Functions.llVecDist(a, b); |
233 | } | 233 | } |
234 | 234 | ||
235 | public LSL_Types.Vector3 llRot2Euler(LSL_Types.Quaternion r) | 235 | public vector llRot2Euler(rotation r) |
236 | { | 236 | { |
237 | return m_LSL_Functions.llRot2Euler(r); | 237 | return m_LSL_Functions.llRot2Euler(r); |
238 | } | 238 | } |
239 | 239 | ||
240 | public LSL_Types.Quaternion llEuler2Rot(LSL_Types.Vector3 v) | 240 | public rotation llEuler2Rot(vector v) |
241 | { | 241 | { |
242 | return m_LSL_Functions.llEuler2Rot(v); | 242 | return m_LSL_Functions.llEuler2Rot(v); |
243 | } | 243 | } |
244 | 244 | ||
245 | public LSL_Types.Quaternion llAxes2Rot(LSL_Types.Vector3 fwd, LSL_Types.Vector3 left, LSL_Types.Vector3 up) | 245 | public rotation llAxes2Rot(vector fwd, vector left, vector up) |
246 | { | 246 | { |
247 | return m_LSL_Functions.llAxes2Rot(fwd, left, up); | 247 | return m_LSL_Functions.llAxes2Rot(fwd, left, up); |
248 | } | 248 | } |
249 | 249 | ||
250 | public LSL_Types.Vector3 llRot2Fwd(LSL_Types.Quaternion r) | 250 | public vector llRot2Fwd(rotation r) |
251 | { | 251 | { |
252 | return m_LSL_Functions.llRot2Fwd(r); | 252 | return m_LSL_Functions.llRot2Fwd(r); |
253 | } | 253 | } |
254 | 254 | ||
255 | public LSL_Types.Vector3 llRot2Left(LSL_Types.Quaternion r) | 255 | public vector llRot2Left(rotation r) |
256 | { | 256 | { |
257 | return m_LSL_Functions.llRot2Left(r); | 257 | return m_LSL_Functions.llRot2Left(r); |
258 | } | 258 | } |
259 | 259 | ||
260 | public LSL_Types.Vector3 llRot2Up(LSL_Types.Quaternion r) | 260 | public vector llRot2Up(rotation r) |
261 | { | 261 | { |
262 | return m_LSL_Functions.llRot2Up(r); | 262 | return m_LSL_Functions.llRot2Up(r); |
263 | } | 263 | } |
264 | 264 | ||
265 | public LSL_Types.Quaternion llRotBetween(LSL_Types.Vector3 start, LSL_Types.Vector3 end) | 265 | public rotation llRotBetween(vector start, vector end) |
266 | { | 266 | { |
267 | return m_LSL_Functions.llRotBetween(start, end); | 267 | return m_LSL_Functions.llRotBetween(start, end); |
268 | } | 268 | } |
@@ -340,22 +340,22 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
340 | return m_LSL_Functions.llDetectedType(number); | 340 | return m_LSL_Functions.llDetectedType(number); |
341 | } | 341 | } |
342 | 342 | ||
343 | public LSL_Types.Vector3 llDetectedPos(int number) | 343 | public vector llDetectedPos(int number) |
344 | { | 344 | { |
345 | return m_LSL_Functions.llDetectedPos(number); | 345 | return m_LSL_Functions.llDetectedPos(number); |
346 | } | 346 | } |
347 | 347 | ||
348 | public LSL_Types.Vector3 llDetectedVel(int number) | 348 | public vector llDetectedVel(int number) |
349 | { | 349 | { |
350 | return m_LSL_Functions.llDetectedVel(number); | 350 | return m_LSL_Functions.llDetectedVel(number); |
351 | } | 351 | } |
352 | 352 | ||
353 | public LSL_Types.Vector3 llDetectedGrab(int number) | 353 | public vector llDetectedGrab(int number) |
354 | { | 354 | { |
355 | return m_LSL_Functions.llDetectedGrab(number); | 355 | return m_LSL_Functions.llDetectedGrab(number); |
356 | } | 356 | } |
357 | 357 | ||
358 | public LSL_Types.Quaternion llDetectedRot(int number) | 358 | public rotation llDetectedRot(int number) |
359 | { | 359 | { |
360 | return m_LSL_Functions.llDetectedRot(number); | 360 | return m_LSL_Functions.llDetectedRot(number); |
361 | } | 361 | } |
@@ -378,17 +378,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
378 | m_LSL_Functions.llDie(); | 378 | m_LSL_Functions.llDie(); |
379 | } | 379 | } |
380 | 380 | ||
381 | public double llGround(LSL_Types.Vector3 offset) | 381 | public double llGround(vector offset) |
382 | { | 382 | { |
383 | return m_LSL_Functions.llGround(offset); | 383 | return m_LSL_Functions.llGround(offset); |
384 | } | 384 | } |
385 | 385 | ||
386 | public double llCloud(LSL_Types.Vector3 offset) | 386 | public double llCloud(vector offset) |
387 | { | 387 | { |
388 | return m_LSL_Functions.llCloud(offset); | 388 | return m_LSL_Functions.llCloud(offset); |
389 | } | 389 | } |
390 | 390 | ||
391 | public LSL_Types.Vector3 llWind(LSL_Types.Vector3 offset) | 391 | public vector llWind(vector offset) |
392 | { | 392 | { |
393 | return m_LSL_Functions.llWind(offset); | 393 | return m_LSL_Functions.llWind(offset); |
394 | } | 394 | } |
@@ -403,17 +403,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
403 | return m_LSL_Functions.llGetStatus(status); | 403 | return m_LSL_Functions.llGetStatus(status); |
404 | } | 404 | } |
405 | 405 | ||
406 | public void llSetScale(LSL_Types.Vector3 scale) | 406 | public void llSetScale(vector scale) |
407 | { | 407 | { |
408 | m_LSL_Functions.llSetScale(scale); | 408 | m_LSL_Functions.llSetScale(scale); |
409 | } | 409 | } |
410 | 410 | ||
411 | public LSL_Types.Vector3 llGetScale() | 411 | public vector llGetScale() |
412 | { | 412 | { |
413 | return m_LSL_Functions.llGetScale(); | 413 | return m_LSL_Functions.llGetScale(); |
414 | } | 414 | } |
415 | 415 | ||
416 | public void llSetColor(LSL_Types.Vector3 color, int face) | 416 | public void llSetColor(vector color, int face) |
417 | { | 417 | { |
418 | m_LSL_Functions.llSetColor(color, face); | 418 | m_LSL_Functions.llSetColor(color, face); |
419 | } | 419 | } |
@@ -428,7 +428,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
428 | m_LSL_Functions.llSetAlpha(alpha, face); | 428 | m_LSL_Functions.llSetAlpha(alpha, face); |
429 | } | 429 | } |
430 | 430 | ||
431 | public LSL_Types.Vector3 llGetColor(int face) | 431 | public vector llGetColor(int face) |
432 | { | 432 | { |
433 | return m_LSL_Functions.llGetColor(face); | 433 | return m_LSL_Functions.llGetColor(face); |
434 | } | 434 | } |
@@ -461,47 +461,47 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
461 | // | 461 | // |
462 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 462 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
463 | // | 463 | // |
464 | public void llSetPos(LSL_Types.Vector3 pos) | 464 | public void llSetPos(vector pos) |
465 | { | 465 | { |
466 | m_LSL_Functions.llSetPos(pos); | 466 | m_LSL_Functions.llSetPos(pos); |
467 | } | 467 | } |
468 | 468 | ||
469 | public LSL_Types.Vector3 llGetPos() | 469 | public vector llGetPos() |
470 | { | 470 | { |
471 | return m_LSL_Functions.llGetPos(); | 471 | return m_LSL_Functions.llGetPos(); |
472 | } | 472 | } |
473 | 473 | ||
474 | public LSL_Types.Vector3 llGetLocalPos() | 474 | public vector llGetLocalPos() |
475 | { | 475 | { |
476 | return m_LSL_Functions.llGetLocalPos(); | 476 | return m_LSL_Functions.llGetLocalPos(); |
477 | } | 477 | } |
478 | 478 | ||
479 | public void llSetRot(LSL_Types.Quaternion rot) | 479 | public void llSetRot(rotation rot) |
480 | { | 480 | { |
481 | m_LSL_Functions.llSetRot(rot); | 481 | m_LSL_Functions.llSetRot(rot); |
482 | } | 482 | } |
483 | 483 | ||
484 | public LSL_Types.Quaternion llGetRot() | 484 | public rotation llGetRot() |
485 | { | 485 | { |
486 | return m_LSL_Functions.llGetRot(); | 486 | return m_LSL_Functions.llGetRot(); |
487 | } | 487 | } |
488 | 488 | ||
489 | public LSL_Types.Quaternion llGetLocalRot() | 489 | public rotation llGetLocalRot() |
490 | { | 490 | { |
491 | return m_LSL_Functions.llGetLocalRot(); | 491 | return m_LSL_Functions.llGetLocalRot(); |
492 | } | 492 | } |
493 | 493 | ||
494 | public void llSetForce(LSL_Types.Vector3 force, int local) | 494 | public void llSetForce(vector force, int local) |
495 | { | 495 | { |
496 | m_LSL_Functions.llSetForce(force, local); | 496 | m_LSL_Functions.llSetForce(force, local); |
497 | } | 497 | } |
498 | 498 | ||
499 | public LSL_Types.Vector3 llGetForce() | 499 | public vector llGetForce() |
500 | { | 500 | { |
501 | return m_LSL_Functions.llGetForce(); | 501 | return m_LSL_Functions.llGetForce(); |
502 | } | 502 | } |
503 | 503 | ||
504 | public int llTarget(LSL_Types.Vector3 position, double range) | 504 | public int llTarget(vector position, double range) |
505 | { | 505 | { |
506 | return m_LSL_Functions.llTarget(position, range); | 506 | return m_LSL_Functions.llTarget(position, range); |
507 | } | 507 | } |
@@ -511,7 +511,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
511 | m_LSL_Functions.llTargetRemove(number); | 511 | m_LSL_Functions.llTargetRemove(number); |
512 | } | 512 | } |
513 | 513 | ||
514 | public int llRotTarget(LSL_Types.Quaternion rot, double error) | 514 | public int llRotTarget(rotation rot, double error) |
515 | { | 515 | { |
516 | return m_LSL_Functions.llRotTarget(rot, error); | 516 | return m_LSL_Functions.llRotTarget(rot, error); |
517 | } | 517 | } |
@@ -521,7 +521,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
521 | m_LSL_Functions.llRotTargetRemove(number); | 521 | m_LSL_Functions.llRotTargetRemove(number); |
522 | } | 522 | } |
523 | 523 | ||
524 | public void llMoveToTarget(LSL_Types.Vector3 target, double tau) | 524 | public void llMoveToTarget(vector target, double tau) |
525 | { | 525 | { |
526 | m_LSL_Functions.llMoveToTarget(target, tau); | 526 | m_LSL_Functions.llMoveToTarget(target, tau); |
527 | } | 527 | } |
@@ -531,7 +531,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
531 | m_LSL_Functions.llStopMoveToTarget(); | 531 | m_LSL_Functions.llStopMoveToTarget(); |
532 | } | 532 | } |
533 | 533 | ||
534 | public void llApplyImpulse(LSL_Types.Vector3 force, int local) | 534 | public void llApplyImpulse(vector force, int local) |
535 | { | 535 | { |
536 | m_LSL_Functions.llApplyImpulse(force, local); | 536 | m_LSL_Functions.llApplyImpulse(force, local); |
537 | } | 537 | } |
@@ -539,37 +539,37 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
539 | // | 539 | // |
540 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 540 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
541 | // | 541 | // |
542 | public void llApplyRotationalImpulse(LSL_Types.Vector3 force, int local) | 542 | public void llApplyRotationalImpulse(vector force, int local) |
543 | { | 543 | { |
544 | m_LSL_Functions.llApplyRotationalImpulse(force, local); | 544 | m_LSL_Functions.llApplyRotationalImpulse(force, local); |
545 | } | 545 | } |
546 | 546 | ||
547 | public void llSetTorque(LSL_Types.Vector3 torque, int local) | 547 | public void llSetTorque(vector torque, int local) |
548 | { | 548 | { |
549 | m_LSL_Functions.llSetTorque(torque, local); | 549 | m_LSL_Functions.llSetTorque(torque, local); |
550 | } | 550 | } |
551 | 551 | ||
552 | public LSL_Types.Vector3 llGetTorque() | 552 | public vector llGetTorque() |
553 | { | 553 | { |
554 | return m_LSL_Functions.llGetTorque(); | 554 | return m_LSL_Functions.llGetTorque(); |
555 | } | 555 | } |
556 | 556 | ||
557 | public void llSetForceAndTorque(LSL_Types.Vector3 force, LSL_Types.Vector3 torque, int local) | 557 | public void llSetForceAndTorque(vector force, vector torque, int local) |
558 | { | 558 | { |
559 | m_LSL_Functions.llSetForceAndTorque(force, torque, local); | 559 | m_LSL_Functions.llSetForceAndTorque(force, torque, local); |
560 | } | 560 | } |
561 | 561 | ||
562 | public LSL_Types.Vector3 llGetVel() | 562 | public vector llGetVel() |
563 | { | 563 | { |
564 | return m_LSL_Functions.llGetVel(); | 564 | return m_LSL_Functions.llGetVel(); |
565 | } | 565 | } |
566 | 566 | ||
567 | public LSL_Types.Vector3 llGetAccel() | 567 | public vector llGetAccel() |
568 | { | 568 | { |
569 | return m_LSL_Functions.llGetAccel(); | 569 | return m_LSL_Functions.llGetAccel(); |
570 | } | 570 | } |
571 | 571 | ||
572 | public LSL_Types.Vector3 llGetOmega() | 572 | public vector llGetOmega() |
573 | { | 573 | { |
574 | return m_LSL_Functions.llGetOmega(); | 574 | return m_LSL_Functions.llGetOmega(); |
575 | } | 575 | } |
@@ -697,12 +697,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
697 | m_LSL_Functions.llMakeFire(); | 697 | m_LSL_Functions.llMakeFire(); |
698 | } | 698 | } |
699 | 699 | ||
700 | public void llRezObject(string inventory, LSL_Types.Vector3 pos, LSL_Types.Quaternion rot, int param) | 700 | public void llRezObject(string inventory, vector pos, rotation rot, int param) |
701 | { | 701 | { |
702 | m_LSL_Functions.llRezObject(inventory, pos, rot, param); | 702 | m_LSL_Functions.llRezObject(inventory, pos, rot, param); |
703 | } | 703 | } |
704 | 704 | ||
705 | public void llLookAt(LSL_Types.Vector3 target, double strength, double damping) | 705 | public void llLookAt(vector target, double strength, double damping) |
706 | { | 706 | { |
707 | m_LSL_Functions.llLookAt(target, strength, damping); | 707 | m_LSL_Functions.llLookAt(target, strength, damping); |
708 | } | 708 | } |
@@ -815,7 +815,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
815 | m_LSL_Functions.llSoundPreload(); | 815 | m_LSL_Functions.llSoundPreload(); |
816 | } | 816 | } |
817 | 817 | ||
818 | public void llRotLookAt(LSL_Types.Quaternion target, double strength, double damping) | 818 | public void llRotLookAt(rotation target, double strength, double damping) |
819 | { | 819 | { |
820 | m_LSL_Functions.llRotLookAt(target, strength, damping); | 820 | m_LSL_Functions.llRotLookAt(target, strength, damping); |
821 | } | 821 | } |
@@ -848,7 +848,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
848 | m_LSL_Functions.llStopPointAt(); | 848 | m_LSL_Functions.llStopPointAt(); |
849 | } | 849 | } |
850 | 850 | ||
851 | public void llTargetOmega(LSL_Types.Vector3 axis, double spinrate, double gain) | 851 | public void llTargetOmega(vector axis, double spinrate, double gain) |
852 | { | 852 | { |
853 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); | 853 | m_LSL_Functions.llTargetOmega(axis, spinrate, gain); |
854 | } | 854 | } |
@@ -858,7 +858,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
858 | return m_LSL_Functions.llGetStartParameter(); | 858 | return m_LSL_Functions.llGetStartParameter(); |
859 | } | 859 | } |
860 | 860 | ||
861 | public void llGodLikeRezObject(string inventory, LSL_Types.Vector3 pos) | 861 | public void llGodLikeRezObject(string inventory, vector pos) |
862 | { | 862 | { |
863 | m_LSL_Functions.llGodLikeRezObject(inventory, pos); | 863 | m_LSL_Functions.llGodLikeRezObject(inventory, pos); |
864 | } | 864 | } |
@@ -883,7 +883,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
883 | return m_LSL_Functions.llGetLinkNumber(); | 883 | return m_LSL_Functions.llGetLinkNumber(); |
884 | } | 884 | } |
885 | 885 | ||
886 | public void llSetLinkColor(int linknumber, LSL_Types.Vector3 color, int face) | 886 | public void llSetLinkColor(int linknumber, vector color, int face) |
887 | { | 887 | { |
888 | m_LSL_Functions.llSetLinkColor(linknumber, color, face); | 888 | m_LSL_Functions.llSetLinkColor(linknumber, color, face); |
889 | } | 889 | } |
@@ -946,12 +946,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
946 | m_LSL_Functions.llRemoveInventory(item); | 946 | m_LSL_Functions.llRemoveInventory(item); |
947 | } | 947 | } |
948 | 948 | ||
949 | public void llSetText(string text, LSL_Types.Vector3 color, double alpha) | 949 | public void llSetText(string text, vector color, double alpha) |
950 | { | 950 | { |
951 | m_LSL_Functions.llSetText(text, color, alpha); | 951 | m_LSL_Functions.llSetText(text, color, alpha); |
952 | } | 952 | } |
953 | 953 | ||
954 | public double llWater(LSL_Types.Vector3 offset) | 954 | public double llWater(vector offset) |
955 | { | 955 | { |
956 | return m_LSL_Functions.llWater(offset); | 956 | return m_LSL_Functions.llWater(offset); |
957 | } | 957 | } |
@@ -1011,7 +1011,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1011 | m_LSL_Functions.llMessageLinked(linknum, num, str, id); | 1011 | m_LSL_Functions.llMessageLinked(linknum, num, str, id); |
1012 | } | 1012 | } |
1013 | 1013 | ||
1014 | public void llPushObject(string target, LSL_Types.Vector3 impulse, LSL_Types.Vector3 ang_impulse, int local) | 1014 | public void llPushObject(string target, vector impulse, vector ang_impulse, int local) |
1015 | { | 1015 | { |
1016 | m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); | 1016 | m_LSL_Functions.llPushObject(target, impulse, ang_impulse, local); |
1017 | } | 1017 | } |
@@ -1034,17 +1034,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1034 | // | 1034 | // |
1035 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1035 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1036 | // | 1036 | // |
1037 | public LSL_Types.Quaternion llAxisAngle2Rot(LSL_Types.Vector3 axis, double angle) | 1037 | public rotation llAxisAngle2Rot(vector axis, double angle) |
1038 | { | 1038 | { |
1039 | return m_LSL_Functions.llAxisAngle2Rot(axis, angle); | 1039 | return m_LSL_Functions.llAxisAngle2Rot(axis, angle); |
1040 | } | 1040 | } |
1041 | 1041 | ||
1042 | public LSL_Types.Vector3 llRot2Axis(LSL_Types.Quaternion rot) | 1042 | public vector llRot2Axis(rotation rot) |
1043 | { | 1043 | { |
1044 | return m_LSL_Functions.llRot2Axis(rot); | 1044 | return m_LSL_Functions.llRot2Axis(rot); |
1045 | } | 1045 | } |
1046 | 1046 | ||
1047 | public double llRot2Angle(LSL_Types.Quaternion rot) | 1047 | public double llRot2Angle(rotation rot) |
1048 | { | 1048 | { |
1049 | return m_LSL_Functions.llRot2Angle(rot); | 1049 | return m_LSL_Functions.llRot2Angle(rot); |
1050 | } | 1050 | } |
@@ -1059,7 +1059,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1059 | return m_LSL_Functions.llAsin(val); | 1059 | return m_LSL_Functions.llAsin(val); |
1060 | } | 1060 | } |
1061 | 1061 | ||
1062 | public double llAngleBetween(LSL_Types.Quaternion a, LSL_Types.Quaternion b) | 1062 | public double llAngleBetween(rotation a, rotation b) |
1063 | { | 1063 | { |
1064 | return m_LSL_Functions.llAngleBetween(a, b); | 1064 | return m_LSL_Functions.llAngleBetween(a, b); |
1065 | } | 1065 | } |
@@ -1074,17 +1074,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1074 | m_LSL_Functions.llAllowInventoryDrop(add); | 1074 | m_LSL_Functions.llAllowInventoryDrop(add); |
1075 | } | 1075 | } |
1076 | 1076 | ||
1077 | public LSL_Types.Vector3 llGetSunDirection() | 1077 | public vector llGetSunDirection() |
1078 | { | 1078 | { |
1079 | return m_LSL_Functions.llGetSunDirection(); | 1079 | return m_LSL_Functions.llGetSunDirection(); |
1080 | } | 1080 | } |
1081 | 1081 | ||
1082 | public LSL_Types.Vector3 llGetTextureOffset(int face) | 1082 | public vector llGetTextureOffset(int face) |
1083 | { | 1083 | { |
1084 | return m_LSL_Functions.llGetTextureOffset(face); | 1084 | return m_LSL_Functions.llGetTextureOffset(face); |
1085 | } | 1085 | } |
1086 | 1086 | ||
1087 | public LSL_Types.Vector3 llGetTextureScale(int side) | 1087 | public vector llGetTextureScale(int side) |
1088 | { | 1088 | { |
1089 | return m_LSL_Functions.llGetTextureScale(side); | 1089 | return m_LSL_Functions.llGetTextureScale(side); |
1090 | } | 1090 | } |
@@ -1104,7 +1104,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1104 | return m_LSL_Functions.llGetOwnerKey(id); | 1104 | return m_LSL_Functions.llGetOwnerKey(id); |
1105 | } | 1105 | } |
1106 | 1106 | ||
1107 | public LSL_Types.Vector3 llGetCenterOfMass() | 1107 | public vector llGetCenterOfMass() |
1108 | { | 1108 | { |
1109 | return m_LSL_Functions.llGetCenterOfMass(); | 1109 | return m_LSL_Functions.llGetCenterOfMass(); |
1110 | } | 1110 | } |
@@ -1142,12 +1142,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1142 | return m_LSL_Functions.llList2Key(src, index); | 1142 | return m_LSL_Functions.llList2Key(src, index); |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | public LSL_Types.Vector3 llList2Vector(LSL_Types.list src, int index) | 1145 | public vector llList2Vector(LSL_Types.list src, int index) |
1146 | { | 1146 | { |
1147 | return m_LSL_Functions.llList2Vector(src, index); | 1147 | return m_LSL_Functions.llList2Vector(src, index); |
1148 | } | 1148 | } |
1149 | 1149 | ||
1150 | public LSL_Types.Quaternion llList2Rot(LSL_Types.list src, int index) | 1150 | public rotation llList2Rot(LSL_Types.list src, int index) |
1151 | { | 1151 | { |
1152 | return m_LSL_Functions.llList2Rot(src, index); | 1152 | return m_LSL_Functions.llList2Rot(src, index); |
1153 | } | 1153 | } |
@@ -1187,7 +1187,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1187 | return m_LSL_Functions.llList2ListStrided(src, start, end, stride); | 1187 | return m_LSL_Functions.llList2ListStrided(src, start, end, stride); |
1188 | } | 1188 | } |
1189 | 1189 | ||
1190 | public LSL_Types.Vector3 llGetRegionCorner() | 1190 | public vector llGetRegionCorner() |
1191 | { | 1191 | { |
1192 | return m_LSL_Functions.llGetRegionCorner(); | 1192 | return m_LSL_Functions.llGetRegionCorner(); |
1193 | } | 1193 | } |
@@ -1217,7 +1217,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1217 | return m_LSL_Functions.llGetDate(); | 1217 | return m_LSL_Functions.llGetDate(); |
1218 | } | 1218 | } |
1219 | 1219 | ||
1220 | public int llEdgeOfWorld(LSL_Types.Vector3 pos, LSL_Types.Vector3 dir) | 1220 | public int llEdgeOfWorld(vector pos, vector dir) |
1221 | { | 1221 | { |
1222 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); | 1222 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); |
1223 | } | 1223 | } |
@@ -1255,7 +1255,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1255 | m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); | 1255 | m_LSL_Functions.llSetTextureAnim(mode, face, sizex, sizey, start, length, rate); |
1256 | } | 1256 | } |
1257 | 1257 | ||
1258 | public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, LSL_Types.Vector3 bottom_south_west) | 1258 | public void llTriggerSoundLimited(string sound, double volume, vector top_north_east, vector bottom_south_west) |
1259 | { | 1259 | { |
1260 | m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); | 1260 | m_LSL_Functions.llTriggerSoundLimited(sound, volume, top_north_east, bottom_south_west); |
1261 | } | 1261 | } |
@@ -1275,7 +1275,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1275 | return m_LSL_Functions.llOverMyLand(id); | 1275 | return m_LSL_Functions.llOverMyLand(id); |
1276 | } | 1276 | } |
1277 | 1277 | ||
1278 | public string llGetLandOwnerAt(LSL_Types.Vector3 pos) | 1278 | public string llGetLandOwnerAt(vector pos) |
1279 | { | 1279 | { |
1280 | return m_LSL_Functions.llGetLandOwnerAt(pos); | 1280 | return m_LSL_Functions.llGetLandOwnerAt(pos); |
1281 | } | 1281 | } |
@@ -1285,7 +1285,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1285 | return m_LSL_Functions.llGetNotecardLine(name, line); | 1285 | return m_LSL_Functions.llGetNotecardLine(name, line); |
1286 | } | 1286 | } |
1287 | 1287 | ||
1288 | public LSL_Types.Vector3 llGetAgentSize(string id) | 1288 | public vector llGetAgentSize(string id) |
1289 | { | 1289 | { |
1290 | return m_LSL_Functions.llGetAgentSize(id); | 1290 | return m_LSL_Functions.llGetAgentSize(id); |
1291 | } | 1291 | } |
@@ -1300,17 +1300,17 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1300 | m_LSL_Functions.llUnSit(id); | 1300 | m_LSL_Functions.llUnSit(id); |
1301 | } | 1301 | } |
1302 | 1302 | ||
1303 | public LSL_Types.Vector3 llGroundSlope(LSL_Types.Vector3 offset) | 1303 | public vector llGroundSlope(vector offset) |
1304 | { | 1304 | { |
1305 | return m_LSL_Functions.llGroundSlope(offset); | 1305 | return m_LSL_Functions.llGroundSlope(offset); |
1306 | } | 1306 | } |
1307 | 1307 | ||
1308 | public LSL_Types.Vector3 llGroundNormal(LSL_Types.Vector3 offset) | 1308 | public vector llGroundNormal(vector offset) |
1309 | { | 1309 | { |
1310 | return m_LSL_Functions.llGroundNormal(offset); | 1310 | return m_LSL_Functions.llGroundNormal(offset); |
1311 | } | 1311 | } |
1312 | 1312 | ||
1313 | public LSL_Types.Vector3 llGroundContour(LSL_Types.Vector3 offset) | 1313 | public vector llGroundContour(vector offset) |
1314 | { | 1314 | { |
1315 | return m_LSL_Functions.llGroundContour(offset); | 1315 | return m_LSL_Functions.llGroundContour(offset); |
1316 | } | 1316 | } |
@@ -1368,12 +1368,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1368 | m_LSL_Functions.llSetVehicledoubleParam(param, value); | 1368 | m_LSL_Functions.llSetVehicledoubleParam(param, value); |
1369 | } | 1369 | } |
1370 | 1370 | ||
1371 | public void llSetVehicleVectorParam(int param, LSL_Types.Vector3 vec) | 1371 | public void llSetVehicleVectorParam(int param, vector vec) |
1372 | { | 1372 | { |
1373 | m_LSL_Functions.llSetVehicleVectorParam(param, vec); | 1373 | m_LSL_Functions.llSetVehicleVectorParam(param, vec); |
1374 | } | 1374 | } |
1375 | 1375 | ||
1376 | public void llSetVehicleRotationParam(int param, LSL_Types.Quaternion rot) | 1376 | public void llSetVehicleRotationParam(int param, rotation rot) |
1377 | { | 1377 | { |
1378 | m_LSL_Functions.llSetVehicleRotationParam(param, rot); | 1378 | m_LSL_Functions.llSetVehicleRotationParam(param, rot); |
1379 | } | 1379 | } |
@@ -1388,7 +1388,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1388 | m_LSL_Functions.llRemoveVehicleFlags(flags); | 1388 | m_LSL_Functions.llRemoveVehicleFlags(flags); |
1389 | } | 1389 | } |
1390 | 1390 | ||
1391 | public void llSitTarget(LSL_Types.Vector3 offset, LSL_Types.Quaternion rot) | 1391 | public void llSitTarget(vector offset, rotation rot) |
1392 | { | 1392 | { |
1393 | m_LSL_Functions.llSitTarget(offset, rot); | 1393 | m_LSL_Functions.llSitTarget(offset, rot); |
1394 | } | 1394 | } |
@@ -1413,12 +1413,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1413 | m_LSL_Functions.llSetSitText(text); | 1413 | m_LSL_Functions.llSetSitText(text); |
1414 | } | 1414 | } |
1415 | 1415 | ||
1416 | public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) | 1416 | public void llSetCameraEyeOffset(vector offset) |
1417 | { | 1417 | { |
1418 | m_LSL_Functions.llSetCameraEyeOffset(offset); | 1418 | m_LSL_Functions.llSetCameraEyeOffset(offset); |
1419 | } | 1419 | } |
1420 | 1420 | ||
1421 | public void llSetCameraAtOffset(LSL_Types.Vector3 offset) | 1421 | public void llSetCameraAtOffset(vector offset) |
1422 | { | 1422 | { |
1423 | m_LSL_Functions.llSetCameraAtOffset(offset); | 1423 | m_LSL_Functions.llSetCameraAtOffset(offset); |
1424 | } | 1424 | } |
@@ -1428,7 +1428,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1428 | return m_LSL_Functions.llDumpList2String(src, seperator); | 1428 | return m_LSL_Functions.llDumpList2String(src, seperator); |
1429 | } | 1429 | } |
1430 | 1430 | ||
1431 | public int llScriptDanger(LSL_Types.Vector3 pos) | 1431 | public int llScriptDanger(vector pos) |
1432 | { | 1432 | { |
1433 | return m_LSL_Functions.llScriptDanger(pos); | 1433 | return m_LSL_Functions.llScriptDanger(pos); |
1434 | } | 1434 | } |
@@ -1545,12 +1545,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1545 | m_LSL_Functions.llSetParcelMusicURL(url); | 1545 | m_LSL_Functions.llSetParcelMusicURL(url); |
1546 | } | 1546 | } |
1547 | 1547 | ||
1548 | public LSL_Types.Vector3 llGetRootPosition() | 1548 | public vector llGetRootPosition() |
1549 | { | 1549 | { |
1550 | return m_LSL_Functions.llGetRootPosition(); | 1550 | return m_LSL_Functions.llGetRootPosition(); |
1551 | } | 1551 | } |
1552 | 1552 | ||
1553 | public LSL_Types.Quaternion llGetRootRotation() | 1553 | public rotation llGetRootRotation() |
1554 | { | 1554 | { |
1555 | return m_LSL_Functions.llGetRootRotation(); | 1555 | return m_LSL_Functions.llGetRootRotation(); |
1556 | } | 1556 | } |
@@ -1595,7 +1595,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1595 | return m_LSL_Functions.llGetBoundingBox(obj); | 1595 | return m_LSL_Functions.llGetBoundingBox(obj); |
1596 | } | 1596 | } |
1597 | 1597 | ||
1598 | public LSL_Types.Vector3 llGetGeometricCenter() | 1598 | public vector llGetGeometricCenter() |
1599 | { | 1599 | { |
1600 | return m_LSL_Functions.llGetGeometricCenter(); | 1600 | return m_LSL_Functions.llGetGeometricCenter(); |
1601 | } | 1601 | } |
@@ -1628,7 +1628,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1628 | return m_LSL_Functions.llGetSimulatorHostname(); | 1628 | return m_LSL_Functions.llGetSimulatorHostname(); |
1629 | } | 1629 | } |
1630 | 1630 | ||
1631 | public void llSetLocalRot(LSL_Types.Quaternion rot) | 1631 | public void llSetLocalRot(rotation rot) |
1632 | { | 1632 | { |
1633 | m_LSL_Functions.llSetLocalRot(rot); | 1633 | m_LSL_Functions.llSetLocalRot(rot); |
1634 | } | 1634 | } |
@@ -1638,7 +1638,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1638 | return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); | 1638 | return m_LSL_Functions.llParseStringKeepNulls(src, seperators, spacers); |
1639 | } | 1639 | } |
1640 | 1640 | ||
1641 | public void llRezAtRoot(string inventory, LSL_Types.Vector3 position, LSL_Types.Vector3 velocity, LSL_Types.Quaternion rot, int param) | 1641 | public void llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, int param) |
1642 | { | 1642 | { |
1643 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); | 1643 | m_LSL_Functions.llRezAtRoot(inventory, position, velocity, rot, param); |
1644 | } | 1644 | } |
@@ -1726,12 +1726,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1726 | m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); | 1726 | m_LSL_Functions.llSetPayPrice(price, quick_pay_buttons); |
1727 | } | 1727 | } |
1728 | 1728 | ||
1729 | public LSL_Types.Vector3 llGetCameraPos() | 1729 | public vector llGetCameraPos() |
1730 | { | 1730 | { |
1731 | return m_LSL_Functions.llGetCameraPos(); | 1731 | return m_LSL_Functions.llGetCameraPos(); |
1732 | } | 1732 | } |
1733 | 1733 | ||
1734 | public LSL_Types.Quaternion llGetCameraRot() | 1734 | public rotation llGetCameraRot() |
1735 | { | 1735 | { |
1736 | return m_LSL_Functions.llGetCameraRot(); | 1736 | return m_LSL_Functions.llGetCameraRot(); |
1737 | } | 1737 | } |
@@ -1756,7 +1756,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1756 | return m_LSL_Functions.llUnescapeURL(url); | 1756 | return m_LSL_Functions.llUnescapeURL(url); |
1757 | } | 1757 | } |
1758 | 1758 | ||
1759 | public void llMapDestination(string simname, LSL_Types.Vector3 pos, LSL_Types.Vector3 look_at) | 1759 | public void llMapDestination(string simname, vector pos, vector look_at) |
1760 | { | 1760 | { |
1761 | m_LSL_Functions.llMapDestination(simname, pos, look_at); | 1761 | m_LSL_Functions.llMapDestination(simname, pos, look_at); |
1762 | } | 1762 | } |
@@ -1796,7 +1796,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1796 | return m_LSL_Functions.llGetUnixTime(); | 1796 | return m_LSL_Functions.llGetUnixTime(); |
1797 | } | 1797 | } |
1798 | 1798 | ||
1799 | public int llGetParcelFlags(LSL_Types.Vector3 pos) | 1799 | public int llGetParcelFlags(vector pos) |
1800 | { | 1800 | { |
1801 | return m_LSL_Functions.llGetParcelFlags(pos); | 1801 | return m_LSL_Functions.llGetParcelFlags(pos); |
1802 | } | 1802 | } |
@@ -1826,12 +1826,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1826 | m_LSL_Functions.llResetLandPassList(); | 1826 | m_LSL_Functions.llResetLandPassList(); |
1827 | } | 1827 | } |
1828 | 1828 | ||
1829 | public int llGetParcelPrimCount(LSL_Types.Vector3 pos, int category, int sim_wide) | 1829 | public int llGetParcelPrimCount(vector pos, int category, int sim_wide) |
1830 | { | 1830 | { |
1831 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); | 1831 | return m_LSL_Functions.llGetParcelPrimCount(pos, category, sim_wide); |
1832 | } | 1832 | } |
1833 | 1833 | ||
1834 | public LSL_Types.list llGetParcelPrimOwners(LSL_Types.Vector3 pos) | 1834 | public LSL_Types.list llGetParcelPrimOwners(vector pos) |
1835 | { | 1835 | { |
1836 | return m_LSL_Functions.llGetParcelPrimOwners(pos); | 1836 | return m_LSL_Functions.llGetParcelPrimOwners(pos); |
1837 | } | 1837 | } |
@@ -1844,12 +1844,12 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1844 | // | 1844 | // |
1845 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs | 1845 | // DO NOT MODIFY HERE: MODIFY IN LSL_BuiltIn_Commands.cs |
1846 | // | 1846 | // |
1847 | public int llGetParcelMaxPrims(LSL_Types.Vector3 pos, int sim_wide) | 1847 | public int llGetParcelMaxPrims(vector pos, int sim_wide) |
1848 | { | 1848 | { |
1849 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); | 1849 | return m_LSL_Functions.llGetParcelMaxPrims(pos, sim_wide); |
1850 | } | 1850 | } |
1851 | 1851 | ||
1852 | public LSL_Types.list llGetParcelDetails(LSL_Types.Vector3 pos, LSL_Types.list param) | 1852 | public LSL_Types.list llGetParcelDetails(vector pos, LSL_Types.list param) |
1853 | { | 1853 | { |
1854 | return m_LSL_Functions.llGetParcelDetails(pos, param); | 1854 | return m_LSL_Functions.llGetParcelDetails(pos, param); |
1855 | } | 1855 | } |
@@ -2387,7 +2387,7 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2387 | public const int OBJECT_CREATOR = 8; | 2387 | public const int OBJECT_CREATOR = 8; |
2388 | 2388 | ||
2389 | // Can not be public const? | 2389 | // Can not be public const? |
2390 | public LSL_Types.Vector3 ZERO_VECTOR = new LSL_Types.Vector3(0.0, 0.0, 0.0); | 2390 | public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
2391 | public LSL_Types.Quaternion ZERO_ROTATION = new LSL_Types.Quaternion(0.0, 0, 0.0, 1.0); | 2391 | public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); |
2392 | } | 2392 | } |
2393 | } | 2393 | } |