* Updates LSL2CS converter

* All objects are not touchable by default now
* When a script listens for one of the touch events in the state, an object becomes touchable.
* All LSL scripts report which events they consume now
** This uses semi-complicated Regex to discover the events, stick them in a dictionary, and then write a method call into each script state's state_entry() event.
** Tedd may figure out a better way to do this in the future.  For now, this works for LSL.
This commit is contained in:
Teravus Ovares
2008-04-20 04:19:44 +00:00
parent 7d18a93c2e
commit 3358d70c5b
8 changed files with 358 additions and 4 deletions

View File

@@ -1990,6 +1990,10 @@ namespace OpenSim.Region.ScriptEngine.Common
return m_LSL_Functions.osDrawImage(drawList, width, height, imageUrl);
}
public void osSetStateEvents(int events)
{
m_LSL_Functions.osSetStateEvents(events);
}
//