change minimum resolution back to 640x480 (full weapon menu too big for smaller screens)
authorsheepluva
Fri, 09 Sep 2011 00:22:48 +0200
changeset 5814 9ac119696510
parent 5813 d5e9c22c59a2
child 5815 d9b50fef5164
change minimum resolution back to 640x480 (full weapon menu too big for smaller screens)
hedgewars/hwengine.pas
hedgewars/uVariables.pas
--- a/hedgewars/hwengine.pas	Thu Sep 08 13:03:58 2011 -0400
+++ b/hedgewars/hwengine.pas	Fri Sep 09 00:22:48 2011 +0200
@@ -250,8 +250,8 @@
     recordFileName:= gameArgs[10];
     cStereoMode:= smNone;
 {$ENDIF}
-    cMinScreenWidth:= min(cScreenWidth, 480);
-    cMinScreenHeight:= min(cScreenHeight, 320);
+    cMinScreenWidth:= min(cScreenWidth, cMinScreenWidth);
+    cMinScreenHeight:= min(cScreenHeight, cMinScreenHeight);
     cOrigScreenWidth:= cScreenWidth;
     cOrigScreenHeight:= cScreenHeight;
 
--- a/hedgewars/uVariables.pas	Thu Sep 08 13:03:58 2011 -0400
+++ b/hedgewars/uVariables.pas	Fri Sep 09 00:22:48 2011 +0200
@@ -25,8 +25,8 @@
 
 var
 /////// init flags ///////
-    cMinScreenWidth    : LongInt     = 480;
-    cMinScreenHeight   : LongInt     = 320;
+    cMinScreenWidth    : LongInt     = 640;
+    cMinScreenHeight   : LongInt     = 480;
     cScreenWidth       : LongInt     = 1024;
     cScreenHeight      : LongInt     = 768;
     cOrigScreenWidth   : LongInt     = 1024;