Skip to content

Commit

Permalink
v1.9.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisDiligens committed Jun 16, 2022
1 parent 8bfa6ab commit 756668e
Show file tree
Hide file tree
Showing 7 changed files with 195 additions and 132 deletions.
94 changes: 60 additions & 34 deletions Fo76ini/Forms/Form1/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Fo76ini/Forms/Form1/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ private void UpdateNWModeUI (bool nwModeEnabled)
this.labelNWModeActive.Visible = nwModeEnabled;
this.toolStripStatusLabelNuclearWinterModeActive.Visible = nwModeEnabled;

this.toolStripButtonToggleNuclearWinterMode.Visible = IniFiles.Config.GetBool("NuclearWinter", "bShowNWModeBtn", false);
this.toolStripButtonToggleNuclearWinterMode.Visible = nwModeEnabled || IniFiles.Config.GetBool("NuclearWinter", "bShowNWModeBtn", false);

EnableUI();
Focus();
Expand Down
2 changes: 1 addition & 1 deletion Fo76ini/Shared.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Fo76ini
{
public class Shared
{
public const string VERSION = "1.9.6";
public const string VERSION = "1.9.6.1";
public static string LatestVersion = null;

public static readonly string AppInstallationFolder = Directory.GetParent(Application.ExecutablePath).ToString();
Expand Down
2 changes: 1 addition & 1 deletion Fo76ini/Tweaks/Camera/FOV3rdPersonTweak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ namespace Fo76ini.Tweaks.Camera
{
class FOV3rdPersonTweak : ITweak<float>, ITweakInfo
{
public string Description => "";
public string Description => "Changes the Field of View of the 1st and 3rd person perspective.\nThis is the same value from the in-game FOV setting.";

public string AffectedFiles => "Fallout76Prefs.ini";

Expand Down
18 changes: 17 additions & 1 deletion Fo76ini/Tweaks/Graphics/AntiAliasingTweak.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ public AntiAliasing GetValue()
return AntiAliasing.TAA;
case "FXAA":
return AntiAliasing.FXAA;
case "Disabled":
case "0":
case "":
return AntiAliasing.Disabled;
default:
Expand All @@ -53,7 +55,21 @@ public AntiAliasing GetValue()

public void SetValue(AntiAliasing value)
{
IniFiles.F76Prefs.Set("Display", "sAntiAliasing", value.ToString());
switch (value)
{
case AntiAliasing.TAA:
IniFiles.F76Prefs.Set("Display", "sAntiAliasing", "TAA");
break;
case AntiAliasing.FXAA:
IniFiles.F76Prefs.Set("Display", "sAntiAliasing", "FXAA");
break;
case AntiAliasing.Disabled:
IniFiles.F76Prefs.Set("Display", "sAntiAliasing", "");
break;
default:
IniFiles.F76Prefs.Set("Display", "sAntiAliasing", "TAA");
break;
}
}

public void ResetValue()
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.9.6
1.9.6.1
Loading

0 comments on commit 756668e

Please sign in to comment.