moved Game.minimap into World
This commit is contained in:
@@ -230,8 +230,8 @@ namespace OpenRa
|
||||
DrawDialogBackground(new Rectangle(r.Right - 330, r.Top + 40, 310, r.Bottom - 273 - r.Top - 40),
|
||||
panelSprites, false);
|
||||
|
||||
Game.minimap.Update();
|
||||
Game.minimap.Draw(new Rectangle(r.Right - 325, r.Top + 45, 300, 277), true);
|
||||
Game.world.Minimap.Update();
|
||||
Game.world.Minimap.Draw(new Rectangle(r.Right - 325, r.Top + 45, 300, 277), true);
|
||||
|
||||
renderer.DrawText2("Name", new int2(r.Left + 30, r.Top + 50), Color.White);
|
||||
renderer.DrawText2("Color", new int2(r.Left + 230, r.Top + 50), Color.White);
|
||||
@@ -317,7 +317,7 @@ namespace OpenRa
|
||||
if (radarAnimationFrame >= radarSlideAnimationLength)
|
||||
{
|
||||
RectangleF mapRect = new RectangleF(radarOrigin.X + 9, radarOrigin.Y+(192-radarMinimapHeight)/2, 192, radarMinimapHeight);
|
||||
Game.minimap.Draw(mapRect, false);
|
||||
Game.world.Minimap.Draw(mapRect, false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user