Update svn properties. Minor formatting cleanup. Fix some minor typos. Remove some old dead code.

0.6.0-stable
Jeff Ames 2008-09-13 21:39:26 +00:00
parent 1ab0c0192f
commit 6e6465f6c1
3 changed files with 994 additions and 1010 deletions

View File

@ -58,7 +58,7 @@ using System.Collections;
* //TODO * //TODO
* *
* This probably needs some throttling mechanism but * This probably needs some throttling mechanism but
* its wide open right now. This applies to both * it's wide open right now. This applies to both
* number of requests and data volume. * number of requests and data volume.
* *
* Linden puts all kinds of header fields in the requests. * Linden puts all kinds of header fields in the requests.
@ -77,7 +77,7 @@ using System.Collections;
* HTTPS support * HTTPS support
* *
* Configurable timeout? * Configurable timeout?
* Configurable max repsonse size? * Configurable max response size?
* Configurable * Configurable
* *
* **************************************************/ * **************************************************/

View File

@ -1552,7 +1552,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public void llSetForce(LSL_Types.Vector3 force, int local) public void llSetForce(LSL_Types.Vector3 force, int local)
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
//NotImplemented("llSetForce");
if (m_host.ParentGroup != null) if (m_host.ParentGroup != null)
{ {
@ -1571,8 +1570,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
LSL_Types.Vector3 force = new LSL_Types.Vector3(0.0, 0.0, 0.0); LSL_Types.Vector3 force = new LSL_Types.Vector3(0.0, 0.0, 0.0);
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
//NotImplemented("llGetForce");
//return new LSL_Types.Vector3();
if (m_host.ParentGroup != null) if (m_host.ParentGroup != null)
{ {
@ -1592,7 +1589,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
return m_host.registerTargetWaypoint(new Vector3((float)position.x, (float)position.y, (float)position.z), (float)range); return m_host.registerTargetWaypoint(new Vector3((float)position.x, (float)position.y, (float)position.z), (float)range);
} }
public void llTargetRemove(int number) public void llTargetRemove(int number)
@ -3566,11 +3562,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
z = rot.z / s; z = rot.z / s;
} }
return new LSL_Types.Vector3(x,y,z); return new LSL_Types.Vector3(x,y,z);
// NotImplemented("llRot2Axis");
} }
@ -3588,14 +3580,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
rot.y /= length; rot.y /= length;
rot.z /= length; rot.z /= length;
rot.s /= length; rot.s /= length;
} }
double angle = 2 * Math.Acos(rot.s); double angle = 2 * Math.Acos(rot.s);
return angle; return angle;
// NotImplemented("llRot2Angle");
} }
public LSL_Types.LSLFloat llAcos(double val) public LSL_Types.LSLFloat llAcos(double val)
@ -3615,7 +3604,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
return (double) Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2; return (double) Math.Acos(a.x * b.x + a.y * b.y + a.z * b.z + a.s * b.s) * 2;
} }
public LSL_Types.LSLString llGetInventoryKey(string name) public LSL_Types.LSLString llGetInventoryKey(string name)
@ -4594,8 +4583,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
public LSL_Types.LSLInteger llGetFreeMemory() public LSL_Types.LSLInteger llGetFreeMemory()
{ {
m_host.AddScriptLPS(1); m_host.AddScriptLPS(1);
// NotImplemented("llGetFreeMemory"); // Make scripts designed for LSO happy
// Make scripts desined for LSO happy
return 16384; return 16384;
} }
@ -7146,8 +7134,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
// ScriptSleep(2000); // ScriptSleep(2000);
//NotImplemented("llParcelMediaCommandList");
} }
public LSL_Types.list llParcelMediaQuery(LSL_Types.list aList) public LSL_Types.list llParcelMediaQuery(LSL_Types.list aList)
@ -7876,8 +7862,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
llShout(ScriptBaseClass.DEBUG_CHANNEL, msg); llShout(ScriptBaseClass.DEBUG_CHANNEL, msg);
} }
internal void NotImplemented(string command) internal void NotImplemented(string command)
{ {
if (throwErrorOnNotImplemented) if (throwErrorOnNotImplemented)