perf graph

This commit is contained in:
Chris Forbes
2009-11-06 19:01:46 +13:00
parent 50b2b3f17e
commit 105792612c
5 changed files with 178 additions and 51 deletions

View File

@@ -3,7 +3,8 @@ using System.Linq;
using System.Windows.Forms;
using IjwFramework.Types;
using System.Collections.Generic;
using OpenRa.Game.Traits;
using OpenRa.Game.Traits;
using OpenRa.Game.Support;
namespace OpenRa.Game.Graphics
{
@@ -109,7 +110,9 @@ namespace OpenRa.Game.Graphics
Game.LocalPlayer.Cash,
Game.PathToPathCount,
Game.NormalPathCount
), new int2(5, 5), Color.White);
), new int2(5, 5), Color.White);
PerfHistory.Render(renderer, lineRenderer);
}
void DrawSelectionBox(Actor selectedUnit, Color c, bool drawHealthBar)