diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 75 |
1 files changed, 68 insertions, 7 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 9bf1a64..9aecea2 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | |||
@@ -48,6 +48,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
48 | public const int STATUS_DIE_AT_EDGE = 128; | 48 | public const int STATUS_DIE_AT_EDGE = 128; |
49 | public const int STATUS_RETURN_AT_EDGE = 256; | 49 | public const int STATUS_RETURN_AT_EDGE = 256; |
50 | public const int STATUS_CAST_SHADOWS = 512; | 50 | public const int STATUS_CAST_SHADOWS = 512; |
51 | public const int STATUS_BLOCK_GRAB_OBJECT = 1024; | ||
51 | 52 | ||
52 | public const int AGENT = 1; | 53 | public const int AGENT = 1; |
53 | public const int AGENT_BY_LEGACY_NAME = 1; | 54 | public const int AGENT_BY_LEGACY_NAME = 1; |
@@ -106,6 +107,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
106 | public const int PSYS_PART_TARGET_POS_MASK = 64; | 107 | public const int PSYS_PART_TARGET_POS_MASK = 64; |
107 | public const int PSYS_PART_TARGET_LINEAR_MASK = 128; | 108 | public const int PSYS_PART_TARGET_LINEAR_MASK = 128; |
108 | public const int PSYS_PART_EMISSIVE_MASK = 256; | 109 | public const int PSYS_PART_EMISSIVE_MASK = 256; |
110 | public const int PSYS_PART_RIBBON_MASK = 1024; | ||
109 | public const int PSYS_PART_FLAGS = 0; | 111 | public const int PSYS_PART_FLAGS = 0; |
110 | public const int PSYS_PART_START_COLOR = 1; | 112 | public const int PSYS_PART_START_COLOR = 1; |
111 | public const int PSYS_PART_START_ALPHA = 2; | 113 | public const int PSYS_PART_START_ALPHA = 2; |
@@ -129,6 +131,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
129 | public const int PSYS_SRC_OMEGA = 21; | 131 | public const int PSYS_SRC_OMEGA = 21; |
130 | public const int PSYS_SRC_ANGLE_BEGIN = 22; | 132 | public const int PSYS_SRC_ANGLE_BEGIN = 22; |
131 | public const int PSYS_SRC_ANGLE_END = 23; | 133 | public const int PSYS_SRC_ANGLE_END = 23; |
134 | public const int PSYS_PART_BLEND_FUNC_SOURCE = 24; | ||
135 | public const int PSYS_PART_BLEND_FUNC_DEST = 25; | ||
136 | public const int PSYS_PART_START_GLOW = 26; | ||
137 | public const int PSYS_PART_END_GLOW = 27; | ||
138 | public const int PSYS_PART_BF_ONE = 0; | ||
139 | public const int PSYS_PART_BF_ZERO = 1; | ||
140 | public const int PSYS_PART_BF_DEST_COLOR = 2; | ||
141 | public const int PSYS_PART_BF_SOURCE_COLOR = 3; | ||
142 | public const int PSYS_PART_BF_ONE_MINUS_DEST_COLOR = 4; | ||
143 | public const int PSYS_PART_BF_ONE_MINUS_SOURCE_COLOR = 5; | ||
144 | public const int PSYS_PART_BF_SOURCE_ALPHA = 7; | ||
145 | public const int PSYS_PART_BF_ONE_MINUS_SOURCE_ALPHA = 9; | ||
132 | public const int PSYS_SRC_PATTERN_DROP = 1; | 146 | public const int PSYS_SRC_PATTERN_DROP = 1; |
133 | public const int PSYS_SRC_PATTERN_EXPLODE = 2; | 147 | public const int PSYS_SRC_PATTERN_EXPLODE = 2; |
134 | public const int PSYS_SRC_PATTERN_ANGLE = 4; | 148 | public const int PSYS_SRC_PATTERN_ANGLE = 4; |
@@ -236,6 +250,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
236 | public const int ATTACH_HUD_BOTTOM_LEFT = 36; | 250 | public const int ATTACH_HUD_BOTTOM_LEFT = 36; |
237 | public const int ATTACH_HUD_BOTTOM = 37; | 251 | public const int ATTACH_HUD_BOTTOM = 37; |
238 | public const int ATTACH_HUD_BOTTOM_RIGHT = 38; | 252 | public const int ATTACH_HUD_BOTTOM_RIGHT = 38; |
253 | public const int ATTACH_NECK = 39; | ||
254 | public const int ATTACH_AVATAR_CENTER = 40; | ||
239 | 255 | ||
240 | #region osMessageAttachments constants | 256 | #region osMessageAttachments constants |
241 | 257 | ||
@@ -355,6 +371,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
355 | public const int HTTP_MIMETYPE = 1; | 371 | public const int HTTP_MIMETYPE = 1; |
356 | public const int HTTP_BODY_MAXLENGTH = 2; | 372 | public const int HTTP_BODY_MAXLENGTH = 2; |
357 | public const int HTTP_VERIFY_CERT = 3; | 373 | public const int HTTP_VERIFY_CERT = 3; |
374 | public const int HTTP_VERBOSE_THROTTLE = 4; | ||
375 | public const int HTTP_CUSTOM_HEADER = 5; | ||
376 | public const int HTTP_PRAGMA_NO_CACHE = 6; | ||
377 | |||
378 | // llSetContentType | ||
379 | public const int CONTENT_TYPE_TEXT = 0; //text/plain | ||
380 | public const int CONTENT_TYPE_HTML = 1; //text/html | ||
381 | public const int CONTENT_TYPE_XML = 2; //application/xml | ||
382 | public const int CONTENT_TYPE_XHTML = 3; //application/xhtml+xml | ||
383 | public const int CONTENT_TYPE_ATOM = 4; //application/atom+xml | ||
384 | public const int CONTENT_TYPE_JSON = 5; //application/json | ||
385 | public const int CONTENT_TYPE_LLSD = 6; //application/llsd+xml | ||
386 | public const int CONTENT_TYPE_FORM = 7; //application/x-www-form-urlencoded | ||
387 | public const int CONTENT_TYPE_RSS = 8; //application/rss+xml | ||
358 | 388 | ||
359 | public const int PRIM_MATERIAL = 2; | 389 | public const int PRIM_MATERIAL = 2; |
360 | public const int PRIM_PHYSICS = 3; | 390 | public const int PRIM_PHYSICS = 3; |
@@ -381,6 +411,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
381 | public const int PRIM_POS_LOCAL = 33; | 411 | public const int PRIM_POS_LOCAL = 33; |
382 | public const int PRIM_LINK_TARGET = 34; | 412 | public const int PRIM_LINK_TARGET = 34; |
383 | public const int PRIM_SLICE = 35; | 413 | public const int PRIM_SLICE = 35; |
414 | public const int PRIM_SPECULAR = 36; | ||
415 | public const int PRIM_NORMAL = 37; | ||
416 | public const int PRIM_ALPHA_MODE = 38; | ||
384 | public const int PRIM_TEXGEN_DEFAULT = 0; | 417 | public const int PRIM_TEXGEN_DEFAULT = 0; |
385 | public const int PRIM_TEXGEN_PLANAR = 1; | 418 | public const int PRIM_TEXGEN_PLANAR = 1; |
386 | 419 | ||
@@ -563,6 +596,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
563 | public const int OBJECT_PHYSICS = 21; | 596 | public const int OBJECT_PHYSICS = 21; |
564 | public const int OBJECT_PHANTOM = 22; | 597 | public const int OBJECT_PHANTOM = 22; |
565 | public const int OBJECT_TEMP_ON_REZ = 23; | 598 | public const int OBJECT_TEMP_ON_REZ = 23; |
599 | public const int OBJECT_RENDER_WEIGHT = 24; | ||
600 | public const int OBJECT_HOVER_HEIGHT = 25; | ||
601 | public const int OBJECT_BODY_SHAPE_TYPE = 26; | ||
602 | public const int OBJECT_LAST_OWNER_ID = 27; | ||
566 | 603 | ||
567 | // Pathfinding types | 604 | // Pathfinding types |
568 | public const int OPT_OTHER = -1; | 605 | public const int OPT_OTHER = -1; |
@@ -635,7 +672,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
635 | public const int TOUCH_INVALID_FACE = -1; | 672 | public const int TOUCH_INVALID_FACE = -1; |
636 | public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0); | 673 | public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0); |
637 | public static readonly vector TOUCH_INVALID_VECTOR = ZERO_VECTOR; | 674 | public static readonly vector TOUCH_INVALID_VECTOR = ZERO_VECTOR; |
638 | 675 | ||
639 | // constants for llGetPrimMediaParams/llSetPrimMediaParams | 676 | // constants for llGetPrimMediaParams/llSetPrimMediaParams |
640 | public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0; | 677 | public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0; |
641 | public const int PRIM_MEDIA_CONTROLS = 1; | 678 | public const int PRIM_MEDIA_CONTROLS = 1; |
@@ -652,15 +689,26 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
652 | public const int PRIM_MEDIA_WHITELIST = 12; | 689 | public const int PRIM_MEDIA_WHITELIST = 12; |
653 | public const int PRIM_MEDIA_PERMS_INTERACT = 13; | 690 | public const int PRIM_MEDIA_PERMS_INTERACT = 13; |
654 | public const int PRIM_MEDIA_PERMS_CONTROL = 14; | 691 | public const int PRIM_MEDIA_PERMS_CONTROL = 14; |
655 | 692 | ||
656 | public const int PRIM_MEDIA_CONTROLS_STANDARD = 0; | 693 | public const int PRIM_MEDIA_CONTROLS_STANDARD = 0; |
657 | public const int PRIM_MEDIA_CONTROLS_MINI = 1; | 694 | public const int PRIM_MEDIA_CONTROLS_MINI = 1; |
658 | 695 | ||
659 | public const int PRIM_MEDIA_PERM_NONE = 0; | 696 | public const int PRIM_MEDIA_PERM_NONE = 0; |
660 | public const int PRIM_MEDIA_PERM_OWNER = 1; | 697 | public const int PRIM_MEDIA_PERM_OWNER = 1; |
661 | public const int PRIM_MEDIA_PERM_GROUP = 2; | 698 | public const int PRIM_MEDIA_PERM_GROUP = 2; |
662 | public const int PRIM_MEDIA_PERM_ANYONE = 4; | 699 | public const int PRIM_MEDIA_PERM_ANYONE = 4; |
663 | 700 | ||
701 | public const int PRIM_PHYSICS_SHAPE_TYPE = 30; | ||
702 | public const int PRIM_PHYSICS_SHAPE_PRIM = 0; | ||
703 | public const int PRIM_PHYSICS_SHAPE_CONVEX = 2; | ||
704 | public const int PRIM_PHYSICS_SHAPE_NONE = 1; | ||
705 | |||
706 | public const int PRIM_PHYSICS_MATERIAL = 31; | ||
707 | public const int DENSITY = 1; | ||
708 | public const int FRICTION = 2; | ||
709 | public const int RESTITUTION = 4; | ||
710 | public const int GRAVITY_MULTIPLIER = 8; | ||
711 | |||
664 | // extra constants for llSetPrimMediaParams | 712 | // extra constants for llSetPrimMediaParams |
665 | public static readonly LSLInteger LSL_STATUS_OK = new LSLInteger(0); | 713 | public static readonly LSLInteger LSL_STATUS_OK = new LSLInteger(0); |
666 | public static readonly LSLInteger LSL_STATUS_MALFORMED_PARAMS = new LSLInteger(1000); | 714 | public static readonly LSLInteger LSL_STATUS_MALFORMED_PARAMS = new LSLInteger(1000); |
@@ -677,7 +725,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
677 | public const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; | 725 | public const string TEXTURE_PLYWOOD = "89556747-24cb-43ed-920b-47caed15465f"; |
678 | public const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"; | 726 | public const string TEXTURE_TRANSPARENT = "8dcd4a48-2d37-4909-9f78-f7a9eb4ef903"; |
679 | public const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"; | 727 | public const string TEXTURE_MEDIA = "8b5fec65-8d8d-9dc5-cda8-8fdf2716e361"; |
680 | 728 | ||
681 | // Constants for osGetRegionStats | 729 | // Constants for osGetRegionStats |
682 | public const int STATS_TIME_DILATION = 0; | 730 | public const int STATS_TIME_DILATION = 0; |
683 | public const int STATS_SIM_FPS = 1; | 731 | public const int STATS_SIM_FPS = 1; |
@@ -730,9 +778,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | |||
730 | public static readonly LSLInteger RC_GET_ROOT_KEY = 2; | 778 | public static readonly LSLInteger RC_GET_ROOT_KEY = 2; |
731 | public static readonly LSLInteger RC_GET_LINK_NUM = 4; | 779 | public static readonly LSLInteger RC_GET_LINK_NUM = 4; |
732 | 780 | ||
733 | public static readonly LSLInteger RCERR_UNKNOWN = -1; | 781 | public static readonly LSLInteger RCERR_UNKNOWN = -1; |
734 | public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; | 782 | public static readonly LSLInteger RCERR_SIM_PERF_LOW = -2; |
735 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = 3; | 783 | public static readonly LSLInteger RCERR_CAST_TIME_EXCEEDED = -3; |
784 | |||
785 | public const int KFM_MODE = 1; | ||
786 | public const int KFM_LOOP = 1; | ||
787 | public const int KFM_REVERSE = 3; | ||
788 | public const int KFM_FORWARD = 0; | ||
789 | public const int KFM_PING_PONG = 2; | ||
790 | public const int KFM_DATA = 2; | ||
791 | public const int KFM_TRANSLATION = 2; | ||
792 | public const int KFM_ROTATION = 1; | ||
793 | public const int KFM_COMMAND = 0; | ||
794 | public const int KFM_CMD_PLAY = 0; | ||
795 | public const int KFM_CMD_STOP = 1; | ||
796 | public const int KFM_CMD_PAUSE = 2; | ||
736 | 797 | ||
737 | /// <summary> | 798 | /// <summary> |
738 | /// process name parameter as regex | 799 | /// process name parameter as regex |