aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-12 19:46:23 +0100
committerJustin Clark-Casey (justincc)2010-07-26 23:34:19 +0100
commita5ad792e6c90eb9412325e636c6e4eafc4a8a91d (patch)
treef1acb8a3b4bcd249d4d913e5ea15f5ba45d234de /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentImplement llGetPrimMediaParams() (diff)
downloadopensim-SC_OLD-a5ad792e6c90eb9412325e636c6e4eafc4a8a91d.zip
opensim-SC_OLD-a5ad792e6c90eb9412325e636c6e4eafc4a8a91d.tar.gz
opensim-SC_OLD-a5ad792e6c90eb9412325e636c6e4eafc4a8a91d.tar.bz2
opensim-SC_OLD-a5ad792e6c90eb9412325e636c6e4eafc4a8a91d.tar.xz
implement llSetPrimMediaParams()
Untested
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs12
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index 9a64f8c..6ef786a 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -518,7 +518,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
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 520
521 // constants for llGetPrimMediaParams 521 // constants for llGetPrimMediaParams/llSetPrimMediaParams
522 public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0; 522 public const int PRIM_MEDIA_ALT_IMAGE_ENABLE = 0;
523 public const int PRIM_MEDIA_CONTROLS = 1; 523 public const int PRIM_MEDIA_CONTROLS = 1;
524 public const int PRIM_MEDIA_CURRENT_URL = 2; 524 public const int PRIM_MEDIA_CURRENT_URL = 2;
@@ -542,6 +542,16 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
542 public const int PRIM_MEDIA_PERM_OWNER = 1; 542 public const int PRIM_MEDIA_PERM_OWNER = 1;
543 public const int PRIM_MEDIA_PERM_GROUP = 2; 543 public const int PRIM_MEDIA_PERM_GROUP = 2;
544 public const int PRIM_MEDIA_PERM_ANYONE = 4; 544 public const int PRIM_MEDIA_PERM_ANYONE = 4;
545
546 // extra constants for llSetPrimMediaParams
547 public static readonly LSLInteger LSL_STATUS_OK = new LSLInteger(0);
548 public static readonly LSLInteger LSL_STATUS_MALFORMED_PARAMS = new LSLInteger(1000);
549 public static readonly LSLInteger LSL_STATUS_TYPE_MISMATCH = new LSLInteger(1001);
550 public static readonly LSLInteger LSL_STATUS_BOUNDS_ERROR = new LSLInteger(1002);
551 public static readonly LSLInteger LSL_STATUS_NOT_FOUND = new LSLInteger(1003);
552 public static readonly LSLInteger LSL_STATUS_NOT_SUPPORTED = new LSLInteger(1004);
553 public static readonly LSLInteger LSL_STATUS_INTERNAL_ERROR = new LSLInteger(1999);
554 public static readonly LSLInteger LSL_STATUS_WHITELIST_FAILED = new LSLInteger(2001);
545 555
546 // Constants for default textures 556 // Constants for default textures
547 public const string TEXTURE_BLANK = "5748decc-f629-461c-9a36-a35a221fe21f"; 557 public const string TEXTURE_BLANK = "5748decc-f629-461c-9a36-a35a221fe21f";