FLHDE / freelancer-hd-edition-installer

Installer for Freelancer: HD Edition.
https://github.com/BC46/freelancer-hd-edition
10 stars 4 forks source link

Add checks for 5:4 and also 16:10 aspect ratios #116

Closed BC46 closed 9 months ago

BC46 commented 1 year ago

Currently in the installer we automatically check and uncheck options based on whether the user has a monitor with a 4:3, 16:9 or other aspect ratio. However, currently 5:4 and 16:10 is not taken into account. As a result, some options will be automatically checked when they shouldn't be if the user has a 5:4 or 16:10 monitor.

A good idea to check this is to use a "IsAspectRatioWithinRange" function with constant variables for common aspect ratio ranges.