added --minimap to OpenRA Utility

closes #4195
This commit is contained in:
Matthias Mailänder
2013-12-05 17:41:03 +01:00
parent 06b0ce621f
commit 5a4fc712a9
3 changed files with 23 additions and 2 deletions

View File

@@ -113,7 +113,7 @@ namespace OpenRA.Graphics
{
var mapX = x + map.Bounds.Left;
var mapY = y + map.Bounds.Top;
var custom = map.CustomTerrain[mapX,mapY];
var custom = map.CustomTerrain[mapX, mapY];
if (custom == null)
continue;
*(c + (y * bitmapData.Stride >> 2) + x) = world.TileSet.Terrain[custom].Color.ToArgb();
@@ -187,7 +187,7 @@ namespace OpenRA.Graphics
public static Bitmap RenderMapPreview(Map map)
{
Bitmap terrain = TerrainBitmap(map);
Bitmap terrain = TerrainBitmap(map, true);
return AddStaticResources(map, terrain);
}
}