aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine
diff options
context:
space:
mode:
authorTeravus Ovares2008-02-02 03:57:57 +0000
committerTeravus Ovares2008-02-02 03:57:57 +0000
commitd4f32649cd298168ec7645ac75f08455e8bed49e (patch)
tree9e843428a9f84ee88d574cd7b596b5e6d8beaa15 /OpenSim/Region/ScriptEngine
parentAdded header/footer of scripts to make C# and VB scripts much easier to write. (diff)
downloadopensim-SC_OLD-d4f32649cd298168ec7645ac75f08455e8bed49e.zip
opensim-SC_OLD-d4f32649cd298168ec7645ac75f08455e8bed49e.tar.gz
opensim-SC_OLD-d4f32649cd298168ec7645ac75f08455e8bed49e.tar.bz2
opensim-SC_OLD-d4f32649cd298168ec7645ac75f08455e8bed49e.tar.xz
* Committing some untested stuff regarding texture animations. This won't break anything, but the llSetTextureAnim function is completely untested.. (though it may be functional once the script engine works again)
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r--OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
index bbf301d..3f719fb 100644
--- a/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
+++ b/OpenSim/Region/ScriptEngine/Common/LSL_BuiltIn_Commands.cs
@@ -2007,7 +2007,16 @@ namespace OpenSim.Region.ScriptEngine.Common
2007 2007
2008 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate) 2008 public void llSetTextureAnim(int mode, int face, int sizex, int sizey, double start, double length, double rate)
2009 { 2009 {
2010 NotImplemented("llSetTextureAnim"); 2010 Primitive.TextureAnimation pTexAnim = new Primitive.TextureAnimation();
2011 pTexAnim.Flags = (uint)mode;
2012 pTexAnim.Face = (uint)face;
2013 pTexAnim.Length = (float)length;
2014 pTexAnim.Rate = (float)rate;
2015 pTexAnim.SizeX = (uint)sizex;
2016 pTexAnim.SizeY = (uint)sizey;
2017 pTexAnim.Start = (float)start;
2018 m_host.AddTextureAnimation(pTexAnim);
2019 m_host.SendFullUpdateToAllClients();
2011 } 2020 }
2012 2021
2013 public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east, 2022 public void llTriggerSoundLimited(string sound, double volume, LSL_Types.Vector3 top_north_east,