diff options
author | Teravus Ovares | 2008-04-20 04:19:44 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-04-20 04:19:44 +0000 |
commit | 3358d70c5b174b2b9ac1216e9e43497279982805 (patch) | |
tree | 3b6684a1d58912962eeda8a6b5fd1fc69ae2d00d /OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |
parent | * Added experimental "svn load <revision>" command to allow you to load a reg... (diff) | |
download | opensim-SC-3358d70c5b174b2b9ac1216e9e43497279982805.zip opensim-SC-3358d70c5b174b2b9ac1216e9e43497279982805.tar.gz opensim-SC-3358d70c5b174b2b9ac1216e9e43497279982805.tar.bz2 opensim-SC-3358d70c5b174b2b9ac1216e9e43497279982805.tar.xz |
* 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.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs index cb4ca39..b6468c2 100644 --- a/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs +++ b/OpenSim/Region/ScriptEngine/Common/BuiltIn_Commands_BaseClass.cs | |||
@@ -1990,6 +1990,10 @@ namespace OpenSim.Region.ScriptEngine.Common | |||
1990 | return m_LSL_Functions.osDrawImage(drawList, width, height, imageUrl); | 1990 | return m_LSL_Functions.osDrawImage(drawList, width, height, imageUrl); |
1991 | } | 1991 | } |
1992 | 1992 | ||
1993 | public void osSetStateEvents(int events) | ||
1994 | { | ||
1995 | m_LSL_Functions.osSetStateEvents(events); | ||
1996 | } | ||
1993 | 1997 | ||
1994 | // | 1998 | // |
1995 | 1999 | ||