add PerfGraph option (default true for now)

This commit is contained in:
Alli
2010-01-10 14:58:00 +13:00
parent 7f92860379
commit 0ac6f8da59
3 changed files with 5 additions and 1 deletions

View File

@@ -176,6 +176,7 @@ namespace OpenRa.Game
Game.LocalPlayer.IsReady ? "Yes" : "No"
), new int2(140, 15), Color.White);
if (Game.Settings.PerfGraph)
PerfHistory.Render(renderer, Game.worldRenderer.lineRenderer);
DrawMinimap();

View File

@@ -7,6 +7,7 @@ namespace OpenRa.Game.GameRules
public readonly bool UnitDebug = false;
public readonly bool BuildingDebug = false;
public readonly bool PathDebug = false;
public readonly bool PerfGraph = true;
// Window settings
public readonly int Width = 0;

2
settings.ini.old Normal file
View File

@@ -0,0 +1,2 @@
[Settings]
PerfGraph = true