aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorTedd Hansen2007-08-12 18:27:46 +0000
committerTedd Hansen2007-08-12 18:27:46 +0000
commitd715b0f66c08ffc7c74003b1a583208763bece6f (patch)
treea258de57cdbbe3deca99c0cff74ec82add94f771
parentLSL BuiltIn implementation is now in Compiler\LSL\LSL_BaseClass. So users won... (diff)
downloadopensim-SC_OLD-d715b0f66c08ffc7c74003b1a583208763bece6f.zip
opensim-SC_OLD-d715b0f66c08ffc7c74003b1a583208763bece6f.tar.gz
opensim-SC_OLD-d715b0f66c08ffc7c74003b1a583208763bece6f.tar.bz2
opensim-SC_OLD-d715b0f66c08ffc7c74003b1a583208763bece6f.tar.xz
LSL_BaseClass now receives scene during init
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/Compiler/LSL/LSL_BaseClass.cs9
-rw-r--r--OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt21
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
4EventManager.cs
5---------------
6* Hook up to the worlds touch-event:
7myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start);
8
9* Modify:
10public void touch_start(string ObjectID)
11to correct parameters to match the event
12
13* Make hooks to add/remove script using ScriptManager.cs
14
15
16
17LSL_BuiltIn_Commands_TestImplementation.cs
18------------------------------------------
19* Change llSay to do something useful (send message)
20
21