aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Runtime
diff options
context:
space:
mode:
authorCharles Krinke2008-08-07 15:02:29 +0000
committerCharles Krinke2008-08-07 15:02:29 +0000
commitb72cc7df015d635c0c3d92b6ed450a147ed3c10b (patch)
tree72338df330f665e7c42bd495b138bf54140f9883 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime
parentPatch #9158 (diff)
downloadopensim-SC-b72cc7df015d635c0c3d92b6ed450a147ed3c10b.zip
opensim-SC-b72cc7df015d635c0c3d92b6ed450a147ed3c10b.tar.gz
opensim-SC-b72cc7df015d635c0c3d92b6ed450a147ed3c10b.tar.bz2
opensim-SC-b72cc7df015d635c0c3d92b6ed450a147ed3c10b.tar.xz
Mantis#1888. Thank you kindly, Tyre for a patch that:
This patch adds the missing parcel and region flag constants for LSL scripts. Tested with .Net and XEngine
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Runtime')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs29
1 files changed, 28 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 3dc1c05..739e168 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -371,6 +371,33 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
371 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8; 371 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8;
372 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9; 372 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9;
373 373
374 public const int PARCEL_FLAG_ALLOW_FLY = 0x1; // parcel allows flying
375 public const int PARCEL_FLAG_ALLOW_SCRIPTS = 0x2; // parcel allows outside scripts
376 public const int PARCEL_FLAG_ALLOW_LANDMARK = 0x8; // parcel allows landmarks to be created
377 public const int PARCEL_FLAG_ALLOW_TERRAFORM = 0x10; // parcel allows anyone to terraform the land
378 public const int PARCEL_FLAG_ALLOW_DAMAGE = 0x20; // parcel allows damage
379 public const int PARCEL_FLAG_ALLOW_CREATE_OBJECTS = 0x40; // parcel allows anyone to create objects
380 public const int PARCEL_FLAG_USE_ACCESS_GROUP = 0x100; // parcel limits access to a group
381 public const int PARCEL_FLAG_USE_ACCESS_LIST = 0x200; // parcel limits access to a list of residents
382 public const int PARCEL_FLAG_USE_BAN_LIST = 0x400; // parcel uses a ban list, including restricting access based on payment info
383 public const int PARCEL_FLAG_USE_LAND_PASS_LIST = 0x800; // parcel allows passes to be purchased
384 public const int PARCEL_FLAG_LOCAL_SOUND_ONLY = 0x8000; // parcel restricts spatialized sound to the parcel
385 public const int PARCEL_FLAG_RESTRICT_PUSHOBJECT = 0x200000; // parcel restricts llPushObject
386 public const int PARCEL_FLAG_ALLOW_GROUP_SCRIPTS = 0x2000000; // parcel allows scripts owned by group
387 public const int PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS = 0x4000000; // parcel allows group object creation
388 public const int PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY = 0x8000000; // parcel allows objects owned by any user to enter
389 public const int PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY = 0x10000000; // parcel allows with the same group to enter
390
391 public const int REGION_FLAG_ALLOW_DAMAGE = 0x1; // region is entirely damage enabled
392 public const int REGION_FLAG_FIXED_SUN = 0x10; // region has a fixed sun position
393 public const int REGION_FLAG_BLOCK_TERRAFORM = 0x40; // region terraforming disabled
394 public const int REGION_FLAG_SANDBOX = 0x100; // region is a sandbox
395 public const int REGION_FLAG_DISABLE_COLLISIONS = 0x1000; // region has disabled collisions
396 public const int REGION_FLAG_DISABLE_PHYSICS = 0x4000; // region has disabled physics
397 public const int REGION_FLAG_BLOCK_FLY = 0x80000; // region blocks flying
398 public const int REGION_FLAG_ALLOW_DIRECT_TELEPORT = 0x100000; // region allows direct teleports
399 public const int REGION_FLAG_RESTRICT_PUSHOBJECT = 0x400000; // region restricts llPushObject
400
374 public const int PAY_HIDE = -1; 401 public const int PAY_HIDE = -1;
375 public const int PAY_DEFAULT = -2; 402 public const int PAY_DEFAULT = -2;
376 403
@@ -405,7 +432,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
405 public const int PARCEL_COUNT_SELECTED = 4; 432 public const int PARCEL_COUNT_SELECTED = 4;
406 public const int PARCEL_COUNT_TEMP = 5; 433 public const int PARCEL_COUNT_TEMP = 5;
407 434
408 public const int DEBUG_CHANNEL = 0x7FFFFFFF; 435 public const int DEBUG_CHANNEL = 0x7FFFFFFF;
409 public const int PUBLIC_CHANNEL = 0x00000000; 436 public const int PUBLIC_CHANNEL = 0x00000000;
410 437
411 public const int OBJECT_NAME = 1; 438 public const int OBJECT_NAME = 1;