From b32a3446ff01bdc1eb6c8aeae32125e2a2bcdee7 Mon Sep 17 00:00:00 2001 From: Debug <49997488+DebugOk@users.noreply.github.com> Date: Fri, 23 Feb 2024 19:36:18 +0100 Subject: [PATCH] Vision filter accessibility option (#889) * Add option to disable vision filters * Remove DefaultVision in favor of the setting * Clean DeltaTab.xaml.cs --- .../DeltaV/Options/UI/Tabs/DeltaTab.xaml | 23 ++++++++++ .../DeltaV/Options/UI/Tabs/DeltaTab.xaml.cs | 46 +++++++++++++++++++ .../DeltaV/Overlays/UltraVisionSystem.cs | 16 ++++++- .../Nyanotrasen/Overlays/DogVisionSystem.cs | 16 ++++++- Content.Client/Options/UI/OptionsMenu.xaml | 2 + Content.Client/Options/UI/OptionsMenu.xaml.cs | 1 + .../Abilities/DefaultVisionComponent.cs | 8 ---- .../DeltaV/Abilities/DefaultVisionSystem.cs | 20 -------- Content.Shared/DeltaV/CCVars/DCCVars.cs | 6 +++ .../en-US/deltav/escape-menu/options-menu.ftl | 4 ++ .../Locale/en-US/deltav/traits/traits.ftl | 3 -- .../Prototypes/DeltaV/Traits/altvision.yml | 7 --- 12 files changed, 112 insertions(+), 40 deletions(-) create mode 100644 Content.Client/DeltaV/Options/UI/Tabs/DeltaTab.xaml create mode 100644 Content.Client/DeltaV/Options/UI/Tabs/DeltaTab.xaml.cs delete mode 100644 Content.Shared/DeltaV/Abilities/DefaultVisionComponent.cs delete mode 100644 Content.Shared/DeltaV/Abilities/DefaultVisionSystem.cs create mode 100644 Resources/Locale/en-US/deltav/escape-menu/options-menu.ftl diff --git a/Content.Client/DeltaV/Options/UI/Tabs/DeltaTab.xaml b/Content.Client/DeltaV/Options/UI/Tabs/DeltaTab.xaml new file mode 100644 index 00000000000..f1dae68077d --- /dev/null +++ b/Content.Client/DeltaV/Options/UI/Tabs/DeltaTab.xaml @@ -0,0 +1,23 @@ + + + + + +