Remove renderer type setting.
Multiple people have needed support after breaking their game by switching to an unsupported renderer.
This commit is contained in:
@@ -114,11 +114,6 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
||||
var display = bg.Get("DISPLAY_PANE");
|
||||
var gs = Game.Settings.Graphics;
|
||||
|
||||
var GraphicsRendererDropdown = display.Get<DropDownButtonWidget>("GRAPHICS_RENDERER");
|
||||
GraphicsRendererDropdown.OnMouseDown = _ => ShowRendererDropdown(GraphicsRendererDropdown, gs);
|
||||
GraphicsRendererDropdown.GetText = () => gs.Renderer == "Gl" ?
|
||||
"OpenGL" : gs.Renderer == "Cg" ? "Cg Toolkit" : "OpenGL";
|
||||
|
||||
var windowModeDropdown = display.Get<DropDownButtonWidget>("MODE_DROPDOWN");
|
||||
windowModeDropdown.OnMouseDown = _ => ShowWindowModeDropdown(windowModeDropdown, gs);
|
||||
windowModeDropdown.GetText = () => gs.Mode == WindowMode.Windowed ?
|
||||
|
||||
@@ -202,35 +202,22 @@ Background@SETTINGS_MENU:
|
||||
Height:PARENT_BOTTOM - 100
|
||||
Visible: false
|
||||
Children:
|
||||
Label@RENDERER_LABEL:
|
||||
X:0
|
||||
Y:0
|
||||
Width:75
|
||||
Height:25
|
||||
Text:Renderer:
|
||||
DropDownButton@GRAPHICS_RENDERER:
|
||||
X:80
|
||||
Y:1
|
||||
Width:120
|
||||
Height:25
|
||||
Font:Regular
|
||||
Text:OpenGL
|
||||
Label@MODE_LABEL:
|
||||
X:0
|
||||
Y:30
|
||||
Y:0
|
||||
Width:45
|
||||
Height:25
|
||||
Text:Mode:
|
||||
DropDownButton@MODE_DROPDOWN:
|
||||
X:50
|
||||
Y:30
|
||||
Y:0
|
||||
Width:170
|
||||
Height:25
|
||||
Font:Regular
|
||||
Text:Windowed
|
||||
Container@WINDOW_RESOLUTION:
|
||||
X:225
|
||||
Y:30
|
||||
Y:0
|
||||
Children:
|
||||
Label@At:
|
||||
Text:@
|
||||
@@ -258,27 +245,27 @@ Background@SETTINGS_MENU:
|
||||
Height:25
|
||||
MaxLength:5
|
||||
Label@VIDEO_DESC:
|
||||
Y:60
|
||||
Y:30
|
||||
Width:PARENT_RIGHT
|
||||
Height:25
|
||||
Font:Tiny
|
||||
Align:Center
|
||||
Text:Renderer/Mode/Resolution changes will be applied after the game is restarted.
|
||||
Checkbox@PIXELDOUBLE_CHECKBOX:
|
||||
Y:90
|
||||
Y:60
|
||||
Width:200
|
||||
Height:20
|
||||
Font:Regular
|
||||
Text:Enable Pixel Doubling
|
||||
Checkbox@CAPFRAMERATE_CHECKBOX:
|
||||
Y:120
|
||||
Y:90
|
||||
Width:200
|
||||
Height:20
|
||||
Font:Regular
|
||||
Text:Cap Framerate @
|
||||
TextField@MAX_FRAMERATE:
|
||||
X:150
|
||||
Y:120
|
||||
Y:90
|
||||
Width:45
|
||||
Height:25
|
||||
MaxLength:3
|
||||
@@ -391,4 +378,4 @@ Background@SETTINGS_MENU:
|
||||
Y:150
|
||||
Width:300
|
||||
Height:20
|
||||
Text:Detailed NAT logging
|
||||
Text:Detailed NAT logging
|
||||
|
||||
Reference in New Issue
Block a user