aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
diff options
context:
space:
mode:
authorMelanie2010-01-11 02:04:05 +0000
committerMelanie2010-01-11 02:04:05 +0000
commit2320b17ca92d0c922d78ad72933fe3903f2108d0 (patch)
treed35df47cc980f6f60205c9039130df271d6e9334 /OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
parentAdds llRotTarget and the events at_rot_target and not_at_rot_target. (diff)
downloadopensim-SC_OLD-2320b17ca92d0c922d78ad72933fe3903f2108d0.zip
opensim-SC_OLD-2320b17ca92d0c922d78ad72933fe3903f2108d0.tar.gz
opensim-SC_OLD-2320b17ca92d0c922d78ad72933fe3903f2108d0.tar.bz2
opensim-SC_OLD-2320b17ca92d0c922d78ad72933fe3903f2108d0.tar.xz
Whitespace cleanup
Diffstat (limited to 'OpenSim/Region/ScriptEngine/XEngine/EventManager.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/XEngine/EventManager.cs20
1 files changed, 10 insertions, 10 deletions
diff --git a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
index ce22ba5..16309ef 100644
--- a/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
+++ b/OpenSim/Region/ScriptEngine/XEngine/EventManager.cs
@@ -58,9 +58,9 @@ namespace OpenSim.Region.ScriptEngine.XEngine
58 myScriptEngine.World.EventManager.OnObjectDeGrab += touch_end; 58 myScriptEngine.World.EventManager.OnObjectDeGrab += touch_end;
59 myScriptEngine.World.EventManager.OnScriptChangedEvent += changed; 59 myScriptEngine.World.EventManager.OnScriptChangedEvent += changed;
60 myScriptEngine.World.EventManager.OnScriptAtTargetEvent += at_target; 60 myScriptEngine.World.EventManager.OnScriptAtTargetEvent += at_target;
61 myScriptEngine.World.EventManager.OnScriptNotAtTargetEvent += not_at_target; 61 myScriptEngine.World.EventManager.OnScriptNotAtTargetEvent += not_at_target;
62 myScriptEngine.World.EventManager.OnScriptAtRotTargetEvent += at_rot_target; 62 myScriptEngine.World.EventManager.OnScriptAtRotTargetEvent += at_rot_target;
63 myScriptEngine.World.EventManager.OnScriptNotAtRotTargetEvent += not_at_rot_target; 63 myScriptEngine.World.EventManager.OnScriptNotAtRotTargetEvent += not_at_rot_target;
64 myScriptEngine.World.EventManager.OnScriptControlEvent += control; 64 myScriptEngine.World.EventManager.OnScriptControlEvent += control;
65 myScriptEngine.World.EventManager.OnScriptColliderStart += collision_start; 65 myScriptEngine.World.EventManager.OnScriptColliderStart += collision_start;
66 myScriptEngine.World.EventManager.OnScriptColliding += collision; 66 myScriptEngine.World.EventManager.OnScriptColliding += collision;
@@ -390,16 +390,16 @@ namespace OpenSim.Region.ScriptEngine.XEngine
390 myScriptEngine.PostObjectEvent(localID, new EventParams( 390 myScriptEngine.PostObjectEvent(localID, new EventParams(
391 "not_at_target",new object[0], 391 "not_at_target",new object[0],
392 new DetectParams[0])); 392 new DetectParams[0]));
393 } 393 }
394 394
395 public void at_rot_target(uint localID, uint handle, Quaternion targetrot, 395 public void at_rot_target(uint localID, uint handle, Quaternion targetrot,
396 Quaternion atrot) 396 Quaternion atrot)
397 { 397 {
398 myScriptEngine.PostObjectEvent(localID, new EventParams( 398 myScriptEngine.PostObjectEvent(localID, new EventParams(
399 "at_rot_target", new object[] { 399 "at_rot_target", new object[] {
400 new LSL_Types.LSLInteger(handle), 400 new LSL_Types.LSLInteger(handle),
401 new LSL_Types.Quaternion(targetrot.X,targetrot.Y,targetrot.Z,targetrot.W), 401 new LSL_Types.Quaternion(targetrot.X,targetrot.Y,targetrot.Z,targetrot.W),
402 new LSL_Types.Quaternion(atrot.X,atrot.Y,atrot.Z,atrot.W) }, 402 new LSL_Types.Quaternion(atrot.X,atrot.Y,atrot.Z,atrot.W) },
403 new DetectParams[0])); 403 new DetectParams[0]));
404 } 404 }
405 405