* Cleaned up code in Terrain, Tree and Map modules.

* Fixed a bug with Terragen loader where it would do bad things on a non 256x256 sized terrain. Now loads the array correctly. 
* Moved MapImageModule.cs to Modules/World/WorldMap
* Changed Location.RegionHandle to use Helpers.GetUlong instead of doing it ourselves.
This commit is contained in:
Adam Frisby
2008-05-03 20:00:35 +00:00
parent 068163b14b
commit 87b3137928
28 changed files with 273 additions and 345 deletions

View File

@@ -1,4 +1,5 @@
using System;
using libsecondlife;
namespace OpenSim.Framework
{
@@ -22,7 +23,7 @@ namespace OpenSim.Framework
public ulong RegionHandle
{
get { return ((ulong) m_x << 32 & (ulong) m_y); }
get { return Helpers.UIntsToLong((uint) m_x, (uint) m_y); }
}
public int X