From 49a359ca55ffe0d6e056d95e4f386940c81486ff Mon Sep 17 00:00:00 2001 From: "C.S. Melis" Date: Tue, 4 Jun 2024 15:27:06 +0200 Subject: [PATCH] Correctly position weapon group buttons on all aspect ratios Before the WG buttons were hardcoded for 16:9 and 4:3 resolutions only, meaning they'd be positioned incorrectly on other aspect ratios. This patch makes it so that the WG buttons are positioned correctly on all aspect ratios, dynamically. This makes the HudWeaponGroups entry in HudShift.ini obsolete. HudWeaponGroups.dll: 1932F, 31 DB 2D -> 00 90 B8 19336, D8 -> D9 19339, 89 5D A4 DB 45 A4 D8 4E 24 DE -> D8 00 D8 48 04 D8 40 08 EB 27 194BC, AE 47 E1 7A 14 AE 47 E1 FC 3F 00 00 -> 77 BE 1F 3D 66 66 A6 3F CD CC 4C 3C Resolves #159. --- DATA/INTERFACE/HudShift.ini | 1 - EXE/HudWeaponGroups.dll | Bin 138752 -> 138752 bytes 2 files changed, 1 deletion(-) diff --git a/DATA/INTERFACE/HudShift.ini b/DATA/INTERFACE/HudShift.ini index 12f7ae7..a65ed7b 100644 --- a/DATA/INTERFACE/HudShift.ini +++ b/DATA/INTERFACE/HudShift.ini @@ -1,5 +1,4 @@ [HUDShift] -;HudWeaponGroups = true Horizontal = auto ; The calculated values, if you'd like to do some fine tuning. diff --git a/EXE/HudWeaponGroups.dll b/EXE/HudWeaponGroups.dll index ed434a9ea4bbf470859e9ce783b4c9704148a5f0..3a25f75fc86006a4f9ca5a815ebb5318ef430337 100644 GIT binary patch delta 57 zcmZqJ!_fdlTNw2xi!e;sv1frJ!%f#GHyCbsu-tIqc&)zOc`{=qBTxB0dE2zKW%g&! N_}FYeF@@2h69BW&7xe%D delta 46 zcmZqJ!_fdlTNw2xvl!mi-7`I9GNaD+_{og1j6CbyA6AI~i9hxX4BJmkVYKK30I>QJ Ak^lez