Default window size: Increase to 1024x576, aspect ratio 16:9
authorparamat <paramat@users.noreply.github.com>
Wed, 12 Jul 2017 13:44:58 +0000 (14:44 +0100)
committerparamat <mat.gregory@virginmedia.com>
Sat, 15 Jul 2017 00:36:37 +0000 (01:36 +0100)
builtin/settingtypes.txt
minetest.conf.example
src/defaultsettings.cpp

index 8243ea79409824b33f7dfd1d3955f19437220897..6dd3e825b6744ffd887557ea33aa9f2f68d4bc65 100644 (file)
@@ -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
index e09532be53cea58ea3627873aa245747aa3cf064..d6a57d681ed8be1614d98f757cd6fc88f8d469c8 100644 (file)
 
 #    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
index 45920330f2a29d644885a239740386f7f2f6ec36..54043cf75fbd8bc219edf33fb8d0440be6468ed5 100644 (file)
@@ -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");