]> git.jsancho.org Git - lugaru.git/commitdiff
Set default resolution to 1024x768
authorRémi Verschelde <rverschelde@gmail.com>
Sun, 20 Nov 2016 11:23:18 +0000 (12:23 +0100)
committerRémi Verschelde <rverschelde@gmail.com>
Sun, 20 Nov 2016 11:34:41 +0000 (12:34 +0100)
Nowadays it is a saner default than 640x480.
Part of #15.

Source/Settings.cpp

index e0b4db1a0d9c39e7d7c66b4bf1475d6fc21ca8e5..9930713e74a61d4c466035102ca93014cf91644c 100644 (file)
@@ -30,8 +30,8 @@ void DefaultSettings()
     detail = 1;
     ismotionblur = 0;
     usermousesensitivity = 1;
-    newscreenwidth = kContextWidth = 640;
-    newscreenheight = kContextHeight = 480;
+    newscreenwidth = kContextWidth = 1024;
+    newscreenheight = kContextHeight = 768;
     fullscreen = 0;
     kBitsPerPixel = 32;
     floatjump = 0;
@@ -315,9 +315,9 @@ bool LoadSettings()
     if (detail < 0)
         detail = 0;
     if (screenwidth < 0)
-        screenwidth = 640;
+        screenwidth = 1024;
     if (screenheight < 0)
-        screenheight = 480;
+        screenheight = 768;
 
     return true;
 }