diff --git a/Content.Benchmarks/DynamicTreeBenchmark.cs b/Content.Benchmarks/DynamicTreeBenchmark.cs index 9b42061a1c..9dff449809 100644 --- a/Content.Benchmarks/DynamicTreeBenchmark.cs +++ b/Content.Benchmarks/DynamicTreeBenchmark.cs @@ -1,4 +1,4 @@ -using BenchmarkDotNet.Attributes; +using BenchmarkDotNet.Attributes; using Robust.Shared.Maths; using Robust.Shared.Physics; @@ -7,7 +7,7 @@ namespace Content.Benchmarks [SimpleJob, MemoryDiagnoser] public class DynamicTreeBenchmark { - private static readonly Box2[] aabbs1 = + private static readonly Box2[] _aabbs1 = { ((Box2) default).Enlarged(1), //2x2 square ((Box2) default).Enlarged(2), //4x4 square @@ -37,11 +37,11 @@ namespace Content.Benchmarks public void Setup() { _b2Tree = new B2DynamicTree(); - _tree = new DynamicTree((in int value) => aabbs1[value], capacity: 16); + _tree = new DynamicTree((in int value) => _aabbs1[value], capacity: 16); - for (var i = 0; i < aabbs1.Length; i++) + for (var i = 0; i < _aabbs1.Length; i++) { - var aabb = aabbs1[i]; + var aabb = _aabbs1[i]; _b2Tree.CreateProxy(aabb, i); _tree.Add(i); } diff --git a/Content.Client/AI/ClientPathfindingDebugSystem.cs b/Content.Client/AI/ClientPathfindingDebugSystem.cs index 1068bcae54..428fbeffeb 100644 --- a/Content.Client/AI/ClientPathfindingDebugSystem.cs +++ b/Content.Client/AI/ClientPathfindingDebugSystem.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; using System.Linq; using Content.Shared.AI; @@ -18,7 +18,6 @@ namespace Content.Client.AI #if DEBUG public class ClientPathfindingDebugSystem : EntitySystem { - [Dependency] private readonly IOverlayManager _overlayManager = default!; [Dependency] private readonly IPrototypeManager _prototypeManager = default!; [Dependency] private readonly IEyeManager _eyeManager = default!; [Dependency] private readonly IPlayerManager _playerManager = default!; diff --git a/Content.Client/AME/UI/AMEWindow.xaml b/Content.Client/AME/UI/AMEWindow.xaml index bc1e7d9ded..8769e3124e 100644 --- a/Content.Client/AME/UI/AMEWindow.xaml +++ b/Content.Client/AME/UI/AMEWindow.xaml @@ -1,4 +1,4 @@ - @@ -43,4 +43,4 @@ - + diff --git a/Content.Client/AME/UI/AMEWindow.xaml.cs b/Content.Client/AME/UI/AMEWindow.xaml.cs index 90c345faf7..83f7b354db 100644 --- a/Content.Client/AME/UI/AMEWindow.xaml.cs +++ b/Content.Client/AME/UI/AMEWindow.xaml.cs @@ -12,7 +12,7 @@ using static Content.Shared.AME.SharedAMEControllerComponent; namespace Content.Client.AME.UI { [GenerateTypedNameReferences] - public partial class AMEWindow : SS14Window + public partial class AMEWindow : DefaultWindow { public AMEWindow(AMEControllerBoundUserInterface ui) { diff --git a/Content.Client/Access/UI/IdCardConsoleWindow.xaml b/Content.Client/Access/UI/IdCardConsoleWindow.xaml index b384e448fa..5c47218870 100644 --- a/Content.Client/Access/UI/IdCardConsoleWindow.xaml +++ b/Content.Client/Access/UI/IdCardConsoleWindow.xaml @@ -1,4 +1,4 @@ - @@ -27,4 +27,4 @@ - + diff --git a/Content.Client/Access/UI/IdCardConsoleWindow.xaml.cs b/Content.Client/Access/UI/IdCardConsoleWindow.xaml.cs index e835c7e6f7..c6be90059f 100644 --- a/Content.Client/Access/UI/IdCardConsoleWindow.xaml.cs +++ b/Content.Client/Access/UI/IdCardConsoleWindow.xaml.cs @@ -13,7 +13,7 @@ using static Content.Shared.Access.Components.SharedIdCardConsoleComponent; namespace Content.Client.Access.UI { [GenerateTypedNameReferences] - public partial class IdCardConsoleWindow : SS14Window + public partial class IdCardConsoleWindow : DefaultWindow { private readonly IdCardConsoleBoundUserInterface _owner; diff --git a/Content.Client/Actions/UI/ActionMenu.cs b/Content.Client/Actions/UI/ActionMenu.cs index bb7f996ad0..dfce37feb8 100644 --- a/Content.Client/Actions/UI/ActionMenu.cs +++ b/Content.Client/Actions/UI/ActionMenu.cs @@ -27,7 +27,7 @@ namespace Content.Client.Actions.UI /// Action selection menu, allows filtering and searching over all possible /// actions and populating those actions into the hotbar. /// - public class ActionMenu : SS14Window + public class ActionMenu : DefaultWindow { private const string ItemTag = "item"; private const string NotItemTag = "not item"; diff --git a/Content.Client/Administration/AdminVerbSystem.cs b/Content.Client/Administration/AdminVerbSystem.cs index b787495844..6e8998cd7a 100644 --- a/Content.Client/Administration/AdminVerbSystem.cs +++ b/Content.Client/Administration/AdminVerbSystem.cs @@ -12,7 +12,6 @@ namespace Content.Client.Verbs class AdminVerbSystem : EntitySystem { [Dependency] private readonly IClientConGroupController _clientConGroupController = default!; - [Dependency] private readonly IViewVariablesManager _viewVariablesManager = default!; [Dependency] private readonly IClientConsoleHost _clientConsoleHost = default!; public override void Initialize() diff --git a/Content.Client/Administration/UI/AdminAnnounceWindow.xaml b/Content.Client/Administration/UI/AdminAnnounceWindow.xaml index 20c64f827d..bb5c29bc78 100644 --- a/Content.Client/Administration/UI/AdminAnnounceWindow.xaml +++ b/Content.Client/Administration/UI/AdminAnnounceWindow.xaml @@ -1,4 +1,4 @@ - @@ -12,4 +12,4 @@