diff options
author | Charles Krinke | 2008-07-03 23:06:38 +0000 |
---|---|---|
committer | Charles Krinke | 2008-07-03 23:06:38 +0000 |
commit | cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc (patch) | |
tree | 09b2b6522aaabf1be6e2a6f8358a0f7a462443a1 /OpenSim/Region/ScriptEngine/Shared/Api/Runtime | |
parent | * On client login, send only one terrain patch at a time (with pauses) instea... (diff) | |
download | opensim-SC-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.zip opensim-SC-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.tar.gz opensim-SC-cf87a9c5fe0d7caba775d5f3947edbb1e4eac9fc.tar.bz2 opensim-SC-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/Shared/Api/Runtime')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Runtime/LSL_Constants.cs | 5 |
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 @@ | |||
28 | using System; | 28 | using System; |
29 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; | 29 | using vector = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Vector3; |
30 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; | 30 | using rotation = OpenSim.Region.ScriptEngine.Shared.LSL_Types.Quaternion; |
31 | using LSLInteger = OpenSim.Region.ScriptEngine.Shared.LSL_Types.LSLInteger; | ||
31 | 32 | ||
32 | namespace OpenSim.Region.ScriptEngine.Shared.ScriptBase | 33 | namespace 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; |