#3444 broke the HUD look n' feel
Describe the bug
#3444 broke the look n' feel of the hud, it seems like the hud scaling is always stuck on a 4:3 aspect ratio. "hud match aspect ratio" apparently scales the HUD down according to the current resolution (which is the expected behavior from the PR), although the HUD (the radar for example) is stretched as it was running on a 4:3 resolution.
Expected behavior: it should stretch properly in a 16:9 resolution
Notes: attempted to reproduce this bug using 1920x1080 resolution, both in standard and windowed modes.
related to: @henrymarques / #3444
Steps to reproduce
copy the following settings (resolution 16:9 -- "hud match aspect ratio" ticked) shown in the figure below:
Version
Client: Multi Theft Auto v1.6-release-23232 (Windows 11 Pro - 64 bit) Server: Not applicable.
Additional context
Not applicable.
Relevant log output
Not applicable.
Security Policy
- [x] I have read and understood the Security Policy and this issue is not security related.
Even in their own screenshot the minimap wasn't circle, it's like they were using 16:10 and it stretched to 16:9. Also in 4:3 1200x900 the minimap is now actually bigger for some reason instead of staying the same size.
I've reverted the PR in commit 07c29347d700390ae3bfb4cb9ef61235fc44b823 now
I've reverted the PR in commit 07c2934 now
Fair, it should be toggeable in the settings menu (third option, maybe call it Widescreen fix... we would also need a way to see if the config was enabled clientside to adjust the HUD accordingly).
I could revert to version that uses huge addresses tables but code will not be the better thing to read. Reverting, hud will look like this:
The radar looks okayish on this pic, (maybe a bit still streched?) however the top-right part of the hud (money, healthbar, time, weapon) are definitely streched. Someone told you in your PR to change it to look like this because he thought it was squashed but in reality it wasn't. Check some pics on the net from PS2 with 4:3 aspect ratio how it looked back then. Ideally you can just run the basegame in a 4:3 screen resolution without streching the screen (this way you'll likely see two black bar on the left and right side of your screen)
Fixed in 07c29347d700390ae3bfb4cb9ef61235fc44b823