From f141751cf9bba02a6fdd78d4c1578d6b73f31897 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Tue, 9 Sep 2008 14:51:41 +0000 Subject: [PATCH] From: alan_webb@us.ibm.com Make CHANGED constants consistent with LSL, and consistent across the code base --- .../ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 3 +++ OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 5 ++++- .../Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 3 +++ .../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 e1ab733f4c..be224848db 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 352de27f88..eaabdd50b6 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 d59da96922..4fba1fdcac 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 6de7ca478d..5bcb135ce5 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;