chore: purge april fools 2022 code

This commit is contained in:
goaaats 2022-04-03 03:02:31 +02:00
parent b2107c6887
commit 76b2129a93
No known key found for this signature in database
GPG key ID: 49E2AA8C6A76498B
6 changed files with 0 additions and 561 deletions

View file

@ -50,8 +50,6 @@ namespace Dalamud.Interface.Internal.Windows
private bool doFocus;
private bool doTsm;
private bool doFools22;
private List<string>? dtrOrder;
private List<string>? dtrIgnore;
private int dtrSpacing;
@ -176,8 +174,6 @@ namespace Dalamud.Interface.Internal.Windows
var configuration = Service<DalamudConfiguration>.Get();
this.dtrOrder = configuration.DtrOrder;
this.dtrIgnore = configuration.DtrIgnore;
this.doFools22 = configuration.Fools22Newer;
}
/// <inheritdoc/>
@ -244,12 +240,6 @@ namespace Dalamud.Interface.Internal.Windows
private void DrawGeneralTab()
{
if (DateTime.Now.Month == 4 && DateTime.Now.Day == 1)
{
ImGui.Checkbox(Loc.Localize("Fools22", "Enable April Fools 2022"), ref this.doFools22);
ImGui.TextColored(ImGuiColors.DalamudGrey, Loc.Localize("Fools22Hint", "Enables the April Fools 2022 funny joke. Turn this off if you don't think it's funny."));
}
ImGui.Text(Loc.Localize("DalamudSettingsLanguage", "Language"));
ImGui.Combo("##XlLangCombo", ref this.langIndex, this.locLanguages, this.locLanguages.Length);
ImGui.TextColored(ImGuiColors.DalamudGrey, Loc.Localize("DalamudSettingsLanguageHint", "Select the language Dalamud will be displayed in."));
@ -870,8 +860,6 @@ namespace Dalamud.Interface.Internal.Windows
configuration.IsFocusManagementEnabled = this.doFocus;
configuration.ShowTsm = this.doTsm;
configuration.Fools22Newer = this.doFools22;
configuration.UseAxisFontsFromGame = this.doUseAxisFontsFromGame;
configuration.AllowBigFontAtlas = this.doAllowBigFontAtlas;
configuration.FontGamma = this.fontGamma;