aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-12 15:47:56 +0100
committerJustin Clark-Casey (justincc)2010-07-26 23:34:19 +0100
commit8f403cb4b87fc99c0274929464229b1497395b86 (patch)
tree00fd0580be37bd9eef194b60a55eddd127edd492 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentImplement media texture persistence over server restarts for sqlite (diff)
downloadopensim-SC_OLD-8f403cb4b87fc99c0274929464229b1497395b86.zip
opensim-SC_OLD-8f403cb4b87fc99c0274929464229b1497395b86.tar.gz
opensim-SC_OLD-8f403cb4b87fc99c0274929464229b1497395b86.tar.bz2
opensim-SC_OLD-8f403cb4b87fc99c0274929464229b1497395b86.tar.xz
Implement llGetPrimMediaParams()
Exposes method to get media entry via IMoapModule As yet untested.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index dba6502..9a64f8c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -517,6 +517,31 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
517 public const int TOUCH_INVALID_FACE = -1; 517 public const int TOUCH_INVALID_FACE = -1;
518 public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0); 518 public static readonly vector TOUCH_INVALID_TEXCOORD = new vector(-1.0, -1.0, 0.0);
519 public static readonly vector TOUCH_INVALID_VECTOR = ZERO_VECTOR; 519 public static readonly vector TOUCH_INVALID_VECTOR = ZERO_VECTOR;
520
521 // constants for llGetPrimMediaParams
522 public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0;
523 public const int PRIM_MEDIA_CONTROLS = 1;
524 public const int PRIM_MEDIA_CURRENT_URL = 2;
525 public const int PRIM_MEDIA_HOME_URL = 3;
526 public const int PRIM_MEDIA_AUTO_LOOP = 4;
527 public const int PRIM_MEDIA_AUTO_PLAY = 5;
528 public const int PRIM_MEDIA_AUTO_SCALE = 6;
529 public const int PRIM_MEDIA_AUTO_ZOOM = 7;
530 public const int PRIM_MEDIA_FIRST_CLICK_INTERACT = 8;
531 public const int PRIM_MEDIA_WIDTH_PIXELS = 9;
532 public const int PRIM_MEDIA_HEIGHT_PIXELS = 10;
533 public const int PRIM_MEDIA_WHITELIST_ENABLE = 11;
534 public const int PRIM_MEDIA_WHITELIST = 12;
535 public const int PRIM_MEDIA_PERMS_INTERACT = 13;
536 public const int PRIM_MEDIA_PERMS_CONTROL = 14;
537
538 public const int PRIM_MEDIA_CONTROLS_STANDARD = 0;
539 public const int PRIM_MEDIA_CONTROLS_MINI = 1;
540
541 public const int PRIM_MEDIA_PERM_NONE = 0;
542 public const int PRIM_MEDIA_PERM_OWNER = 1;
543 public const int PRIM_MEDIA_PERM_GROUP = 2;
544 public const int PRIM_MEDIA_PERM_ANYONE = 4;
520 545
521 // Constants for default textures 546 // Constants for default textures
522 public const string TEXTURE_BLANK = "5748decc-f629-461c-9a36-a35a221fe21f"; 547 public const string TEXTURE_BLANK = "5748decc-f629-461c-9a36-a35a221fe21f";