diff options
Diffstat (limited to 'OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs')
-rw-r--r-- | OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs | 31 |
1 files changed, 13 insertions, 18 deletions
diff --git a/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs b/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs index 537644a..dc59d9e 100644 --- a/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs +++ b/OpenSim/Region/CoreModules/World/WorldMap/TexturedMapTileRenderer.cs | |||
@@ -25,22 +25,17 @@ | |||
25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 25 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | */ | 26 | */ |
27 | 27 | ||
28 | using System; | 28 | using System; |
29 | using System.Collections; | 29 | using System.Collections.Generic; |
30 | using System.Collections.Generic; | 30 | using System.Drawing; |
31 | using System.Drawing; | 31 | using System.Reflection; |
32 | using System.Drawing.Drawing2D; | 32 | using log4net; |
33 | using System.Drawing.Imaging; | 33 | using Nini.Config; |
34 | using System.Reflection; | 34 | using OpenMetaverse; |
35 | using OpenMetaverse; | 35 | using OpenMetaverse.Imaging; |
36 | using Nini.Config; | 36 | using OpenSim.Framework; |
37 | using log4net; | 37 | using OpenSim.Region.Framework.Scenes; |
38 | using OpenMetaverse.Imaging; | 38 | |
39 | using OpenSim.Framework; | ||
40 | using OpenSim.Region.Framework.Interfaces; | ||
41 | using OpenSim.Region.Framework.Scenes; | ||
42 | using OpenSim.Region.CoreModules.World.Terrain; | ||
43 | |||
44 | namespace OpenSim.Region.CoreModules.World.WorldMap | 39 | namespace OpenSim.Region.CoreModules.World.WorldMap |
45 | { | 40 | { |
46 | // Hue, Saturation, Value; used for color-interpolation | 41 | // Hue, Saturation, Value; used for color-interpolation |
@@ -269,7 +264,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
269 | 264 | ||
270 | public void TerrainToBitmap(Bitmap mapbmp) | 265 | public void TerrainToBitmap(Bitmap mapbmp) |
271 | { | 266 | { |
272 | int tc = System.Environment.TickCount; | 267 | int tc = Environment.TickCount; |
273 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Terrain"); | 268 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Terrain"); |
274 | 269 | ||
275 | // These textures should be in the AssetCache anyway, as every client conneting to this | 270 | // These textures should be in the AssetCache anyway, as every client conneting to this |
@@ -405,7 +400,7 @@ namespace OpenSim.Region.CoreModules.World.WorldMap | |||
405 | } | 400 | } |
406 | } | 401 | } |
407 | } | 402 | } |
408 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Done in " + (System.Environment.TickCount - tc) + " ms"); | 403 | m_log.Info("[MAPTILE]: Generating Maptile Step 1: Done in " + (Environment.TickCount - tc) + " ms"); |
409 | } | 404 | } |
410 | } | 405 | } |
411 | } | 406 | } |