aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Common
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/Common
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/Common')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs27
1 files changed, 27 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
index 696967b..0a2ce15 100644
--- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
+++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs
@@ -2376,6 +2376,33 @@ namespace OpenSim.Region.ScriptEngine.Common
2376 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8; 2376 public const int PARCEL_MEDIA_COMMAND_UNLOAD = 8;
2377 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9; 2377 public const int PARCEL_MEDIA_COMMAND_AUTO_ALIGN = 9;
2378 2378
2379 public const int PARCEL_FLAG_ALLOW_FLY = 0x1; // parcel allows flying
2380 public const int PARCEL_FLAG_ALLOW_SCRIPTS = 0x2; // parcel allows outside scripts
2381 public const int PARCEL_FLAG_ALLOW_LANDMARK = 0x8; // parcel allows landmarks to be created
2382 public const int PARCEL_FLAG_ALLOW_TERRAFORM = 0x10; // parcel allows anyone to terraform the land
2383 public const int PARCEL_FLAG_ALLOW_DAMAGE = 0x20; // parcel allows damage
2384 public const int PARCEL_FLAG_ALLOW_CREATE_OBJECTS = 0x40; // parcel allows anyone to create objects
2385 public const int PARCEL_FLAG_USE_ACCESS_GROUP = 0x100; // parcel limits access to a group
2386 public const int PARCEL_FLAG_USE_ACCESS_LIST = 0x200; // parcel limits access to a list of residents
2387 public const int PARCEL_FLAG_USE_BAN_LIST = 0x400; // parcel uses a ban list, including restricting access based on payment info
2388 public const int PARCEL_FLAG_USE_LAND_PASS_LIST = 0x800; // parcel allows passes to be purchased
2389 public const int PARCEL_FLAG_LOCAL_SOUND_ONLY = 0x8000; // parcel restricts spatialized sound to the parcel
2390 public const int PARCEL_FLAG_RESTRICT_PUSHOBJECT = 0x200000; // parcel restricts llPushObject
2391 public const int PARCEL_FLAG_ALLOW_GROUP_SCRIPTS = 0x2000000; // parcel allows scripts owned by group
2392 public const int PARCEL_FLAG_ALLOW_CREATE_GROUP_OBJECTS = 0x4000000; // parcel allows group object creation
2393 public const int PARCEL_FLAG_ALLOW_ALL_OBJECT_ENTRY = 0x8000000; // parcel allows objects owned by any user to enter
2394 public const int PARCEL_FLAG_ALLOW_GROUP_OBJECT_ENTRY = 0x10000000; // parcel allows with the same group to enter
2395
2396 public const int REGION_FLAG_ALLOW_DAMAGE = 0x1; // region is entirely damage enabled
2397 public const int REGION_FLAG_FIXED_SUN = 0x10; // region has a fixed sun position
2398 public const int REGION_FLAG_BLOCK_TERRAFORM = 0x40; // region terraforming disabled
2399 public const int REGION_FLAG_SANDBOX = 0x100; // region is a sandbox
2400 public const int REGION_FLAG_DISABLE_COLLISIONS = 0x1000; // region has disabled collisions
2401 public const int REGION_FLAG_DISABLE_PHYSICS = 0x4000; // region has disabled physics
2402 public const int REGION_FLAG_BLOCK_FLY = 0x80000; // region blocks flying
2403 public const int REGION_FLAG_ALLOW_DIRECT_TELEPORT = 0x100000; // region allows direct teleports
2404 public const int REGION_FLAG_RESTRICT_PUSHOBJECT = 0x400000; // region restricts llPushObject
2405
2379 public const int PAY_HIDE = -1; 2406 public const int PAY_HIDE = -1;
2380 public const int PAY_DEFAULT = -2; 2407 public const int PAY_DEFAULT = -2;
2381 2408