diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 102 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/Server_API/LSL_BuiltIn_Commands_Interface.cs | 92 |
2 files changed, 114 insertions, 80 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index b411a20..4af438a 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -20,25 +20,20 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
20 | return; | 20 | return; |
21 | } | 21 | } |
22 | 22 | ||
23 | // | 23 | //These are the implementations of the various ll-functions used by the LSL scripts. |
24 | // IMPLEMENT THESE! | 24 | //starting out, we use the System.Math library for trig functions. - CFK 8-14-07 |
25 | // | 25 | public float llSin(float f) { return (float)Math.Sin(f); } |
26 | 26 | public float llCos(float f) { return (float)Math.Cos(f); } | |
27 | 27 | public float llTan(float f) { return (float)Math.Tan(f); } | |
28 | 28 | public float llAtan2(float x, float y) { return (float)Math.Atan2(y, x); } | |
29 | 29 | public float llSqrt(float f) { return (float)Math.Sqrt(f); } | |
30 | public float llSin(float f) { return 0; } | 30 | public float llPow(float fbase, float fexponent) { return (float)Math.Pow(fbase, fexponent); } |
31 | public float llCos(float f) { return 0; } | 31 | public Int32 llAbs(Int32 i) { return (Int32)Math.Abs(i); } |
32 | public float llTan(float f) { return 0; } | 32 | public float llFabs(float f) { return (float)Math.Abs(f); } |
33 | public float llAtan2(float x, float y) { return 0; } | ||
34 | public float llSqrt(float f) { return 0; } | ||
35 | public float llPow(float fbase, float fexponent) { return 0; } | ||
36 | public UInt32 llAbs(Int32 i) { return 0; } | ||
37 | public float llFabs(float f) { return 0; } | ||
38 | public float llFrand(float mag) { return 0; } | 33 | public float llFrand(float mag) { return 0; } |
39 | public UInt32 llFloor(float f) { return 0; } | 34 | public Int32 llFloor(float f) { return (Int32)Math.Floor(f); } |
40 | public UInt32 llCeil(float f) { return 0; } | 35 | public Int32 llCeil(float f) { return (Int32)Math.Ceiling(f); } |
41 | public UInt32 llRound(float f) { return 0; } | 36 | public Int32 llRound(float f) { return (Int32)Math.Round(f, 1); } |
42 | public float llVecMag(Axiom.Math.Vector3 v) { return 0; } | 37 | public float llVecMag(Axiom.Math.Vector3 v) { return 0; } |
43 | public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } | 38 | public Axiom.Math.Vector3 llVecNorm(Axiom.Math.Vector3 v) { return new Axiom.Math.Vector3(); } |
44 | public float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } | 39 | public float llVecDist(Axiom.Math.Vector3 a, Axiom.Math.Vector3 b) { return 0; } |
@@ -233,24 +228,34 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
233 | public Int32 llSubStringIndex(string source, string pattern) { return 0; } | 228 | public Int32 llSubStringIndex(string source, string pattern) { return 0; } |
234 | public string llGetOwnerKey(string id) { return ""; } | 229 | public string llGetOwnerKey(string id) { return ""; } |
235 | public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } | 230 | public Axiom.Math.Vector3 llGetCenterOfMass() { return new Axiom.Math.Vector3(); } |
236 | public void llListSort() { } | 231 | public List<string> llListSort(List<string> src, Int32 stride, Int32 ascending) |
237 | public void llGetListLength() { } | 232 | { return new List<string>(); } |
238 | public void llList2Integer() { } | 233 | public Int32 llGetListLength(List<string> src) { return 0; } |
239 | public void llList2Float() { } | 234 | public Int32 llList2Integer(List<string> src, Int32 index) { return 0;} |
240 | public void llList2String() { } | 235 | public float llList2Float(List<string> src, Int32 index) { return 0; } |
241 | public void llList2Key() { } | 236 | public string llList2String(List<string> src, Int32 index) { return ""; } |
242 | public void llList2Vector() { } | 237 | public string llList2Key(List<string> src, Int32 index) { return ""; } |
243 | public void llList2Rot() { } | 238 | public Axiom.Math.Vector3 llList2Vector(List<string> src, Int32 index) |
244 | public void llList2List() { } | 239 | { return new Axiom.Math.Vector3(); } |
245 | public void llDeleteSubList() { } | 240 | public Axiom.Math.Quaternion llList2Rot(List<string> src, Int32 index) |
246 | public void llGetListEntryType() { } | 241 | { return new Axiom.Math.Quaternion(); } |
247 | public void llList2CSV() { } | 242 | public List<string> llList2List(List<string> src, Int32 start, Int32 end) |
248 | public void llCSV2List() { } | 243 | { return new List<string>(); } |
249 | public void llListRandomize() { } | 244 | public List<string> llDeleteSubList(List<string> src, Int32 start, Int32 end) |
250 | public void llList2ListStrided() { } | 245 | { return new List<string>(); } |
251 | public void llGetRegionCorner() { } | 246 | public Int32 llGetListEntryType(List<string> src, Int32 index) { return 0; } |
252 | public void llListInsertList() { } | 247 | public string llList2CSV(List<string> src) { return ""; } |
253 | public void llListFindList() { } | 248 | public List<string> llCSV2List(string src) |
249 | { return new List<string>(); } | ||
250 | public List<string> llListRandomize(List<string> src, Int32 stride) | ||
251 | { return new List<string>(); } | ||
252 | public List<string> llList2ListStrided(List<string> src, Int32 start, Int32 end, Int32 stride) | ||
253 | { return new List<string>(); } | ||
254 | public Axiom.Math.Vector3 llGetRegionCorner() | ||
255 | { return new Axiom.Math.Vector3(); } | ||
256 | public List<string> llListInsertList(List<string> dest, List<string> src, Int32 start) | ||
257 | { return new List<string>(); } | ||
258 | public Int32 llListFindList(List<string> src, List<string> test) { return 0; } | ||
254 | public string llGetObjectName() { return ""; } | 259 | public string llGetObjectName() { return ""; } |
255 | public void llSetObjectName(string name) { } | 260 | public void llSetObjectName(string name) { } |
256 | public string llGetDate() { return ""; } | 261 | public string llGetDate() { return ""; } |
@@ -300,7 +305,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
300 | public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } | 305 | public void llSetCameraAtOffset(Axiom.Math.Vector3 offset) { } |
301 | public void llDumpList2String() { } | 306 | public void llDumpList2String() { } |
302 | public void llScriptDanger(Axiom.Math.Vector3 pos) { } | 307 | public void llScriptDanger(Axiom.Math.Vector3 pos) { } |
303 | public void llDialog() { } | 308 | public void llDialog(string avatar, string message, List<string> buttons, Int32 chat_channel) { } |
304 | public void llVolumeDetect(Int32 detect) { } | 309 | public void llVolumeDetect(Int32 detect) { } |
305 | public void llResetOtherScript(string name) { } | 310 | public void llResetOtherScript(string name) { } |
306 | public Int32 llGetScriptState(string name) { return 0; } | 311 | public Int32 llGetScriptState(string name) { return 0; } |
@@ -314,14 +319,14 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
314 | public string llMD5String(string src, Int32 nonce) { | 319 | public string llMD5String(string src, Int32 nonce) { |
315 | return OpenSim.Framework.Utilities.Util.Md5Hash(src + ":" + nonce.ToString()); | 320 | return OpenSim.Framework.Utilities.Util.Md5Hash(src + ":" + nonce.ToString()); |
316 | } | 321 | } |
317 | public void llSetPrimitiveParams() { } | 322 | public void llSetPrimitiveParams(List<string> rules) { } |
318 | public string llStringToBase64(string str) { return ""; } | 323 | public string llStringToBase64(string str) { return ""; } |
319 | public string llBase64ToString(string str) { return ""; } | 324 | public string llBase64ToString(string str) { return ""; } |
320 | public void llXorBase64Strings() { } | 325 | public void llXorBase64Strings() { } |
321 | public void llRemoteDataSetRegion() { } | 326 | public void llRemoteDataSetRegion() { } |
322 | public float llLog10(float val) { return 0; } | 327 | public float llLog10(float val) { return (float)Math.Log10(val); } |
323 | public float llLog(float val) { return 0; } | 328 | public float llLog(float val) { return (float)Math.Log(val); } |
324 | public void llGetAnimationList() { } | 329 | public List<string> llGetAnimationList(string id) { return new List<string>(); } |
325 | public void llSetParcelMusicURL(string url) { } | 330 | public void llSetParcelMusicURL(string url) { } |
326 | public Axiom.Math.Vector3 llGetRootPosition() { return new Axiom.Math.Vector3(); } | 331 | public Axiom.Math.Vector3 llGetRootPosition() { return new Axiom.Math.Vector3(); } |
327 | public Axiom.Math.Quaternion llGetRootRotation() { return new Axiom.Math.Quaternion(); } | 332 | public Axiom.Math.Quaternion llGetRootRotation() { return new Axiom.Math.Quaternion(); } |
@@ -332,7 +337,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
332 | public void llSetLinkAlpha(Int32 linknumber, float alpha, Int32 face) { } | 337 | public void llSetLinkAlpha(Int32 linknumber, float alpha, Int32 face) { } |
333 | public Int32 llGetNumberOfPrims() { return 0; } | 338 | public Int32 llGetNumberOfPrims() { return 0; } |
334 | public string llGetNumberOfNotecardLines(string name) { return ""; } | 339 | public string llGetNumberOfNotecardLines(string name) { return ""; } |
335 | public void llGetBoundingBox() { } | 340 | public List<string> llGetBoundingBox(string obj) { return new List<string>(); } |
336 | public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } | 341 | public Axiom.Math.Vector3 llGetGeometricCenter() { return new Axiom.Math.Vector3(); } |
337 | public void llGetPrimitiveParams() { } | 342 | public void llGetPrimitiveParams() { } |
338 | public string llIntegerToBase64(Int32 number) { return ""; } | 343 | public string llIntegerToBase64(Int32 number) { return ""; } |
@@ -340,7 +345,8 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
340 | public float llGetGMTclock() { return 0; } | 345 | public float llGetGMTclock() { return 0; } |
341 | public string llGetSimulatorHostname() { return ""; } | 346 | public string llGetSimulatorHostname() { return ""; } |
342 | public void llSetLocalRot(Axiom.Math.Quaternion rot) { } | 347 | public void llSetLocalRot(Axiom.Math.Quaternion rot) { } |
343 | public void llParseStringKeepNulls() { } | 348 | public List<string> llParseStringKeepNulls(string src, List<string> seperators, List<string> spacers) |
349 | { return new List<string>(); } | ||
344 | public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, Int32 param) { } | 350 | public void llRezAtRoot(string inventory, Axiom.Math.Vector3 position, Axiom.Math.Vector3 velocity, Axiom.Math.Quaternion rot, Int32 param) { } |
345 | public Int32 llGetObjectPermMask(Int32 mask) { return 0; } | 351 | public Int32 llGetObjectPermMask(Int32 mask) { return 0; } |
346 | public void llSetObjectPermMask(Int32 mask, Int32 value) { } | 352 | public void llSetObjectPermMask(Int32 mask, Int32 value) { } |
@@ -353,7 +359,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
353 | public float llGetObjectMass(string id) { return 0; } | 359 | public float llGetObjectMass(string id) { return 0; } |
354 | public void llListReplaceList() { } | 360 | public void llListReplaceList() { } |
355 | public void llLoadURL(string avatar_id, string message, string url) { } | 361 | public void llLoadURL(string avatar_id, string message, string url) { } |
356 | public void llParcelMediaCommandList() { } | 362 | public void llParcelMediaCommandList(List<string> commandList) { } |
357 | public void llParcelMediaQuery() { } | 363 | public void llParcelMediaQuery() { } |
358 | 364 | ||
359 | public Int32 llModPow(Int32 a, Int32 b, Int32 c) { | 365 | public Int32 llModPow(Int32 a, Int32 b, Int32 c) { |
@@ -364,7 +370,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
364 | } | 370 | } |
365 | 371 | ||
366 | public Int32 llGetInventoryType(string name) { return 0; } | 372 | public Int32 llGetInventoryType(string name) { return 0; } |
367 | public void llSetPayPrice() { } | 373 | public void llSetPayPrice(Int32 price, List<string> quick_pay_buttons) { } |
368 | public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } | 374 | public Axiom.Math.Vector3 llGetCameraPos() { return new Axiom.Math.Vector3(); } |
369 | public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } | 375 | public Axiom.Math.Quaternion llGetCameraRot() { return new Axiom.Math.Quaternion(); } |
370 | public void llSetPrimURL() { } | 376 | public void llSetPrimURL() { } |
@@ -375,9 +381,9 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
375 | public void llAddToLandBanList(string avatar, float hours) { } | 381 | public void llAddToLandBanList(string avatar, float hours) { } |
376 | public void llRemoveFromLandPassList(string avatar) { } | 382 | public void llRemoveFromLandPassList(string avatar) { } |
377 | public void llRemoveFromLandBanList(string avatar) { } | 383 | public void llRemoveFromLandBanList(string avatar) { } |
378 | public void llSetCameraParams() { } | 384 | public void llSetCameraParams(List<string> rules) { } |
379 | public void llClearCameraParams() { } | 385 | public void llClearCameraParams() { } |
380 | public void llListStatistics() { } | 386 | public float llListStatistics(Int32 operation, List<string> src) { return 0; } |
381 | public Int32 llGetUnixTime() { | 387 | public Int32 llGetUnixTime() { |
382 | return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); | 388 | return OpenSim.Framework.Utilities.Util.UnixTimeSinceEpoch(); |
383 | } | 389 | } |
@@ -388,7 +394,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
388 | public void llResetLandBanList() { } | 394 | public void llResetLandBanList() { } |
389 | public void llResetLandPassList() { } | 395 | public void llResetLandPassList() { } |
390 | public Int32 llGetParcelPrimCount(Axiom.Math.Vector3 pos, Int32 category, Int32 sim_wide) { return 0; } | 396 | public Int32 llGetParcelPrimCount(Axiom.Math.Vector3 pos, Int32 category, Int32 sim_wide) { return 0; } |
391 | public void llGetParcelPrimOwners() { } | 397 | public List<string> llGetParcelPrimOwners(Axiom.Math.Vector3 pos) { return new List<string>(); } |
392 | public Int32 llGetObjectPrimCount(string object_id) { return 0; } | 398 | public Int32 llGetObjectPrimCount(string object_id) { return 0; } |
393 | public Int32 llGetParcelMaxPrims(Axiom.Math.Vector3 pos, Int32 sim_wide) { return 0; } | 399 | public Int32 llGetParcelMaxPrims(Axiom.Math.Vector3 pos, Int32 sim_wide) { return 0; } |
394 | public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return new List<string>(); } | 400 | public List<string> llGetParcelDetails(Axiom.Math.Vector3 pos, List<string> param) { return new List<string>(); } |
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 ) |