From 946180885d476ce902d970513c8d03e9d05937d3 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Fri, 13 Jul 2007 17:25:01 +0000 Subject: [PATCH] * 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. --- .../Environment/Scenes/scripting/ScriptAPI.cs | 32 +++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs index 894713f91e..702653e0f8 100644 --- a/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs +++ b/OpenSim/Region/Environment/Scenes/scripting/ScriptAPI.cs @@ -4,6 +4,7 @@ using System.Text; using Key = libsecondlife.LLUUID; using Rotation = libsecondlife.LLQuaternion; using Vector = libsecondlife.LLVector3; +using LSLList = System.Collections.Generic.List; using OpenSim.Region.Environment.Scenes; @@ -131,5 +132,36 @@ namespace OpenSim.Region.Environment.Scripting { return; } + + [Obsolete("Unimplemented")] + public void osBreakLink() + { + return; + } + + public LSLList osCSV2List(string src) + { + LSLList retVal = new LSLList(); + retVal.AddRange(src.Split(',')); + + return retVal; + } + + public int osCeil(float val) + { + return (int)Math.Ceiling(val); + } + + [Obsolete("Unimplemented")] + public void osCloseRemoteDataChannel(Key channel) + { + return; + } + + [Obsolete("Unimplemented")] + public float osCloud(Vector offset) + { + return 0.0; + } } }