Removed 2 warnings. Added pointer comments to where to add hooks and modify functions to get SE working.

afrisby
Tedd Hansen 2007-08-09 20:59:35 +00:00
parent bbb411afe5
commit ae970d4171
4 changed files with 9 additions and 5 deletions

View File

@ -36,10 +36,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
{
static public bool Debug = true;
public delegate void SendToDebugEventDelegate(string Message);
public delegate void SendToLogEventDelegate(string Message);
static public event SendToDebugEventDelegate SendToDebugEvent;
static public event SendToLogEventDelegate SendToLogEvent;
//public delegate void SendToDebugEventDelegate(string Message);
//public delegate void SendToLogEventDelegate(string Message);
//static public event SendToDebugEventDelegate SendToDebugEvent;
//static public event SendToLogEventDelegate SendToLogEvent;
static public void SendToDebug(string Message)
{

View File

@ -70,6 +70,7 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
//public void llSay(UInt32 channelID, string text)
public void llSay(object channelID, object text)
{
//TODO: DO SOMETHING USEFUL HERE
Common.SendToDebug("INTERNAL FUNCTION llSay(" + (UInt32)channelID + ", \"" + (string)text + "\");");
Common.SendToLog("llSay Channel " + (UInt32)channelID + ", Text: \"" + (string)text + "\"");
}

View File

@ -44,8 +44,11 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine
// TODO: HOOK EVENTS UP TO SERVER!
Common.SendToDebug("EventManager Start");
// TODO: ADD SERVER HOOK TO LOAD A SCRIPT THROUGH myScriptEngine.ScriptManager
// Hook up a test event to our test form
Common.SendToDebug("EventManager Hooking up dummy-event: touch_start");
// TODO: REPLACE THIS WITH A REAL TOUCH_START EVENT IN SERVER
//myScriptEngine.World.touch_start += new TempWorldInterfaceEventDelegates.touch_start(touch_start);
}

View File

@ -29,7 +29,7 @@
using System;
using System.Collections.Generic;
using System.Text;
//TODO: WHERE TO PLACE THIS?
namespace OpenSim.Region.ScriptEngine.DotNetEngine
{
interface ScriptEngineInterface