CnCNet / ts-patches

Command and Conquer: Tiberian Sun patches for CnCNet online gameplay.
GNU General Public License v3.0
42 stars 15 forks source link

Adds patch for enforcing a the lowest resolution. #93

Closed CCHyper closed 3 years ago

CCHyper commented 3 years ago

This PR adds a patch for enforcing the lowest resolution a user can set;

By default, the normal TS behaviour will happen, but if the developer chooses, he can set a low limit in enforce_lower_resolution_limit.asm with the FORCE_WIDTH_MIN and FORCE_HEIGHT_MIN defines.

For example, setting these two values to 1024 and 768 respectively will force users to that resolution if they attempt to launch the game with a resolution lower than this.