diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 23 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | 6 |
2 files changed, 21 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 11dfe0c..169a0f2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -377,7 +377,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
377 | public const int CHANGED_REGION_RESTART = 1024; | 377 | public const int CHANGED_REGION_RESTART = 1024; |
378 | public const int CHANGED_REGION_START = 1024; //LL Changed the constant from CHANGED_REGION_RESTART | 378 | public const int CHANGED_REGION_START = 1024; //LL Changed the constant from CHANGED_REGION_RESTART |
379 | public const int CHANGED_MEDIA = 2048; | 379 | public const int CHANGED_MEDIA = 2048; |
380 | //ApiDesc opensim specific | ||
380 | public const int CHANGED_ANIMATION = 16384; | 381 | public const int CHANGED_ANIMATION = 16384; |
382 | //ApiDesc opensim specific | ||
381 | public const int CHANGED_POSITION = 32768; | 383 | public const int CHANGED_POSITION = 32768; |
382 | 384 | ||
383 | public const int TYPE_INVALID = 0; | 385 | public const int TYPE_INVALID = 0; |
@@ -430,6 +432,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
430 | public const int PRIM_FLEXIBLE = 21; | 432 | public const int PRIM_FLEXIBLE = 21; |
431 | public const int PRIM_TEXGEN = 22; | 433 | public const int PRIM_TEXGEN = 22; |
432 | public const int PRIM_POINT_LIGHT = 23; // Huh? | 434 | public const int PRIM_POINT_LIGHT = 23; // Huh? |
435 | //ApiDesc not supported | ||
433 | public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake | 436 | public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake |
434 | public const int PRIM_GLOW = 25; | 437 | public const int PRIM_GLOW = 25; |
435 | public const int PRIM_TEXT = 26; | 438 | public const int PRIM_TEXT = 26; |
@@ -445,7 +448,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
445 | public const int PRIM_SPECULAR = 36; | 448 | public const int PRIM_SPECULAR = 36; |
446 | public const int PRIM_NORMAL = 37; | 449 | public const int PRIM_NORMAL = 37; |
447 | public const int PRIM_ALPHA_MODE = 38; | 450 | public const int PRIM_ALPHA_MODE = 38; |
451 | //ApiDesc not supported | ||
448 | public const int PRIM_ALLOW_UNSIT = 39; // experiences related. unsupported | 452 | public const int PRIM_ALLOW_UNSIT = 39; // experiences related. unsupported |
453 | //ApiDesc not supported | ||
449 | public const int PRIM_SCRIPTED_SIT_ONLY = 40; // experiences related. unsupported | 454 | public const int PRIM_SCRIPTED_SIT_ONLY = 40; // experiences related. unsupported |
450 | public const int PRIM_SIT_TARGET = 41; | 455 | public const int PRIM_SIT_TARGET = 41; |
451 | 456 | ||
@@ -659,20 +664,28 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
659 | public const int OBJECT_ATTACHED_SLOTS_AVAILABLE = 35; | 664 | public const int OBJECT_ATTACHED_SLOTS_AVAILABLE = 35; |
660 | 665 | ||
661 | // Pathfinding types | 666 | // Pathfinding types |
667 | //ApiDesc not supported | ||
662 | public const int OPT_OTHER = -1; | 668 | public const int OPT_OTHER = -1; |
669 | //ApiDesc not supported | ||
663 | public const int OPT_LEGACY_LINKSET = 0; | 670 | public const int OPT_LEGACY_LINKSET = 0; |
671 | //ApiDesc not supported | ||
664 | public const int OPT_AVATAR = 1; | 672 | public const int OPT_AVATAR = 1; |
673 | //ApiDesc not supported | ||
665 | public const int OPT_CHARACTER = 2; | 674 | public const int OPT_CHARACTER = 2; |
675 | //ApiDesc not supported | ||
666 | public const int OPT_WALKABLE = 3; | 676 | public const int OPT_WALKABLE = 3; |
677 | //ApiDesc not supported | ||
667 | public const int OPT_STATIC_OBSTACLE = 4; | 678 | public const int OPT_STATIC_OBSTACLE = 4; |
679 | //ApiDesc not supported | ||
668 | public const int OPT_MATERIAL_VOLUME = 5; | 680 | public const int OPT_MATERIAL_VOLUME = 5; |
681 | //ApiDesc not supported | ||
669 | public const int OPT_EXCLUSION_VOLUME = 6; | 682 | public const int OPT_EXCLUSION_VOLUME = 6; |
670 | 683 | ||
671 | // for llGetAgentList | 684 | // for llGetAgentList |
672 | public const int AGENT_LIST_PARCEL = 1; | 685 | public const int AGENT_LIST_PARCEL = 0x1; |
673 | public const int AGENT_LIST_PARCEL_OWNER = 2; | 686 | public const int AGENT_LIST_PARCEL_OWNER = 2; |
674 | public const int AGENT_LIST_REGION = 4; | 687 | public const int AGENT_LIST_REGION = 4; |
675 | public const int AGENT_LIST_EXCLUDENPC = 0x4000000; // our flag, not SL and it is a bit mask | 688 | public const int AGENT_LIST_EXCLUDENPC = 0x4000000; |
676 | 689 | ||
677 | // Can not be public const? | 690 | // Can not be public const? |
678 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); | 691 | public static readonly vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
@@ -875,11 +888,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
875 | 888 | ||
876 | //ApiDesc osTeleportObject no flags | 889 | //ApiDesc osTeleportObject no flags |
877 | public const int OSTPOBJ_NONE = 0x0; | 890 | public const int OSTPOBJ_NONE = 0x0; |
878 | //ApiDesc osTeleportObject flag stop at destination | 891 | //ApiDesc osTeleportObject flag: stop at destination |
879 | public const int OSTPOBJ_STOPATTARGET = 0x1; | 892 | public const int OSTPOBJ_STOPATTARGET = 0x1; |
880 | //ApiDesc osTeleportObject flag stop at jump point if tp fails | 893 | //ApiDesc osTeleportObject flag: stop at jump point if tp fails |
881 | public const int OSTPOBJ_STOPONFAIL = 0x2; | 894 | public const int OSTPOBJ_STOPONFAIL = 0x2; |
882 | //ApiDesc osTeleportObject flag the rotation is the final rotation, otherwise is a added rotation | 895 | //ApiDesc osTeleportObject flag: the rotation is the final rotation, otherwise is a added rotation |
883 | public const int OSTPOBJ_SETROT = 0x4; | 896 | public const int OSTPOBJ_SETROT = 0x4; |
884 | 897 | ||
885 | // Constants for Windlight | 898 | // Constants for Windlight |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs index ebdd017..09f77d1 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Stub.cs | |||
@@ -210,7 +210,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
210 | return m_LSL_Functions.llCos(f); | 210 | return m_LSL_Functions.llCos(f); |
211 | } | 211 | } |
212 | 212 | ||
213 | public void llCreateLink(string target, int parent) | 213 | public void llCreateLink(LSL_String target, LSL_Integer parent) |
214 | { | 214 | { |
215 | m_LSL_Functions.llCreateLink(target, parent); | 215 | m_LSL_Functions.llCreateLink(target, parent); |
216 | } | 216 | } |
@@ -315,7 +315,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
315 | return m_LSL_Functions.llDetectedVel(number); | 315 | return m_LSL_Functions.llDetectedVel(number); |
316 | } | 316 | } |
317 | 317 | ||
318 | public void llDialog(string avatar, string message, LSL_List buttons, int chat_channel) | 318 | public void llDialog(LSL_Key avatar, LSL_String message, LSL_List buttons, int chat_channel) |
319 | { | 319 | { |
320 | m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); | 320 | m_LSL_Functions.llDialog(avatar, message, buttons, chat_channel); |
321 | } | 321 | } |
@@ -336,7 +336,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
336 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); | 336 | return m_LSL_Functions.llEdgeOfWorld(pos, dir); |
337 | } | 337 | } |
338 | 338 | ||
339 | public void llEjectFromLand(string pest) | 339 | public void llEjectFromLand(LSL_Key pest) |
340 | { | 340 | { |
341 | m_LSL_Functions.llEjectFromLand(pest); | 341 | m_LSL_Functions.llEjectFromLand(pest); |
342 | } | 342 | } |