Actually add minimap changes, and unfail build-tab chrome.xml entries

This commit is contained in:
Paul Chote
2010-01-09 20:47:08 +13:00
parent 8b59e9e3a6
commit 5ce4703ba4
3 changed files with 48 additions and 28 deletions

View File

@@ -107,9 +107,9 @@ namespace OpenRa.Game.Graphics
sheet.Texture.SetData(bitmap);
}
public void Draw(float2 pos, bool hasRadar, bool isJammed)
public void Draw(RectangleF rect, bool hasRadar, bool isJammed)
{
rgbaRenderer.DrawSprite(sprite, pos, PaletteType.Chrome, new float2(192, 192));
rgbaRenderer.DrawSprite(sprite, new float2(rect.X, rect.Y), PaletteType.Chrome, new float2(rect.Width, rect.Height));
rgbaRenderer.Flush();
}
}