From d715b0f66c08ffc7c74003b1a583208763bece6f Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Sun, 12 Aug 2007 18:27:46 +0000 Subject: LSL_BaseClass now receives scene during init --- .../DotNetEngine/Compiler/LSL/LSL_BaseClass.cs | 9 ++++++--- OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt | 21 --------------------- 2 files changed, 6 insertions(+), 24 deletions(-) delete mode 100644 OpenSim/Region/ScriptEngine/DotNetEngine/TODO.txt (limited to 'OpenSim') 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 public class LSL_BaseClass : LSL_BuiltIn_Commands_Interface { public UInt32 State = 0; + internal OpenSim.Region.Environment.Scenes.Scene World; - public void Start(string FullScriptID) + public void Start(OpenSim.Region.Environment.Scenes.Scene _World, string FullScriptID) { + World = _World; Common.SendToLog("OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL.LSL_BaseClass.Start() called. FullScriptID: " + FullScriptID); return; } - - + // + // IMPLEMENT THESE! + // 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 @@ - - - -EventManager.cs ---------------- -* Hook up to the worlds touch-event: -myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start); - -* Modify: -public void touch_start(string ObjectID) -to correct parameters to match the event - -* Make hooks to add/remove script using ScriptManager.cs - - - -LSL_BuiltIn_Commands_TestImplementation.cs ------------------------------------------- -* Change llSay to do something useful (send message) - - -- cgit v1.1