Minimum screen resolution is 1280 x 720.
This commit is contained in:
parent
cf390f0b00
commit
80f840c4f0
|
@ -4,7 +4,7 @@
|
||||||
"group" : "options",
|
"group" : "options",
|
||||||
"type" : "WT_SELECT",
|
"type" : "WT_SELECT",
|
||||||
"text" : "Window Size",
|
"text" : "Window Size",
|
||||||
"options" : "640 x 360;1280 x 720;1600 x 900;1920 x 1080;2560 x 1440;3840 x 2160;",
|
"options" : "1280 x 720;1600 x 900;1920 x 1080;2560 x 1440;3840 x 2160;",
|
||||||
"x" : -1,
|
"x" : -1,
|
||||||
"y" : 175,
|
"y" : 175,
|
||||||
"w" : 400,
|
"w" : 400,
|
||||||
|
|
|
@ -215,9 +215,9 @@ static void loadConfig(int argc, char *argv[])
|
||||||
|
|
||||||
handleCommandLineConfig(argc, argv);
|
handleCommandLineConfig(argc, argv);
|
||||||
|
|
||||||
/* don't go higher than 8K or lower than 320 x 240 */
|
/* don't go higher than 8K or lower than 1280 x 720 */
|
||||||
app.winWidth = MIN(MAX(app.winWidth, 320), 7680);
|
app.winWidth = MIN(MAX(app.winWidth, 1280), 7680);
|
||||||
app.winHeight = MIN(MAX(app.winHeight, 240), 4320);
|
app.winHeight = MIN(MAX(app.winHeight, 720), 4320);
|
||||||
|
|
||||||
/* so that the player doesn't get confused if this is a new game */
|
/* so that the player doesn't get confused if this is a new game */
|
||||||
saveConfig();
|
saveConfig();
|
||||||
|
|
Loading…
Reference in New Issue