diff options
author | Sean Dague | 2008-03-17 15:11:36 +0000 |
---|---|---|
committer | Sean Dague | 2008-03-17 15:11:36 +0000 |
commit | dba37a8722a375c77a31efa03c12c146126898d3 (patch) | |
tree | 89715aa67c3ba97d33ae1f5e50d31dbb952ce03b /OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |
parent | * Fixed prim creation in basic physics mode. ( BasicPhysics returns null prob... (diff) | |
download | opensim-SC_OLD-dba37a8722a375c77a31efa03c12c146126898d3.zip opensim-SC_OLD-dba37a8722a375c77a31efa03c12c146126898d3.tar.gz opensim-SC_OLD-dba37a8722a375c77a31efa03c12c146126898d3.tar.bz2 opensim-SC_OLD-dba37a8722a375c77a31efa03c12c146126898d3.tar.xz |
From: Alan M Webb <awebb@vnet.ibm.com>
Here's a diff of the changes I have made in support of the following LSL
script functions.
llSetScriptState
llGetScriptState
llCSV2List
llListRandomize
llList2ListStrided
llListFindList
llResetOtherScript
llGetScriptName
It was necessary to modify ExecutorBase in support of the ScriptState
implementations.
I also modified SceneObjectPart and SceneObjectPart.Inventory to
corrects a quoting mismatch in the commentary that through off live
parsing of the files.
I also simplified the State definition at the start of BuiltinCommands.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index 957f55c..9e30958 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -2310,9 +2310,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2310 | public const double DEG_TO_RAD = 0.01745329238f; | 2310 | public const double DEG_TO_RAD = 0.01745329238f; |
2311 | public const double RAD_TO_DEG = 57.29578f; | 2311 | public const double RAD_TO_DEG = 57.29578f; |
2312 | public const double SQRT2 = 1.414213538f; | 2312 | public const double SQRT2 = 1.414213538f; |
2313 | public const int STRING_TRIM_HEAD = 1; | 2313 | public const int STRING_TRIM_HEAD = 1; |
2314 | public const int STRING_TRIM_TAIL = 2; | 2314 | public const int STRING_TRIM_TAIL = 2; |
2315 | public const int STRING_TRIM = 3; | 2315 | public const int STRING_TRIM = 3; |
2316 | public const int LIST_STAT_RANGE = 0; | 2316 | public const int LIST_STAT_RANGE = 0; |
2317 | public const int LIST_STAT_MIN = 1; | 2317 | public const int LIST_STAT_MIN = 1; |
2318 | public const int LIST_STAT_MAX = 2; | 2318 | public const int LIST_STAT_MAX = 2; |
@@ -2333,6 +2333,9 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
2333 | public const int PARCEL_COUNT_SELECTED = 4; | 2333 | public const int PARCEL_COUNT_SELECTED = 4; |
2334 | public const int PARCEL_COUNT_TEMP = 5; | 2334 | public const int PARCEL_COUNT_TEMP = 5; |
2335 | 2335 | ||
2336 | public const int DEBUG_CHANNEL = 0x7FFFFFFF; | ||
2337 | public const int PUBLIC_CHANNEL = 0x00000000; | ||
2338 | |||
2336 | // Can not be public const? | 2339 | // Can not be public const? |
2337 | public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); | 2340 | public vector ZERO_VECTOR = new vector(0.0, 0.0, 0.0); |
2338 | public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); | 2341 | public rotation ZERO_ROTATION = new rotation(0.0, 0, 0.0, 1.0); |