diff options
author | Tedd Hansen | 2007-08-12 18:27:46 +0000 |
---|---|---|
committer | Tedd Hansen | 2007-08-12 18:27:46 +0000 |
commit | d715b0f66c08ffc7c74003b1a583208763bece6f (patch) | |
tree | a258de57cdbbe3deca99c0cff74ec82add94f771 /OpenSim/Region | |
parent | LSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users won... (diff) | |
download | opensim-SC-d715b0f66c08ffc7c74003b1a583208763bece6f.zip opensim-SC-d715b0f66c08ffc7c74003b1a583208763bece6f.tar.gz opensim-SC-d715b0f66c08ffc7c74003b1a583208763bece6f.tar.bz2 opensim-SC-d715b0f66c08ffc7c74003b1a583208763bece6f.tar.xz |
LSL_BaseClass now receives scene during init
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 9 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt | 21 |
2 files changed, 6 insertions, 24 deletions
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs index cf91880..896c674 100644 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | |||
@@ -8,16 +8,19 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL | |||
8 | public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface | 8 | public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface |
9 | { | 9 | { |
10 | public UInt32 State = 0; | 10 | public UInt32 State = 0; |
11 | internal OpenSim.Region.Environment.Scenes.Scene World; | ||
11 | 12 | ||
12 | public void Start(string FullScriptID) | 13 | public void Start(OpenSim.Region.Environment.Scenes.Scene _World, string FullScriptID) |
13 | { | 14 | { |
15 | World = _World; | ||
14 | Common.SendToLog("OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass.Start() called. FullScriptID: " + FullScriptID); | 16 | Common.SendToLog("OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass.Start() called. FullScriptID: " + FullScriptID); |
15 | 17 | ||
16 | return; | 18 | return; |
17 | } | 19 | } |
18 | 20 | ||
19 | 21 | // | |
20 | 22 | // IMPLEMENT THESE! | |
23 | // | ||
21 | 24 | ||
22 | 25 | ||
23 | 26 | ||
diff --git a/OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt b/OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt deleted file mode 100644 index 531ff13..0000000 --- a/OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt +++ /dev/null | |||
@@ -1,21 +0,0 @@ | |||
1 | |||
2 | |||
3 | |||
4 | EventManager.cs | ||
5 | --------------- | ||
6 | * Hook up to the worlds touch-event: | ||
7 | myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start); | ||
8 | |||
9 | * Modify: | ||
10 | public void touch_start(string ObjectID) | ||
11 | to correct parameters to match the event | ||
12 | |||
13 | * Make hooks to add/remove script using ScriptManager.cs | ||
14 | |||
15 | |||
16 | |||
17 | LSL_BuiltIn_Commands_TestImplementation.cs | ||
18 | ------------------------------------------ | ||
19 | * Change llSay to do something useful (send message) | ||
20 | |||
21 | |||