Files
Bubberstation/code/modules/client/preferences/pixel_size.dm
aaaa1023 7a7a206754 pixel perfect 4x (#79660)
## About The Pull Request
Adds pixel perfect 4x and 4.5x scaling. I tested it and it seems to work
though 4.5 scaling causes very slightly distorted pixel sizes. There's
also a bit of letterboxing but I think that happens with all of the
pixel perfect settings.

## Why It's Good For The Game
better fits 4k monitors and isn't stretch to fit 

## Changelog
🆑
qol: adds pixel perfect 4x, 4.5x, and 5x
/🆑
2023-11-22 01:49:29 +01: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 = 5
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()