diff options
author | Charles Krinke | 2007-12-24 21:16:32 +0000 |
---|---|---|
committer | Charles Krinke | 2007-12-24 21:16:32 +0000 |
commit | fa2495ae6b39b8b1f98bed221d4d2660724018de (patch) | |
tree | b6f98251c94e6200de44b66c814187ec4953eb2f /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Revert most of the regionName message stuff. (diff) | |
download | opensim-SC_OLD-fa2495ae6b39b8b1f98bed221d4d2660724018de.zip opensim-SC_OLD-fa2495ae6b39b8b1f98bed221d4d2660724018de.tar.gz opensim-SC_OLD-fa2495ae6b39b8b1f98bed221d4d2660724018de.tar.bz2 opensim-SC_OLD-fa2495ae6b39b8b1f98bed221d4d2660724018de.tar.xz |
Again, great thanks to Alondria for:
Adding:: llSetParcelMusicUrl(), llGetRootPosition(), llGetRootRotation(),
llGetGeometricCenter(), llSetLocalRot(), llListReplaceList(),
llGetObjectPrimCount(),llGetParcelDetails(), llGetParcelMaxPrims(),
llWater(), llGetLocalRot(), and llGetAccel()
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 117cbd5..cf17686 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1981,7 +1981,26 @@ namespace OpenSim.Region.Environment.Scenes | |||
1981 | return land.landData.ownerID; | 1981 | return land.landData.ownerID; |
1982 | } | 1982 | } |
1983 | } | 1983 | } |
1984 | 1984 | ||
1985 | public LandData GetLandData(float x, float y) | ||
1986 | { | ||
1987 | return LandManager.getLandObject(x, y).landData; | ||
1988 | } | ||
1989 | |||
1990 | public void SetLandMusicURL(float x, float y, string url) | ||
1991 | { | ||
1992 | Land land = LandManager.getLandObject(x, y); | ||
1993 | if (land == null) | ||
1994 | { | ||
1995 | return; | ||
1996 | } | ||
1997 | else | ||
1998 | { | ||
1999 | land.landData.musicURL = url; | ||
2000 | return; | ||
2001 | } | ||
2002 | } | ||
2003 | |||
1985 | #endregion | 2004 | #endregion |
1986 | 2005 | ||
1987 | #region Script Engine | 2006 | #region Script Engine |