Standardize and simplify settings menu settings access.
This commit is contained in:
committed by
Gustas Kažukauskas
parent
2e16ad47e5
commit
ec75dcd9e9
@@ -271,6 +271,11 @@ namespace OpenRA
|
||||
"Legacy: OpenGL 2.1 with framebuffer_object extension (requires DisableLegacyGL: False)",
|
||||
"Automatic: Use the first supported profile.")]
|
||||
public GLProfile GLProfile = GLProfile.Automatic;
|
||||
|
||||
public GraphicSettings Clone()
|
||||
{
|
||||
return (GraphicSettings)MemberwiseClone();
|
||||
}
|
||||
}
|
||||
|
||||
[YamlNode("Sound", shared: true)]
|
||||
@@ -288,6 +293,11 @@ namespace OpenRA
|
||||
public bool CashTicks = true;
|
||||
public bool Mute = false;
|
||||
public bool MuteBackgroundMusic = false;
|
||||
|
||||
public SoundSettings Clone()
|
||||
{
|
||||
return (SoundSettings)MemberwiseClone();
|
||||
}
|
||||
}
|
||||
|
||||
[YamlNode("Player", shared: true)]
|
||||
|
||||
Reference in New Issue
Block a user