aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorCharles Krinke2008-07-03 23:06:38 +0000
committerCharles Krinke2008-07-03 23:06:38 +0000
commitcf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc (patch)
tree09b2b6522aaabf1be6e2a6f8358a0f7a462443a1 /OpenSim/Region/ScriptEngine
parent* On client login, send only one terrain patch at a time (with pauses) instea... (diff)
downloadopensim-SC_OLD-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.zip
opensim-SC_OLD-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.tar.gz
opensim-SC_OLD-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.tar.bz2
opensim-SC_OLD-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.tar.xz
Mantis#1660. Thank you, kindly, Melanie for a patch that:
Attached patch changes TRUE and FALSE to be LSLIntegers.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs5
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
index c086f22..f02e970 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs
@@ -28,14 +28,15 @@
28using System; 28using System;
29using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; 29using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3;
30using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; 30using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion;
31using LSLInteger = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger;
31 32
32namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase 33namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase
33{ 34{
34 public partial class ScriptBaseClass : MarshalByRefObject 35 public partial class ScriptBaseClass : MarshalByRefObject
35 { 36 {
36 // LSL CONSTANTS 37 // LSL CONSTANTS
37 public const int TRUE = 1; 38 public LSLInteger TRUE = new LSLInteger(1);
38 public const int FALSE = 0; 39 public LSLInteger FALSE = new LSLInteger(0);
39 40
40 public const int STATUS_PHYSICS = 1; 41 public const int STATUS_PHYSICS = 1;
41 public const int STATUS_ROTATE_X = 2; 42 public const int STATUS_ROTATE_X = 2;