aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorCharles Krinke2008-08-01 02:33:28 +0000
committerCharles Krinke2008-08-01 02:33:28 +0000
commitab778c4114d694e284ac711b7500e9ced7d01bad (patch)
tree2e458da86aba97bc2d37e957e2edcf5e8ad81b8c /OpenSim/Region/ScriptEngine
parentPatch #8 in the estate series. Introduces the concept of an estate (diff)
downloadopensim-SC-ab778c4114d694e284ac711b7500e9ced7d01bad.zip
opensim-SC-ab778c4114d694e284ac711b7500e9ced7d01bad.tar.gz
opensim-SC-ab778c4114d694e284ac711b7500e9ced7d01bad.tar.bz2
opensim-SC-ab778c4114d694e284ac711b7500e9ced7d01bad.tar.xz
Mantis#1859. Thank you kindly, Lmmz for a patch that:
Implements llForceMouselook().
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs6
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs6
2 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index 422ff71..30093eb 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -4747,13 +4747,13 @@ namespace OpenSim.Region.ScriptEngine.Common
4747 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) 4747 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset)
4748 { 4748 {
4749 m_host.AddScriptLPS(1); 4749 m_host.AddScriptLPS(1);
4750 NotImplemented("llSetCameraEyeOffset"); 4750 m_host.SetCameraEyeOffset(new LLVector3((float)offset.x, (float)offset.y, (float)offset.z));
4751 } 4751 }
4752 4752
4753 public void llSetCameraAtOffset(LSL_Types.Vector3 offset) 4753 public void llSetCameraAtOffset(LSL_Types.Vector3 offset)
4754 { 4754 {
4755 m_host.AddScriptLPS(1); 4755 m_host.AddScriptLPS(1);
4756 NotImplemented("llSetCameraAtOffset"); 4756 m_host.SetCameraAtOffset(new LLVector3((float)offset.x, (float)offset.y, (float)offset.z));
4757 } 4757 }
4758 4758
4759 public string llDumpList2String(LSL_Types.list src, string seperator) 4759 public string llDumpList2String(LSL_Types.list src, string seperator)
@@ -6627,7 +6627,7 @@ namespace OpenSim.Region.ScriptEngine.Common
6627 public void llForceMouselook(int mouselook) 6627 public void llForceMouselook(int mouselook)
6628 { 6628 {
6629 m_host.AddScriptLPS(1); 6629 m_host.AddScriptLPS(1);
6630 NotImplemented("llForceMouselook"); 6630 m_host.SetForceMouselook(mouselook != 0);
6631 } 6631 }
6632 6632
6633 public double llGetObjectMass(string id) 6633 public double llGetObjectMass(string id)
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index e5c6ac1..401a5ea 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4609,13 +4609,13 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4609 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset) 4609 public void llSetCameraEyeOffset(LSL_Types.Vector3 offset)
4610 { 4610 {
4611 m_host.AddScriptLPS(1); 4611 m_host.AddScriptLPS(1);
4612 NotImplemented("llSetCameraEyeOffset"); 4612 m_host.SetCameraEyeOffset(new LLVector3((float)offset.x, (float)offset.y, (float)offset.z));
4613 } 4613 }
4614 4614
4615 public void llSetCameraAtOffset(LSL_Types.Vector3 offset) 4615 public void llSetCameraAtOffset(LSL_Types.Vector3 offset)
4616 { 4616 {
4617 m_host.AddScriptLPS(1); 4617 m_host.AddScriptLPS(1);
4618 NotImplemented("llSetCameraAtOffset"); 4618 m_host.SetCameraAtOffset(new LLVector3((float)offset.x, (float)offset.y, (float)offset.z));
4619 } 4619 }
4620 4620
4621 public string llDumpList2String(LSL_Types.list src, string seperator) 4621 public string llDumpList2String(LSL_Types.list src, string seperator)
@@ -6410,7 +6410,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
6410 public void llForceMouselook(int mouselook) 6410 public void llForceMouselook(int mouselook)
6411 { 6411 {
6412 m_host.AddScriptLPS(1); 6412 m_host.AddScriptLPS(1);
6413 NotImplemented("llForceMouselook"); 6413 m_host.SetForceMouselook(mouselook != 0);
6414 } 6414 }
6415 6415
6416 public double llGetObjectMass(string id) 6416 public double llGetObjectMass(string id)