Standardize and simplify settings menu settings access.

This commit is contained in:
Paul Chote
2025-12-12 15:08:04 +00:00
committed by Gustas Kažukauskas
parent 2e16ad47e5
commit ec75dcd9e9
9 changed files with 293 additions and 318 deletions

View File

@@ -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)]