aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorAdam Frisby2007-07-13 17:25:01 +0000
committerAdam Frisby2007-07-13 17:25:01 +0000
commit946180885d476ce902d970513c8d03e9d05937d3 (patch)
tree7266969f438d20afdc28e71393af457bfd6e157f /OpenSim/Region/Environment/Scenes
parent* Adding LSL stuff for Tedd_, implementing LSL-style functions in ScriptAPI.c... (diff)
downloadopensim-SC_OLD-946180885d476ce902d970513c8d03e9d05937d3.zip
opensim-SC_OLD-946180885d476ce902d970513c8d03e9d05937d3.tar.gz
opensim-SC_OLD-946180885d476ce902d970513c8d03e9d05937d3.tar.bz2
opensim-SC_OLD-946180885d476ce902d970513c8d03e9d05937d3.tar.xz
* Added wrappers for:
llAbs, llAcos, llAddToLandPassList, llAdjustSoundVolume, llAllowInventoryDrop, llAngleBetween, llApplyImpulse, llApplyRotationalImpulse, llAsin, llAtan2, llAttachToAvatar, llAvatarOnSitTarget, llAxes2Rot, llAxisAngle2Rot, llBase64ToString, llBreakAllLinks, llBreakLink, llCSV2List, llCeil, llCloseRemoteDataChannel, llCloud * Added functions for: osAbs, osAcos, osAsin, osAtan2, osAxes2Rot, osAxisAngle2Rot, osBase64ToString, osCSV2List, osCeil.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs32
1 files changed, 32 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
index 894713f..702653e 100644
--- a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
+++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs
@@ -4,6 +4,7 @@ using System.Text;
4using Key = libsecondlife.LLUUID; 4using Key = libsecondlife.LLUUID;
5using Rotation = libsecondlife.LLQuaternion; 5using Rotation = libsecondlife.LLQuaternion;
6using Vector = libsecondlife.LLVector3; 6using Vector = libsecondlife.LLVector3;
7using LSLList = System.Collections.Generic.List<string>;
7 8
8 9
9using OpenSim.Region.Environment.Scenes; 10using OpenSim.Region.Environment.Scenes;
@@ -131,5 +132,36 @@ namespace OpenSim.Region.Environment.Scripting
131 { 132 {
132 return; 133 return;
133 } 134 }
135
136 [Obsolete("Unimplemented")]
137 public void osBreakLink()
138 {
139 return;
140 }
141
142 public LSLList osCSV2List(string src)
143 {
144 LSLList retVal = new LSLList();
145 retVal.AddRange(src.Split(','));
146
147 return retVal;
148 }
149
150 public int osCeil(float val)
151 {
152 return (int)Math.Ceiling(val);
153 }
154
155 [Obsolete("Unimplemented")]
156 public void osCloseRemoteDataChannel(Key channel)
157 {
158 return;
159 }
160
161 [Obsolete("Unimplemented")]
162 public float osCloud(Vector offset)
163 {
164 return 0.0;
165 }
134 } 166 }
135} 167}