add PerfGraph option (default true for now)
This commit is contained in:
@@ -176,6 +176,7 @@ namespace OpenRa.Game
|
|||||||
Game.LocalPlayer.IsReady ? "Yes" : "No"
|
Game.LocalPlayer.IsReady ? "Yes" : "No"
|
||||||
), new int2(140, 15), Color.White);
|
), new int2(140, 15), Color.White);
|
||||||
|
|
||||||
|
if (Game.Settings.PerfGraph)
|
||||||
PerfHistory.Render(renderer, Game.worldRenderer.lineRenderer);
|
PerfHistory.Render(renderer, Game.worldRenderer.lineRenderer);
|
||||||
|
|
||||||
DrawMinimap();
|
DrawMinimap();
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ namespace OpenRa.Game.GameRules
|
|||||||
public readonly bool UnitDebug = false;
|
public readonly bool UnitDebug = false;
|
||||||
public readonly bool BuildingDebug = false;
|
public readonly bool BuildingDebug = false;
|
||||||
public readonly bool PathDebug = false;
|
public readonly bool PathDebug = false;
|
||||||
|
public readonly bool PerfGraph = true;
|
||||||
|
|
||||||
// Window settings
|
// Window settings
|
||||||
public readonly int Width = 0;
|
public readonly int Width = 0;
|
||||||
|
|||||||
2
settings.ini.old
Normal file
2
settings.ini.old
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[Settings]
|
||||||
|
PerfGraph = true
|
||||||
Reference in New Issue
Block a user