LIBOMV-501 Pass 1: Cleanup of compile time warnings

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2713 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
Jim Radford
2009-05-08 07:32:49 +00:00
parent 545e8c97bd
commit 9bed5f15f9
16 changed files with 109 additions and 223 deletions

View File

@@ -24,10 +24,6 @@ namespace OpenMetaverse.TestClient
// Shell-like inventory commands need to be aware of the 'current' inventory folder.
public InventoryFolder CurrentDirectory = null;
private Quaternion bodyRotation = Quaternion.Identity;
private Vector3 forward = new Vector3(0, 0.9999f, 0);
private Vector3 left = new Vector3(0.9999f, 0, 0);
private Vector3 up = new Vector3(0, 0, 0.9999f);
private System.Timers.Timer updateTimer;
/// <summary>
@@ -107,25 +103,6 @@ namespace OpenMetaverse.TestClient
}
}
//breaks up large responses to deal with the max IM size
private void SendResponseIM(GridClient client, UUID fromAgentID, string data)
{
for (int i = 0; i < data.Length; i += 1024)
{
int y;
if ((i + 1023) > data.Length)
{
y = data.Length - i;
}
else
{
y = 1023;
}
string message = data.Substring(i, y);
client.Self.InstantMessage(fromAgentID, message);
}
}
private void updateTimer_Elapsed(object sender, System.Timers.ElapsedEventArgs e)
{
foreach (Command c in Commands.Values)