diff -r f726e36c3e24 -r 7e40820b7ed6 hedgewars/uVariables.pas --- a/hedgewars/uVariables.pas Sat Jun 14 07:12:22 2014 +0200 +++ b/hedgewars/uVariables.pas Sat Jun 14 15:49:44 2014 +0200 @@ -212,7 +212,10 @@ WorldDy: LongInt; // for tracking the limits of the visible grid based on cScaleFactor - ViewLeftX, ViewRightX, ViewBottomY, ViewTopY: LongInt; + ViewLeftX, ViewRightX, ViewBottomY, ViewTopY, ViewWidth, ViewHeight: LongInt; + + // for debugging the view limits visually + cViewLimitsDebug: boolean; dirtyLandTexCount: LongInt; @@ -226,6 +229,8 @@ mobileRecord: TMobileRecord; + MaxTextureSize: LongInt; + ///////////////////////////////////// //Buttons {$IFDEF USE_TOUCH_INTERFACE} @@ -2634,6 +2639,8 @@ UIDisplay:= uiAll; LocalMessage:= 0; + + cViewLimitsDebug:= false; end; procedure freeModule;