From fafa51202c3bd6e46a44eacbc7f42ef697835945 Mon Sep 17 00:00:00 2001 From: paramat Date: Wed, 12 Jul 2017 14:44:58 +0100 Subject: [PATCH] Default window size: Increase to 1024x576, aspect ratio 16:9 --- builtin/settingtypes.txt | 4 ++-- minetest.conf.example | 4 ++-- src/defaultsettings.cpp | 4 ++-- 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"); -- 2.25.1