public CarnageReport(bool playerWon) { this.playerVictory = playerWon; canBeExited = false; CreateCommanderList(Faction.Blue, commanders1, false); CreateCommanderList(Faction.Blue, commanders2, true); bottomButtonPositions = new Vector2[2]; bottomButtonPositions[0] = new Vector2(FrameworkCore.Graphics.GraphicsDevice.Viewport.Width - 120 - 125 - 256, FrameworkCore.Graphics.GraphicsDevice.Viewport.Height - 100); bottomButtonPositions[1] = new Vector2(FrameworkCore.Graphics.GraphicsDevice.Viewport.Width - 120 - 125, FrameworkCore.Graphics.GraphicsDevice.Viewport.Height - 100); //BC 6-12-2011 Summer Achievement #if STEAM if (this.playerVictory && FrameworkCore.isCampaign && !FrameworkCore.worldMap.IsRunningTutorial) { TimeSpan timeSpan = TimeSpan.FromMilliseconds(FrameworkCore.playbackSystem.WorldTimer); int totalSeconds = (int)timeSpan.TotalSeconds; if (totalSeconds <= 94) { FrameworkCore.SetAchievement("ach_summer"); } } #endif }