From f8de57619f03d25221840ca38b984542ad187fb7 Mon Sep 17 00:00:00 2001 From: Iajret Creature <122297233+Steals-The-PRs@users.noreply.github.com> Date: Thu, 23 Nov 2023 22:27:16 +0300 Subject: [PATCH] [MIRROR] pixel perfect 4x [MDB IGNORE] (#25182) (#769) * 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 :cl: qol: adds pixel perfect 4x, 4.5x, and 5x /:cl: * pixel perfect 4x --------- Co-authored-by: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Co-authored-by: aaaa1023 <74441292+aaaa1023@users.noreply.github.com> --- code/modules/client/preferences/pixel_size.dm | 2 +- .../preferences/features/game_preferences/pixel_size.tsx | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/client/preferences/pixel_size.dm b/code/modules/client/preferences/pixel_size.dm index cb166e0139a..ea375d91e43 100644 --- a/code/modules/client/preferences/pixel_size.dm +++ b/code/modules/client/preferences/pixel_size.dm @@ -4,7 +4,7 @@ savefile_identifier = PREFERENCE_PLAYER minimum = 0 - maximum = 3 + maximum = 5 step = 0.5 diff --git a/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/pixel_size.tsx b/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/pixel_size.tsx index 4afde6a8bb1..ed5fb9aafa7 100644 --- a/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/pixel_size.tsx +++ b/tgui/packages/tgui/interfaces/PreferencesMenu/preferences/features/game_preferences/pixel_size.tsx @@ -9,5 +9,8 @@ export const pixel_size: Feature = { 1.5: 'Pixel Perfect 1.5x', 2: 'Pixel Perfect 2x', 3: 'Pixel Perfect 3x', + 4: 'Pixel Perfect 4x', + 4.5: 'Pixel Perfect 4.5x', + 5: 'Pixel Perfect 5x', }), };