aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparamat <paramat@users.noreply.github.com>2017-07-12 14:44:58 +0100
committerparamat <mat.gregory@virginmedia.com>2017-07-15 01:36:37 +0100
commitfafa51202c3bd6e46a44eacbc7f42ef697835945 (patch)
tree530691268b9f9a21d119264749b696791a90493c
parentbdac12761cd92960c3df83c932aa610f2322215f (diff)
downloadminetest-fafa51202c3bd6e46a44eacbc7f42ef697835945.tar.gz
minetest-fafa51202c3bd6e46a44eacbc7f42ef697835945.tar.bz2
minetest-fafa51202c3bd6e46a44eacbc7f42ef697835945.zip
Default window size: Increase to 1024x576, aspect ratio 16:9
-rw-r--r--builtin/settingtypes.txt4
-rw-r--r--minetest.conf.example4
-rw-r--r--src/defaultsettings.cpp4
3 files changed, 6 insertions, 6 deletions
diff --git a/builtin/settingtypes.txt b/builtin/settingtypes.txt
index 8243ea794..6dd3e825b 100644
--- a/builtin/settingtypes.txt
+++ b/builtin/settingtypes.txt
@@ -481,10 +481,10 @@ pause_fps_max (FPS in pause menu) int 20
viewing_range (Viewing range) int 100 20 4000
# Width component of the initial window size.
-screen_w (Screen width) int 800
+screen_w (Screen width) int 1024
# Height component of the initial window size.
-screen_h (Screen height) int 600
+screen_h (Screen height) int 576
# Save window size automatically when modified.
autosave_screensize (Autosave Screen Size) bool true
diff --git a/minetest.conf.example b/minetest.conf.example
index e09532be5..d6a57d681 100644
--- a/minetest.conf.example
+++ b/minetest.conf.example
@@ -550,11 +550,11 @@
# Width component of the initial window size.
# type: int
-# screen_w = 800
+# screen_w = 1024
# Height component of the initial window size.
# type: int
-# screen_h = 600
+# screen_h = 576
# Save window size automatically when modified.
# type: bool
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 45920330f..54043cf75 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -124,8 +124,8 @@ void set_default_settings(Settings *settings)
settings->setDefault("fps_max", "60");
settings->setDefault("pause_fps_max", "20");
settings->setDefault("viewing_range", "100");
- settings->setDefault("screen_w", "800");
- settings->setDefault("screen_h", "600");
+ settings->setDefault("screen_w", "1024");
+ settings->setDefault("screen_h", "576");
settings->setDefault("autosave_screensize", "true");
settings->setDefault("fullscreen", "false");
settings->setDefault("fullscreen_bpp", "24");