hedgewars/uConsts.pas
changeset 15650 85d2afe34116
parent 15597 6e72bd61002e
child 15651 f75f8729cc5a
--- a/hedgewars/uConsts.pas	Mon Jun 29 00:15:37 2020 +0300
+++ b/hedgewars/uConsts.pas	Mon Jun 29 13:14:18 2020 +0200
@@ -233,6 +233,12 @@
     // do not change this value
     cDefaultZoomLevel = 2.0; // 100% zoom
 
+    // Maximum camera positions, values are "pixels outside the mainland"
+    cCamLimitX = 0; // X (left/right) camera limit, no border. Note: Influences sndFlyAway
+    cCamLimitY = 2048; // Top Y camera limit, no border
+    cCamLimitBorderX = 2048; // X (left/right) camera limit, with border
+    cCamLimitBorderY = 2048; // Top Y camera limit, with border
+
     // game flags
     gfAny                = $FFFFFFFF; // mask for all possible gameflags
     gfOneClanMode        = $00000001; // Game does not end if there's only one clan in play. For missions