From ba13137b5ef91d321ff2f2981b4001c3b0549ff0 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 26 Jan 2010 20:44:24 +1300 Subject: [PATCH] map info --- OpenRa.Game/Chrome.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/OpenRa.Game/Chrome.cs b/OpenRa.Game/Chrome.cs index 97f9dbb06a..20350c86c6 100644 --- a/OpenRa.Game/Chrome.cs +++ b/OpenRa.Game/Chrome.cs @@ -318,6 +318,19 @@ namespace OpenRa y += 20; } + y = mapRect.Bottom + 20; + DrawCentered("Title: {0}".F(currentMap.Map.Title, currentMap.Map.Height), + new int2(mapRect.Left + mapRect.Width / 2, y), Color.White); + y += 20; + DrawCentered("Size: {0}x{1}".F(currentMap.Map.Width, currentMap.Map.Height), + new int2(mapRect.Left + mapRect.Width / 2, y), Color.White); + y += 20; + DrawCentered("Theater: {0}".F(currentMap.Map.Theater, currentMap.Map.Height), + new int2(mapRect.Left + mapRect.Width / 2, y), Color.White); + y += 20; + DrawCentered("Spawnpoints: {0}".F(currentMap.Map.SpawnPoints.Count()), + new int2(mapRect.Left + mapRect.Width / 2, y), Color.White); + AddButton(r, _ => { }); }