aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-11-05 15:42:37 +0000
committerUbitUmarov2016-11-05 15:42:37 +0000
commitbe0a957363f3fda72fab94b427afd30b8af46785 (patch)
tree5bbecb4bf08ccb114c52fcd138144c7e5ebbcbd3
parentIt looks, that attachments show console command incorrectly returns Item ID. ... (diff)
downloadopensim-SC_OLD-be0a957363f3fda72fab94b427afd30b8af46785.zip
opensim-SC_OLD-be0a957363f3fda72fab94b427afd30b8af46785.tar.gz
opensim-SC_OLD-be0a957363f3fda72fab94b427afd30b8af46785.tar.bz2
opensim-SC_OLD-be0a957363f3fda72fab94b427afd30b8af46785.tar.xz
add a few lsl constants and move some around
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs27
1 files changed, 20 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 4a8e885..1a3de1e 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -336,11 +336,15 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
336 public const int ROTATE = 32; 336 public const int ROTATE = 32;
337 public const int SCALE = 64; 337 public const int SCALE = 64;
338 public const int ALL_SIDES = -1; 338 public const int ALL_SIDES = -1;
339
340 // LINK flags
339 public const int LINK_SET = -1; 341 public const int LINK_SET = -1;
342 public const int LINK_TRUEROOT = 0; // possible this should had been ROOT all the time
340 public const int LINK_ROOT = 1; 343 public const int LINK_ROOT = 1;
341 public const int LINK_ALL_OTHERS = -2; 344 public const int LINK_ALL_OTHERS = -2;
342 public const int LINK_ALL_CHILDREN = -3; 345 public const int LINK_ALL_CHILDREN = -3;
343 public const int LINK_THIS = -4; 346 public const int LINK_THIS = -4;
347
344 public const int CHANGED_INVENTORY = 1; 348 public const int CHANGED_INVENTORY = 1;
345 public const int CHANGED_COLOR = 2; 349 public const int CHANGED_COLOR = 2;
346 public const int CHANGED_SHAPE = 4; 350 public const int CHANGED_SHAPE = 4;
@@ -356,6 +360,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
356 public const int CHANGED_MEDIA = 2048; 360 public const int CHANGED_MEDIA = 2048;
357 public const int CHANGED_ANIMATION = 16384; 361 public const int CHANGED_ANIMATION = 16384;
358 public const int CHANGED_POSITION = 32768; 362 public const int CHANGED_POSITION = 32768;
363
359 public const int TYPE_INVALID = 0; 364 public const int TYPE_INVALID = 0;
360 public const int TYPE_INTEGER = 1; 365 public const int TYPE_INTEGER = 1;
361 public const int TYPE_FLOAT = 2; 366 public const int TYPE_FLOAT = 2;
@@ -389,6 +394,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
389 public const int CONTENT_TYPE_FORM = 7; //application/x-www-form-urlencoded 394 public const int CONTENT_TYPE_FORM = 7; //application/x-www-form-urlencoded
390 public const int CONTENT_TYPE_RSS = 8; //application/rss+xml 395 public const int CONTENT_TYPE_RSS = 8; //application/rss+xml
391 396
397 //parameters comand flags
392 public const int PRIM_MATERIAL = 2; 398 public const int PRIM_MATERIAL = 2;
393 public const int PRIM_PHYSICS = 3; 399 public const int PRIM_PHYSICS = 3;
394 public const int PRIM_TEMP_ON_REZ = 4; 400 public const int PRIM_TEMP_ON_REZ = 4;
@@ -397,19 +403,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
397 public const int PRIM_SIZE = 7; 403 public const int PRIM_SIZE = 7;
398 public const int PRIM_ROTATION = 8; 404 public const int PRIM_ROTATION = 8;
399 public const int PRIM_TYPE = 9; 405 public const int PRIM_TYPE = 9;
406 // gap 10-16
400 public const int PRIM_TEXTURE = 17; 407 public const int PRIM_TEXTURE = 17;
401 public const int PRIM_COLOR = 18; 408 public const int PRIM_COLOR = 18;
402 public const int PRIM_BUMP_SHINY = 19; 409 public const int PRIM_BUMP_SHINY = 19;
403 public const int PRIM_FULLBRIGHT = 20; 410 public const int PRIM_FULLBRIGHT = 20;
404 public const int PRIM_FLEXIBLE = 21; 411 public const int PRIM_FLEXIBLE = 21;
405 public const int PRIM_TEXGEN = 22; 412 public const int PRIM_TEXGEN = 22;
406 public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake
407 public const int PRIM_POINT_LIGHT = 23; // Huh? 413 public const int PRIM_POINT_LIGHT = 23; // Huh?
414 public const int PRIM_CAST_SHADOWS = 24; // Not implemented, here for completeness sake
408 public const int PRIM_GLOW = 25; 415 public const int PRIM_GLOW = 25;
409 public const int PRIM_TEXT = 26; 416 public const int PRIM_TEXT = 26;
410 public const int PRIM_NAME = 27; 417 public const int PRIM_NAME = 27;
411 public const int PRIM_DESC = 28; 418 public const int PRIM_DESC = 28;
412 public const int PRIM_ROT_LOCAL = 29; 419 public const int PRIM_ROT_LOCAL = 29;
420 public const int PRIM_PHYSICS_SHAPE_TYPE = 30;
421 public const int PRIM_PHYSICS_MATERIAL = 31; // aparently not SL
413 public const int PRIM_OMEGA = 32; 422 public const int PRIM_OMEGA = 32;
414 public const int PRIM_POS_LOCAL = 33; 423 public const int PRIM_POS_LOCAL = 33;
415 public const int PRIM_LINK_TARGET = 34; 424 public const int PRIM_LINK_TARGET = 34;
@@ -417,6 +426,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
417 public const int PRIM_SPECULAR = 36; 426 public const int PRIM_SPECULAR = 36;
418 public const int PRIM_NORMAL = 37; 427 public const int PRIM_NORMAL = 37;
419 public const int PRIM_ALPHA_MODE = 38; 428 public const int PRIM_ALPHA_MODE = 38;
429 public const int PRIM_ALLOW_UNSIT = 39; // experiences related. Unsuport
430 public const int PRIM_SCRIPTED_SIT_ONLY = 40; // experiences related. Unsuport
431 public const int PRIM_SIT_TARGET = 40;
432
433
434 // parameters
420 public const int PRIM_TEXGEN_DEFAULT = 0; 435 public const int PRIM_TEXGEN_DEFAULT = 0;
421 public const int PRIM_TEXGEN_PLANAR = 1; 436 public const int PRIM_TEXGEN_PLANAR = 1;
422 437
@@ -473,6 +488,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
473 public const int PRIM_SCULPT_FLAG_INVERT = 64; 488 public const int PRIM_SCULPT_FLAG_INVERT = 64;
474 public const int PRIM_SCULPT_FLAG_MIRROR = 128; 489 public const int PRIM_SCULPT_FLAG_MIRROR = 128;
475 490
491 public const int PRIM_PHYSICS_SHAPE_PRIM = 0;
492 public const int PRIM_PHYSICS_SHAPE_NONE = 1;
493 public const int PRIM_PHYSICS_SHAPE_CONVEX = 2;
494
476 public const int PROFILE_NONE = 0; 495 public const int PROFILE_NONE = 0;
477 public const int PROFILE_SCRIPT_MEMORY = 1; 496 public const int PROFILE_SCRIPT_MEMORY = 1;
478 497
@@ -701,12 +720,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
701 public const int PRIM_MEDIA_PERM_GROUP = 2; 720 public const int PRIM_MEDIA_PERM_GROUP = 2;
702 public const int PRIM_MEDIA_PERM_ANYONE = 4; 721 public const int PRIM_MEDIA_PERM_ANYONE = 4;
703 722
704 public const int PRIM_PHYSICS_SHAPE_TYPE = 30;
705 public const int PRIM_PHYSICS_SHAPE_PRIM = 0;
706 public const int PRIM_PHYSICS_SHAPE_CONVEX = 2;
707 public const int PRIM_PHYSICS_SHAPE_NONE = 1;
708
709 public const int PRIM_PHYSICS_MATERIAL = 31;
710 public const int DENSITY = 1; 723 public const int DENSITY = 1;
711 public const int FRICTION = 2; 724 public const int FRICTION = 2;
712 public const int RESTITUTION = 4; 725 public const int RESTITUTION = 4;