From 4a449e12a6337eff650e86aa22436e2864d397c5 Mon Sep 17 00:00:00 2001 From: Nick Blakely Date: Tue, 22 Sep 2020 22:22:15 -0700 Subject: [PATCH] Update AA/aniso dropdowns when changing renderer. --- GPatch/GPatch.nsi | 2 +- Giants.Launcher/Forms/LauncherForm.cs | 1 - Giants.Launcher/Forms/OptionsForm.cs | 3 +++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/GPatch/GPatch.nsi b/GPatch/GPatch.nsi index eb2a5a4..3b7436e 100644 --- a/GPatch/GPatch.nsi +++ b/GPatch/GPatch.nsi @@ -42,7 +42,7 @@ SetCompressor /SOLID lzma ; MUI end ------ Name "${PRODUCT_NAME} ${PRODUCT_VERSION}" -OutFile "Output\GPatch1_498_209_0.exe" +OutFile "Output\GPatch1_498_212_0.exe" InstallDir "$PROGRAMFILES\Giants\" InstallDirRegKey HKCU "SOFTWARE\PlanetMoon\Giants" "DestDir" ShowInstDetails hide diff --git a/Giants.Launcher/Forms/LauncherForm.cs b/Giants.Launcher/Forms/LauncherForm.cs index 5fe745b..ff85125 100644 --- a/Giants.Launcher/Forms/LauncherForm.cs +++ b/Giants.Launcher/Forms/LauncherForm.cs @@ -20,7 +20,6 @@ namespace Giants.Launcher private const string GamePath = "GiantsMain.exe"; private const string RegistryKey = @"HKEY_CURRENT_USER\Software\PlanetMoon\Giants"; private const string RegistryValue = "DestDir"; - private const string BaseUrl = "https://giants.azurewebsites.net"; // TODO: Read from file private readonly HttpClient httpClient; private readonly VersionClient versionHttpClient; diff --git a/Giants.Launcher/Forms/OptionsForm.cs b/Giants.Launcher/Forms/OptionsForm.cs index 8883d51..6298275 100644 --- a/Giants.Launcher/Forms/OptionsForm.cs +++ b/Giants.Launcher/Forms/OptionsForm.cs @@ -213,6 +213,9 @@ namespace Giants.Launcher this.chkTripleBuffering.Checked = GameSettings.Get(RegistryKeys.TripleBuffering) == 1; this.chkTripleBuffering.Enabled = true; } + + this.PopulateAntialiasing(); + this.PopulateAnisotropy(); } private void btnOK_Click(object sender, EventArgs e)