From 0cf9ef37dbcfdcbff0211711ca5afe36a913b6c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrzej=20Fa=C5=82kowski?= Date: Sat, 19 Aug 2023 22:54:51 +0200 Subject: [PATCH] INI settings for loading screen stretch mode --- Data-1.13/Ja2_Options.INI | 9 +++++++++ Data/Ja2_Options.INI | 9 +++++++++ INIEditorJA2Options.xml | Bin 1729476 -> 1731952 bytes 3 files changed, 18 insertions(+) diff --git a/Data-1.13/Ja2_Options.INI b/Data-1.13/Ja2_Options.INI index eadd0cb7c..2c2a510f7 100644 --- a/Data-1.13/Ja2_Options.INI +++ b/Data-1.13/Ja2_Options.INI @@ -593,6 +593,15 @@ SCROLL_SPEED_FACTOR = 1.0 USE_EXTERNALIZED_LOADSCREENS = TRUE +;------------------------------------------------------------------------------------------------------------------------------ +; Loading screen stretch mode +; 0 = Stretch - Always stretch to fit the screen. +; 1 = Match height - Stretch the image so its height matches the screen height while maintaining the aspect ratio. (This will add black bars on the sides if the screen is wider, and it will crop the image if the screen is narrower.) +; 2 = Match height for widescreen - Maintain the aspect ratio for images wider than the screen; stretch in all other cases. +;------------------------------------------------------------------------------------------------------------------------------ + +LOADSCREEN_STRETCH_MODE = 1 + ;------------------------------------------------------------------------------------------------------------------------------ ; Show hints on the loadscreen? ; If set to TRUE, the game will sho tips from in TableData\LoadScreenHints.xml. diff --git a/Data/Ja2_Options.INI b/Data/Ja2_Options.INI index 309544aea..ee74fe416 100644 --- a/Data/Ja2_Options.INI +++ b/Data/Ja2_Options.INI @@ -593,6 +593,15 @@ SCROLL_SPEED_FACTOR = 1.0 USE_EXTERNALIZED_LOADSCREENS = TRUE +;------------------------------------------------------------------------------------------------------------------------------ +; Loading screen stretch mode +; 0 = Stretch - Always stretch to fit the screen. +; 1 = Match height - Stretch the image so its height matches the screen height while maintaining the aspect ratio. (This will add black bars on the sides if the screen is wider, and it will crop the image if the screen is narrower.) +; 2 = Match height for widescreen - Maintain the aspect ratio for images wider than the screen; stretch in all other cases. +;------------------------------------------------------------------------------------------------------------------------------ + +LOADSCREEN_STRETCH_MODE = 1 + ;------------------------------------------------------------------------------------------------------------------------------ ; Show hints on the loadscreen? ; If set to TRUE, the game will sho tips from in TableData\LoadScreenHints.xml. diff --git a/INIEditorJA2Options.xml b/INIEditorJA2Options.xml index 55b2e4aa990ef51c56cf9ea0ba32b5896e816d0a..532bddcc667eaaf328541ae8c29ea0050f4dcd20 100644 GIT binary patch delta 1698 zcma)6O=}Zj5T0#5sdCtxia$V~nYZg^;|FDV$j-Yn&&)hCZ{EGPzkRar?Hl_Y zZ$ioRnI&4Gd0M13x=gEd1y$r8K)w`11RL>rS_uM5aQ-&%o+5kfyJb4>Z8$>N?Fjxq%DMH;8v9P z3_0rbcqksJg3nUVUq=(_>Bdlhyv{cG9GZY*269{KemtBQbwFCd(ck*AXB8u9PwplV8mI(oh z@L>B6tObMjnT7E@TDNr-Uz(VXO%Wq647U)&Z8zaxM^R1inczG0bHy=3?8daFD6n9Z z;FcG=HT|SaVH#dMg++X?fVPUl{P?LRg z=DWvw@a-$$Lg-<5SK{cy@Jf;PT%==CuKmw>`>W&2$CHL|h~lEOZo2QIs@AHoCHn* Zy+9uj2l{~okOWe|05Etkk{)_7`wNI0OHcp+ delta 117 zcmexxEAzY