hedgewars/uVariables.pas
changeset 8354 c25bee85d6f8
parent 8309 edcfb5e43245
child 8358 274afc318dca
--- a/hedgewars/uVariables.pas	Thu Jan 03 15:58:23 2013 +0200
+++ b/hedgewars/uVariables.pas	Thu Jan 03 15:59:30 2013 +0200
@@ -27,10 +27,12 @@
 /////// init flags ///////
     cMinScreenWidth    : LongInt;
     cMinScreenHeight   : LongInt;
+    cFullscreenWidth   : LongInt;
+    cFullscreenHeight  : LongInt;
+    cWindowedWidth     : LongInt;
+    cWindowedHeight    : LongInt;
     cScreenWidth       : LongInt;
     cScreenHeight      : LongInt;
-    cOrigScreenWidth   : LongInt;
-    cOrigScreenHeight  : LongInt;
     cNewScreenWidth    : LongInt;
     cNewScreenHeight   : LongInt;
     cScreenResizeDelay : LongWord;
@@ -2326,6 +2328,10 @@
 
     cScreenWidth    := 1024;
     cScreenHeight   := 768;
+    cFullscreenWidth    := 1024;
+    cFullscreenHeight   := 768;
+    cWindowedWidth    := 1024;
+    cWindowedHeight   := 768;
     cShowFPS        := false;
     cAltDamage      := true;
     cTimerInterval  := 8;
@@ -2508,8 +2514,6 @@
 
     cMinScreenWidth:= min(cScreenWidth, 640);
     cMinScreenHeight:= min(cScreenHeight, 480);
-    cOrigScreenWidth:= cScreenWidth;
-    cOrigScreenHeight:= cScreenHeight;
 
     cNewScreenWidth    := cScreenWidth;
     cNewScreenHeight   := cScreenHeight;