From 70781f0cba10832cac1579e92f864944f3f531db Mon Sep 17 00:00:00 2001 From: Luke Anderson Date: Sat, 11 Jul 2020 13:24:00 +0930 Subject: [PATCH 1/2] Re-Write Payday 2 Effects - Fixes #2133 & #1160 --- .../Profiles/Payday 2/Control_PD2.xaml | 31 +-- .../Profiles/Payday 2/Control_PD2.xaml.cs | 78 +----- .../Layers/Control_PD2BackgroundLayer.xaml | 56 ---- .../Layers/Control_PD2BackgroundLayer.xaml.cs | 54 ---- .../Layers/Control_PD2FlashbangLayer.xaml | 14 - .../Layers/Control_PD2FlashbangLayer.xaml.cs | 65 ----- .../Control_PD2MaskOnAnimationLayer.xaml | 10 + ...> Control_PD2MaskOnAnimationLayer.xaml.cs} | 23 +- .../Layers/Control_PD2StatesLayer.xaml | 43 --- .../Layers/PD2BackgroundLayerHandler.cs | 251 ------------------ .../Layers/PD2FlashbangLayerHandler.cs | 73 ----- .../Layers/PD2MaskOnAnimationLayerHandler.cs | 115 ++++++++ .../Payday 2/Layers/PD2StatesLayerHandler.cs | 118 -------- .../Profiles/Payday 2/PD2Application.cs | 4 +- .../Profiles/Payday 2/PD2Profile.cs | 236 +++++++++++++++- .../Project-Aurora/Project-Aurora.csproj | 32 +-- .../Control_LayerControlPresenter.xaml.cs | 1 - 17 files changed, 375 insertions(+), 829 deletions(-) delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/Control_PD2BackgroundLayer.xaml delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/Control_PD2BackgroundLayer.xaml.cs delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/Control_PD2FlashbangLayer.xaml delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/Control_PD2FlashbangLayer.xaml.cs create mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/Control_PD2MaskOnAnimationLayer.xaml rename Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/{Control_PD2StatesLayer.xaml.cs => Control_PD2MaskOnAnimationLayer.xaml.cs} (53%) delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/Control_PD2StatesLayer.xaml delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/PD2BackgroundLayerHandler.cs delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/PD2FlashbangLayerHandler.cs create mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/PD2MaskOnAnimationLayerHandler.cs delete mode 100644 Project-Aurora/Project-Aurora/Profiles/Payday 2/Layers/PD2StatesLayerHandler.cs diff --git a/Project-Aurora/Project-Aurora/Profiles/Payday 2/Control_PD2.xaml b/Project-Aurora/Project-Aurora/Profiles/Payday 2/Control_PD2.xaml index 349e02a3a..385b8c106 100644 --- a/Project-Aurora/Project-Aurora/Profiles/Payday 2/Control_PD2.xaml +++ b/Project-Aurora/Project-Aurora/Profiles/Payday 2/Control_PD2.xaml @@ -69,36 +69,13 @@ - -