Add Display layout editor to use for example on tablets, but also includes automatic screen cropping for 16:9 cases(default).

//Rebased & removed atlas stuff which was added with #8096
//squashed with some improvements
This commit is contained in:
LunaMoo authored and Luna committed 2015-10-31 20:50:02 +01:00
1 parent 8b2da19a55
commit ae1cf1d85d
19 files changed
+476 -33

No files matched your search

+5 -2
View File
@@ -436,14 +436,17 @@ static ConfigSetting graphicsSettings[] = {
ReportedConfigSetting("TextureSecondaryCache", &g_Config.bTextureSecondaryCache, false, true, true),
ReportedConfigSetting("VertexDecJit", &g_Config.bVertexDecoderJit, &DefaultJit, false),
#ifdef _WIN32
#ifndef MOBILE_DEVICE
ConfigSetting("FullScreen", &g_Config.bFullScreen, false),
#endif
// TODO: Replace these settings with a list of options
ConfigSetting("PartialStretch", &g_Config.bPartialStretch, &DefaultPartialStretch, true, true),
ConfigSetting("StretchToDisplay", &g_Config.bStretchToDisplay, false, true, true),
ConfigSetting("SmallDisplay", &g_Config.bSmallDisplay, false, true, true),
ConfigSetting("SmallDisplayZoom", &g_Config.iSmallDisplayZoom, 0, true, true),
ConfigSetting("SmallDisplayOffsetX", &g_Config.fSmallDisplayOffsetX, 0.5f, true, true),
ConfigSetting("SmallDisplayOffsetY", &g_Config.fSmallDisplayOffsetY, 0.5f, true, true),
ConfigSetting("SmallDisplayCustomZoom", &g_Config.fSmallDisplayCustomZoom, 8.0f, true, true),
ConfigSetting("ImmersiveMode", &g_Config.bImmersiveMode, false, true, true),
ReportedConfigSetting("TrueColor", &g_Config.bTrueColor, true, true, true),