aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
authorTeravus Ovares2007-12-23 13:14:56 +0000
committerTeravus Ovares2007-12-23 13:14:56 +0000
commitb2903c4a8a2e36f570d824a57587be2b24c24d36 (patch)
treeb8a198d298780c2feeef7f60de13bae2a95ca55a /OpenSim/Region/Environment/Scenes/Scene.cs
parentSome log fixing for the LoadRegionsPlugin (diff)
downloadopensim-SC_OLD-b2903c4a8a2e36f570d824a57587be2b24c24d36.zip
opensim-SC_OLD-b2903c4a8a2e36f570d824a57587be2b24c24d36.tar.gz
opensim-SC_OLD-b2903c4a8a2e36f570d824a57587be2b24c24d36.tar.bz2
opensim-SC_OLD-b2903c4a8a2e36f570d824a57587be2b24c24d36.tar.xz
* Patch from Alondria - Added LLFunctions llGetMass(), llGetLandOwnerAt(), llGetVel(), llGround()
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 89dc130..f12fb92 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1964,7 +1964,23 @@ namespace OpenSim.Region.Environment.Scenes
1964 { 1964 {
1965 m_eventManager.TriggerOnPluginConsole(args); 1965 m_eventManager.TriggerOnPluginConsole(args);
1966 } 1966 }
1967 1967 public double GetLandHeight(int x, int y)
1968 {
1969 return Terrain.GetHeight(x, y);
1970 }
1971 public LLUUID GetLandOwner(float x, float y)
1972 {
1973 Land land = LandManager.getLandObject(x, y);
1974 if (land == null)
1975 {
1976 return LLUUID.Zero;
1977 }
1978 else
1979 {
1980 return land.landData.ownerID;
1981 }
1982 }
1983
1968 #endregion 1984 #endregion
1969 1985
1970 #region Script Engine 1986 #region Script Engine