From f141751cf9bba02a6fdd78d4c1578d6b73f31897 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 9 Sep 2008 14:51:41 +0000 Subject: From: alan_webb@us.ibm.com Make CHANGED constants consistent with LSL, and consistent across the code base --- OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 3 +++ OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 5 ++++- OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 3 +++ OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 2 ++ 4 files changed, 12 insertions(+), 1 deletion(-) diff --git a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index e1ab733..be22484 100644 --- a/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Grid/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs @@ -2017,6 +2017,9 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL public const int CHANGED_LINK = 32; public const int CHANGED_ALLOWED_DROP = 64; public const int CHANGED_OWNER = 128; + public const int CHANGED_REGION_RESTART = 256; + public const int CHANGED_REGION = 512; + public const int CHANGED_TELEPORT = 1024; public const int TYPE_INVALID = 0; public const int TYPE_INTEGER = 1; public const int TYPE_double = 2; diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 352de27..eaabdd5 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs @@ -54,7 +54,10 @@ namespace OpenSim.Region.Environment.Scenes TEXTURE = 16, LINK = 32, ALLOWED_DROP = 64, - OWNER = 128 + OWNER = 128, + REGION_RESTART = 256, + REGION = 512, + TELEPORT = 1024 } // I don't really know where to put this except here. diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index d59da96..4fba1fd 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs @@ -2263,6 +2263,9 @@ namespace OpenSim.Region.ScriptEngine.Common public const int CHANGED_LINK = 32; public const int CHANGED_ALLOWED_DROP = 64; public const int CHANGED_OWNER = 128; + public const int CHANGED_REGION_RESTART = 256; + public const int CHANGED_REGION = 512; + public const int CHANGED_TELEPORT = 1024; public const int TYPE_INVALID = 0; public const int TYPE_INTEGER = 1; public const int TYPE_double = 2; diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs index 6de7ca4..5bcb135 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs @@ -258,6 +258,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase public const int CHANGED_ALLOWED_DROP = 64; public const int CHANGED_OWNER = 128; public const int CHANGED_REGION_RESTART = 256; + public const int CHANGED_REGION = 512; + public const int CHANGED_TELEPORT = 1024; public const int TYPE_INVALID = 0; public const int TYPE_INTEGER = 1; public const int TYPE_FLOAT = 2; -- cgit v1.1