Files
Bubberstation/code/modules/client/preferences/pixel_size.dm
Ice-Type f24a22ec1f Extends Integer scaling range, corrects some info (#92130)
## About The Pull Request

Extends the max range for integer scaling up to 9x, corrects some
misinfo in the visuals guide

## Why It's Good For The Game

This allows proper integer scaling up to 8k resolution, which not only
is generally the highest consumer-available resolution currently, but
also the next resolution that is able to perfectly display a 480p image
on it via integer scaling.

Also corrects misinfo because misinfo is bad.

## Changelog

🆑
qol: Increased the integer scaling range up to 9x
/🆑
2025-07-14 17:20:40 -06:00

16 lines
377 B
Plaintext

/datum/preference/numeric/pixel_size
category = PREFERENCE_CATEGORY_GAME_PREFERENCES
savefile_key = "pixel_size"
savefile_identifier = PREFERENCE_PLAYER
minimum = 0
maximum = 9
step = 0.5
/datum/preference/numeric/pixel_size/create_default_value()
return 0
/datum/preference/numeric/pixel_size/apply_to_client(client/client, value)
client?.view_size?.resetFormat()