mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 22:26:09 +08:00
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.
This commit is contained in:
@@ -2115,9 +2115,11 @@ namespace OpenSim.Grid.ScriptEngine.DotNetEngine.Compiler.LSL
|
||||
public const double DEG_TO_RAD = 0.01745329238f;
|
||||
public const double RAD_TO_DEG = 57.29578f;
|
||||
public const double SQRT2 = 1.414213538f;
|
||||
public const int DEBUG_CHANNEL 0x7FFFFFFF;
|
||||
public const int PUBLIC_CHANNEL 0x00000000
|
||||
|
||||
// Can not be public const?
|
||||
public vector ZERO_VECTOR = new vector(0, 0, 0);
|
||||
public rotation ZERO_ROTATION = new rotation(0, 0, 0, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user