aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API
diff options
context:
space:
mode:
authorAdam Frisby2007-08-15 16:57:01 +0000
committerAdam Frisby2007-08-15 16:57:01 +0000
commit226339cd400bd6d74218c0d067a2671b91a7a802 (patch)
tree805eefe9ef4476e0d20f80d4e4a260acdf42eab0 /OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API
parent* Fixed bug with llModPow (diff)
downloadopensim-SC-226339cd400bd6d74218c0d067a2671b91a7a802.zip
opensim-SC-226339cd400bd6d74218c0d067a2671b91a7a802.tar.gz
opensim-SC-226339cd400bd6d74218c0d067a2671b91a7a802.tar.bz2
opensim-SC-226339cd400bd6d74218c0d067a2671b91a7a802.tar.xz
* Applying ckrinke's LSL baseclass changes (Thanks!)
Diffstat (limited to 'OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API')
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs92
1 files changed, 60 insertions, 32 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
index 4bc8b77..d2b8d0a 100644
--- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
+++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs
@@ -40,12 +40,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
40 float llAtan2(float x, float y); 40 float llAtan2(float x, float y);
41 float llSqrt(float f); 41 float llSqrt(float f);
42 float llPow(float fbase, float fexponent); 42 float llPow(float fbase, float fexponent);
43 UInt32 llAbs(Int32 i); 43 Int32 llAbs(Int32 i);
44 float llFabs(float f); 44 float llFabs(float f);
45 float llFrand(float mag); 45 float llFrand(float mag);
46 UInt32 llFloor(float f); 46 Int32 llFloor(float f);
47 UInt32 llCeil(float f); 47 Int32 llCeil(float f);
48 UInt32 llRound(float f); 48 Int32 llRound(float f);
49 float llVecMag(Axiom.Math.Vector3 v); 49 float llVecMag(Axiom.Math.Vector3 v);
50 Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v); 50 Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v);
51 float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b); 51 float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b);
@@ -345,24 +345,41 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
345 //wiki: vector llGetCenterOfMass() 345 //wiki: vector llGetCenterOfMass()
346 Axiom.Math.Vector3 llGetCenterOfMass(); 346 Axiom.Math.Vector3 llGetCenterOfMass();
347 //wiki: list llListSort(list src, integer stride, integer ascending) 347 //wiki: list llListSort(list src, integer stride, integer ascending)
348 void llListSort(); 348 List<string> llListSort(List<string> src, Int32 stride, Int32 ascending);
349 void llGetListLength(); 349 //integer llGetListLength(list src)
350 void llList2Integer(); 350 Int32 llGetListLength(List<string> src);
351 void llList2Float(); 351 //wiki: integer llList2Integer(list src, integer index)
352 void llList2String(); 352 Int32 llList2Integer(List<string> src, Int32 index);
353 void llList2Key(); 353 //wiki: float llList2Float(list src, integer index)
354 void llList2Vector(); 354 float llList2Float(List<string> src, Int32 index);
355 void llList2Rot(); 355 //wiki: string llList2String(list src, integer index)
356 void llList2List(); 356 string llList2String(List<string> src, Int32 index);
357 void llDeleteSubList(); 357 //wiki: key llList2Key(list src, integer index)
358 void llGetListEntryType(); 358 string llList2Key(List<string> src, Int32 index);
359 void llList2CSV(); 359 //wiki: vector llList2Vector(list src, integer index)
360 void llCSV2List(); 360 Axiom.Math.Vector3 llList2Vector(List<string> src, Int32 index);
361 void llListRandomize(); 361 //wiki rotation llList2Rot(list src, integer index)
362 void llList2ListStrided(); 362 Axiom.Math.Quaternion llList2Rot(List<string> src, Int32 index);
363 void llGetRegionCorner(); 363 //wiki: list llList2List(list src, integer start, integer end)
364 void llListInsertList(); 364 List<string> llList2List(List<string> src, Int32 start, Int32 end);
365 void llListFindList(); 365 //wiki: llDeleteSubList(list src, integer start, integer end)
366 List<string> llDeleteSubList(List<string> src, Int32 start, Int32 end);
367 //wiki: integer llGetListEntryType( list src, integer index )
368 Int32 llGetListEntryType(List<string> src, Int32 index);
369 //wiki: string llList2CSV( list src )
370 string llList2CSV(List<string> src);
371 //wiki: list llCSV2List( string src )
372 List<string> llCSV2List(string src);
373 //wiki: list llListRandomize( list src, integer stride )
374 List<string> llListRandomize(List<string> src, Int32 stride);
375 //wiki: list llList2ListStrided( list src, integer start, integer end, integer stride )
376 List<string> llList2ListStrided(List<string> src, Int32 start, Int32 end, Int32 stride);
377 //wiki: vector llGetRegionCorner( )
378 Axiom.Math.Vector3 llGetRegionCorner();
379 //wiki: list llListInsertList( list dest, list src, integer start )
380 List<string> llListInsertList(List<string> dest, List<string> src, Int32 start);
381 //wiki: integer llListFindList( list src, list test )
382 Int32 llListFindList(List<string> src, List<string> test);
366 //wiki: string llGetObjectName() 383 //wiki: string llGetObjectName()
367 string llGetObjectName(); 384 string llGetObjectName();
368 //wiki: llSetObjectName(string name) 385 //wiki: llSetObjectName(string name)
@@ -450,7 +467,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
450 void llDumpList2String(); 467 void llDumpList2String();
451 //wiki: integer llScriptDanger(vector pos) 468 //wiki: integer llScriptDanger(vector pos)
452 void llScriptDanger(Axiom.Math.Vector3 pos); 469 void llScriptDanger(Axiom.Math.Vector3 pos);
453 void llDialog(); 470 //wiki: llDialog( key avatar, string message, list buttons, integer chat_channel )
471 void llDialog(string avatar, string message, List<string> buttons, Int32 chat_channel);
454 //wiki: llVolumeDetect(integer detect) 472 //wiki: llVolumeDetect(integer detect)
455 void llVolumeDetect(Int32 detect); 473 void llVolumeDetect(Int32 detect);
456 //wiki: llResetOtherScript(string name) 474 //wiki: llResetOtherScript(string name)
@@ -473,7 +491,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
473 void llCloseRemoteDataChannel(string channel); 491 void llCloseRemoteDataChannel(string channel);
474 //wiki: string llMD5String(string src, integer nonce) 492 //wiki: string llMD5String(string src, integer nonce)
475 string llMD5String(string src, Int32 nonce); 493 string llMD5String(string src, Int32 nonce);
476 void llSetPrimitiveParams(); 494 //wiki: llSetPrimitiveParams( list rules )
495 void llSetPrimitiveParams(List<string> rules);
477 //wiki: string llStringToBase64(string str) 496 //wiki: string llStringToBase64(string str)
478 string llStringToBase64(string str); 497 string llStringToBase64(string str);
479 //wiki: string llBase64ToString(string str) 498 //wiki: string llBase64ToString(string str)
@@ -486,7 +505,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
486 float llLog10(float val); 505 float llLog10(float val);
487 //wiki: float llLog(float val) 506 //wiki: float llLog(float val)
488 float llLog(float val); 507 float llLog(float val);
489 void llGetAnimationList(); 508 //wiki: list llGetAnimationList( key id )
509 List<string> llGetAnimationList(string id);
490 //wiki: llSetParcelMusicURL(string url) 510 //wiki: llSetParcelMusicURL(string url)
491 void llSetParcelMusicURL(string url); 511 void llSetParcelMusicURL(string url);
492 //wiki: vector llGetRootPosition() 512 //wiki: vector llGetRootPosition()
@@ -507,7 +527,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
507 Int32 llGetNumberOfPrims(); 527 Int32 llGetNumberOfPrims();
508 //wiki: key llGetNumberOfNotecardLines(string name) 528 //wiki: key llGetNumberOfNotecardLines(string name)
509 string llGetNumberOfNotecardLines(string name); 529 string llGetNumberOfNotecardLines(string name);
510 void llGetBoundingBox(); 530 //wiki: list llGetBoundingBox( key object )
531 List<string> llGetBoundingBox(string obj);
511 //wiki: vector llGetGeometricCenter() 532 //wiki: vector llGetGeometricCenter()
512 Axiom.Math.Vector3 llGetGeometricCenter(); 533 Axiom.Math.Vector3 llGetGeometricCenter();
513 void llGetPrimitiveParams(); 534 void llGetPrimitiveParams();
@@ -521,7 +542,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
521 string llGetSimulatorHostname(); 542 string llGetSimulatorHostname();
522 //llSetLocalRot(rotation rot) 543 //llSetLocalRot(rotation rot)
523 void llSetLocalRot(Axiom.Math.Quaternion rot); 544 void llSetLocalRot(Axiom.Math.Quaternion rot);
524 void llParseStringKeepNulls(); 545 //wiki: list llParseStringKeepNulls( string src, list separators, list spacers )
546 List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers);
525 //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param) 547 //wiki: llRezAtRoot(string inventory, vector position, vector velocity, rotation rot, integer param)
526 void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, Int32 param); 548 void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, Int32 param);
527 //wiki: integer llGetObjectPermMask(integer mask) 549 //wiki: integer llGetObjectPermMask(integer mask)
@@ -545,13 +567,15 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
545 void llListReplaceList(); 567 void llListReplaceList();
546 //wiki: llLoadURL(key avatar_id, string message, string url) 568 //wiki: llLoadURL(key avatar_id, string message, string url)
547 void llLoadURL(string avatar_id, string message, string url); 569 void llLoadURL(string avatar_id, string message, string url);
548 void llParcelMediaCommandList(); 570 //wiki: llParcelMediaCommandList( list commandList )
571 void llParcelMediaCommandList(List<string> commandList);
549 void llParcelMediaQuery(); 572 void llParcelMediaQuery();
550 //wiki integer llModPow(integer a, integer b, integer c) 573 //wiki integer llModPow(integer a, integer b, integer c)
551 Int32 llModPow(Int32 a, Int32 b, Int32 c); 574 Int32 llModPow(Int32 a, Int32 b, Int32 c);
552 //wiki: integer llGetInventoryType(string name) 575 //wiki: integer llGetInventoryType(string name)
553 Int32 llGetInventoryType(string name); 576 Int32 llGetInventoryType(string name);
554 void llSetPayPrice(); 577 //wiki: llSetPayPrice( integer price, list quick_pay_buttons )
578 void llSetPayPrice(Int32 price, List<string> quick_pay_buttons);
555 //wiki: vector llGetCameraPos() 579 //wiki: vector llGetCameraPos()
556 Axiom.Math.Vector3 llGetCameraPos(); 580 Axiom.Math.Vector3 llGetCameraPos();
557 //wiki rotation llGetCameraRot() 581 //wiki rotation llGetCameraRot()
@@ -572,9 +596,12 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
572 void llRemoveFromLandPassList(string avatar); 596 void llRemoveFromLandPassList(string avatar);
573 //wiki: llRemoveFromLandBanList(key avatar) 597 //wiki: llRemoveFromLandBanList(key avatar)
574 void llRemoveFromLandBanList(string avatar); 598 void llRemoveFromLandBanList(string avatar);
575 void llSetCameraParams(); 599 //wiki: llSetCameraParams( list rules )
600 void llSetCameraParams(List<string> rules);
601 //wiki: llClearCameraParams()
576 void llClearCameraParams(); 602 void llClearCameraParams();
577 void llListStatistics(); 603 //wiki: float llListStatistics( integer operation, list src )
604 float llListStatistics(Int32 operation, List<string> src);
578 //wiki: integer llGetUnixTime() 605 //wiki: integer llGetUnixTime()
579 Int32 llGetUnixTime(); 606 Int32 llGetUnixTime();
580 //wiki: integer llGetParcelFlags(vector pos) 607 //wiki: integer llGetParcelFlags(vector pos)
@@ -590,7 +617,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler
590 void llResetLandPassList(); 617 void llResetLandPassList();
591 //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide) 618 //wiki integer llGetParcelPrimCount(vector pos, integer category, integer sim_wide)
592 Int32 llGetParcelPrimCount(Axiom.Math.Vector3 pos, Int32 category, Int32 sim_wide); 619 Int32 llGetParcelPrimCount(Axiom.Math.Vector3 pos, Int32 category, Int32 sim_wide);
593 void llGetParcelPrimOwners(); 620 //wiki: list llGetParcelPrimOwners( vector pos )
621 List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos);
594 //wiki: integer llGetObjectPrimCount(key object_id) 622 //wiki: integer llGetObjectPrimCount(key object_id)
595 Int32 llGetObjectPrimCount(string object_id); 623 Int32 llGetObjectPrimCount(string object_id);
596 //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide ) 624 //wiki: integer llGetParcelMaxPrims( vector pos, integer sim_wide )