Reorder and document advanced settings.

This commit is contained in:
Paul Chote
2018-12-26 16:37:26 +13:00
committed by reaperrr
parent 69105180eb
commit 4dea39fffe
2 changed files with 39 additions and 17 deletions

View File

@@ -87,31 +87,50 @@ namespace OpenRA
public class DebugSettings
{
public bool DisplayDeveloperSettings = false;
public bool BotDebug = false;
public bool LuaDebug = false;
[Desc("Display average FPS and tick/render times")]
public bool PerfText = false;
[Desc("Display a graph with various profiling traces")]
public bool PerfGraph = false;
[Desc("Amount of time required for triggering perf.log output.")]
public float LongTickThresholdMs = 1;
public bool SyncCheckUnsyncedCode = false;
public bool SyncCheckBotModuleCode = false;
[Desc("Numer of samples to average over when calculating tick and render times.")]
public int Samples = 25;
public bool StrictActivityChecking = false;
[Desc("Check whether a newer version is available online.")]
public bool CheckVersion = true;
[Desc("Allow the collection of anonymous data such as Operating System, .NET runtime, OpenGL version and language settings.")]
public bool SendSystemInformation = true;
[Desc("Version of sysinfo that the player last opted in or out of.")]
public int SystemInformationVersionPrompt = 0;
public string UUID = System.Guid.NewGuid().ToString();
[Desc("Sysinfo anonymous user identifier.")]
public string UUID = Guid.NewGuid().ToString();
[Desc("Enable hidden developer settings in the Advanced settings tab.")]
public bool DisplayDeveloperSettings = false;
[Desc("Display bot debug messages in the game chat.")]
public bool BotDebug = false;
[Desc("Display Lua debug messages in the game chat.")]
public bool LuaDebug = false;
[Desc("Enable the chat field during replays to allow use of console commands.")]
public bool EnableDebugCommandsInReplays = false;
[Desc("Amount of time required for triggering perf.log output.")]
public float LongTickThresholdMs = 1;
[Desc("Throw an exception if the world sync hash changes while evaluating user input.")]
public bool SyncCheckUnsyncedCode = false;
[Desc("Throw an exception if the world sync hash changes while evaluating BotModules.")]
public bool SyncCheckBotModuleCode = false;
[Desc("Throw an exception if an actor activity is ticked after it has been marked as completed.")]
public bool StrictActivityChecking = false;
}
public class GraphicSettings