aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-07-17 21:19:46 +0100
committerparamat <mat.gregory@virginmedia.com>2017-07-18 22:11:34 +0100
commit5f37efbec4d5b46cce8dbf7dc76cd1332b50d56a (patch)
tree765af9bfe759e7087eaea0361d8d7302f287edb1
parent79f19b8369a0120fbf0bd0ee3739989fbbbca50e (diff)
downloadminetest-5f37efbec4d5b46cce8dbf7dc76cd1332b50d56a.tar.gz
minetest-5f37efbec4d5b46cce8dbf7dc76cd1332b50d56a.tar.bz2
minetest-5f37efbec4d5b46cce8dbf7dc76cd1332b50d56a.zip
Window size: use 1024x600 to avoid a smaller UI
The change from 800x600 to 1024x576 (16:9) was a reduction in height which caused user interface to become smaller. Continue to use width 1024 as it is a common small screen width.
-rw-r--r--builtin/settingtypes.txt2
-rw-r--r--minetest.conf.example2
-rw-r--r--src/defaultsettings.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 60508d0dd..72a5db206 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -487,7 +487,7 @@ viewing_range (Viewing range) int 100 20 4000
screen_w (Screen width) int 1024
# Height component of the initial window size.
-screen_h (Screen height) int 576
+screen_h (Screen height) int 600
# Save window size automatically when modified.
autosave_screensize (Autosave Screen Size) bool true
diff --git a/minetest.conf.example b/minetest.conf.example
index b3e28cc91..f29849baf 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -558,7 +558,7 @@
# Height component of the initial window size.
# type: int
-# screen_h = 576
+# screen_h = 600
# Save window size automatically when modified.
# type: bool
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 84e4a3143..9785b5f5b 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -126,7 +126,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("pause_fps_max", "20");
settings->setDefault("viewing_range", "100");
settings->setDefault("screen_w", "1024");
- settings->setDefault("screen_h", "576");
+ settings->setDefault("screen_h", "600");
settings->setDefault("autosave_screensize", "true");
settings->setDefault("fullscreen", "false");
settings->setDefault("fullscreen_bpp", "24");