clean up perf graph a bit

This commit is contained in:
Chris Forbes
2010-12-31 20:31:57 +13:00
parent 42096cc5c9
commit cf17bc7e5c
2 changed files with 3 additions and 7 deletions

View File

@@ -114,8 +114,6 @@ namespace OpenRA
PerfHistory.items["render"].Tick(); PerfHistory.items["render"].Tick();
PerfHistory.items["batches"].Tick(); PerfHistory.items["batches"].Tick();
PerfHistory.items["text"].Tick();
PerfHistory.items["cursor"].Tick();
MasterServerQuery.Tick(); MasterServerQuery.Tick();
} }
@@ -235,8 +233,6 @@ namespace OpenRA
Sound.Initialize(); Sound.Initialize();
PerfHistory.items["render"].hasNormalTick = false; PerfHistory.items["render"].hasNormalTick = false;
PerfHistory.items["batches"].hasNormalTick = false; PerfHistory.items["batches"].hasNormalTick = false;
PerfHistory.items["text"].hasNormalTick = false;
PerfHistory.items["cursor"].hasNormalTick = false;
JoinLocal(); JoinLocal();

View File

@@ -18,9 +18,9 @@ namespace OpenRA.Support
public static class PerfHistory public static class PerfHistory
{ {
static readonly Color[] colors = { Color.Red, Color.Green, static readonly Color[] colors = { Color.Red, Color.Green,
Color.Blue, Color.Yellow, Color.Orange, Color.Yellow,
Color.Orange, Color.Fuchsia, Color.Fuchsia, Color.Lime,
Color.Lime, Color.LightBlue, Color.LightBlue, Color.Blue,
Color.White, Color.Teal }; Color.White, Color.Teal };
static int nextColor; static int nextColor;