Skip to content

Commit

Permalink
Correctly position weapon group buttons on all aspect ratios
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
BC46 committed Jun 4, 2024
1 parent 08119d3 commit 49a359c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion DATA/INTERFACE/HudShift.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[HUDShift]
;HudWeaponGroups = true
Horizontal = auto

; The calculated values, if you'd like to do some fine tuning.
Expand Down
Binary file modified EXE/HudWeaponGroups.dll
Binary file not shown.

0 comments on commit 49a359c

Please sign in to comment.