Expose Graphics.Renderer setting; Refactor Renderer.Null.

This commit is contained in:
Paul Chote
2010-11-11 23:53:29 +13:00
parent 233e9326f0
commit ccf66cde2f
11 changed files with 43 additions and 92 deletions

View File

@@ -39,6 +39,7 @@ namespace OpenRA.GameRules
public class GraphicSettings
{
public string Renderer = "Cg";
public WindowMode Mode = WindowMode.PseudoFullscreen;
public int2 FullscreenSize = new int2(Screen.PrimaryScreen.Bounds.Width, Screen.PrimaryScreen.Bounds.Height);
public int2 WindowedSize = new int2(1024, 768);