From 276c1984fdfe189ed6242dd2985437cf795a546a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 5 Dec 2015 08:02:48 +0100 Subject: [PATCH] document graphic settings interesting for benchmarking --- OpenRA.Game/Settings.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/OpenRA.Game/Settings.cs b/OpenRA.Game/Settings.cs index d8efb14788..507c85e82b 100644 --- a/OpenRA.Game/Settings.cs +++ b/OpenRA.Game/Settings.cs @@ -96,13 +96,25 @@ namespace OpenRA public class GraphicSettings { public string Renderer = "Default"; + + [Desc("This can be set to Windowed, Fullscreen or PseudoFullscreen.")] public WindowMode Mode = WindowMode.PseudoFullscreen; + + [Desc("Screen resolution in fullscreen mode.")] public int2 FullscreenSize = new int2(0, 0); + + [Desc("Screen resolution in windowed mode.")] public int2 WindowedSize = new int2(1024, 768); + public bool HardwareCursors = true; + public bool PixelDouble = false; public bool CursorDouble = false; + + [Desc("Add a frame rate limiter. It is recommended to not disable this.")] public bool CapFramerate = true; + + [Desc("At which frames per second to cap the framerate.")] public int MaxFramerate = 60; public int BatchSize = 8192;