hedgewars/uConsts.pas
branchhedgeroid
changeset 5550 50650032c251
parent 5441 39962b855540
child 5725 e27100a0e2d0
--- a/hedgewars/uConsts.pas	Thu Aug 11 15:03:21 2011 +0200
+++ b/hedgewars/uConsts.pas	Mon Aug 15 21:45:27 2011 +0200
@@ -156,7 +156,7 @@
     // do not change this value
     cDefaultZoomLevel = 2.0;
 
-{$IFDEF IPHONEOS}
+{$IFDEF MOBILE}
     cMaxZoomLevel = 0.5;
     cMinZoomLevel = 3.5;
     cZoomDelta = 0.20;
@@ -166,6 +166,8 @@
     cZoomDelta = 0.25;
 {$ENDIF}
 
+    cMinMaxZoomLevelDelta = cMaxZoomLevel - cMinZoomLevel;
+
     cSendEmptyPacketTime = 1000;
     trigTurns = $80000001;