hedgewars/hwengine.pas
changeset 6603 ef9ed71e3cf7
parent 6598 fa518383563b
child 6611 d9d00e537010
--- a/hedgewars/hwengine.pas	Thu Jan 26 22:20:21 2012 +0100
+++ b/hedgewars/hwengine.pas	Thu Jan 26 23:54:53 2012 +0100
@@ -295,7 +295,6 @@
 begin
 {$IFDEF HWLIBRARY}
     cBits:= 32;
-    cFullScreen:= true;
     cTimerInterval:= 8;
     cShowFPS:= {$IFDEF DEBUGFILE}true{$ELSE}false{$ENDIF};
     val(gameArgs[0], ipcPort);
@@ -303,6 +302,8 @@
     val(gameArgs[2], cScreenHeight);
     val(gameArgs[3], cReducedQuality);
     cLocaleFName:= gameArgs[4];
+    // cFullScreen functionality is platform dependent, ifdef it if you need to modify it
+    cFullScreen:= false;
     
     if (Length(cLocaleFName) > 6) then
         cLocale := Copy(cLocaleFName,1,5)