* removed unused new-login.dat

* cleared up verbose/noverbose/disableOutput douple negation confusion in ConsoleBase
* 2d chat radius is now 3d chat sphere
* removed unused fast 2d radius calc
* added chat type 0xFF : broadcast (no sphere checking)
* OpenSimMain now exposes its LocalWorld
This commit is contained in:
lbsa71
2007-05-16 17:12:17 +00:00
parent bd6e69b97c
commit 6056247ac3
10 changed files with 194 additions and 282 deletions

View File

@@ -36,15 +36,15 @@ namespace OpenSim.Framework.Utilities
return id;
}
public static int fast_distance2d(int x, int y)
{
x = System.Math.Abs(x);
y = System.Math.Abs(y);
//public static int fast_distance2d(int x, int y)
//{
// x = System.Math.Abs(x);
// y = System.Math.Abs(y);
int min = System.Math.Min(x, y);
// int min = System.Math.Min(x, y);
return (x + y - (min >> 1) - (min >> 2) + (min >> 4));
}
// return (x + y - (min >> 1) - (min >> 2) + (min >> 4));
//}
public static string FieldToString(byte[] bytes)
{
@@ -130,5 +130,4 @@ namespace OpenSim.Framework.Utilities
}
}
}