hedgewars/uVariables.pas
changeset 10271 e770bfcf488a
parent 10266 a90a55ec5b98
child 10304 7e40820b7ed6
equal deleted inserted replaced
10270:cd78906ed898 10271:e770bfcf488a
   211     WorldDx: LongInt;
   211     WorldDx: LongInt;
   212     WorldDy: LongInt;
   212     WorldDy: LongInt;
   213 
   213 
   214     // for tracking the limits of the visible grid based on cScaleFactor
   214     // for tracking the limits of the visible grid based on cScaleFactor
   215     ViewLeftX, ViewRightX, ViewBottomY, ViewTopY: LongInt;
   215     ViewLeftX, ViewRightX, ViewBottomY, ViewTopY: LongInt;
       
   216 
       
   217     dirtyLandTexCount: LongInt;
   216 
   218 
   217     hiTicks: Word;
   219     hiTicks: Word;
   218 
   220 
   219     LuaGoals        : shortstring;
   221     LuaGoals        : shortstring;
   220 
   222 
  2595     // those values still are not perfect
  2597     // those values still are not perfect
  2596     cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth);
  2598     cLeftScreenBorder:= round(-cMinZoomLevel * cScreenWidth);
  2597     cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH);
  2599     cRightScreenBorder:= round(cMinZoomLevel * cScreenWidth + LAND_WIDTH);
  2598     cScreenSpace:= cRightScreenBorder - cLeftScreenBorder;
  2600     cScreenSpace:= cRightScreenBorder - cLeftScreenBorder;
  2599 
  2601 
       
  2602     dirtyLandTexCount:= 0;
       
  2603 
  2600     vobFrameTicks:= 99999;
  2604     vobFrameTicks:= 99999;
  2601     vobFramesCount:= 4;
  2605     vobFramesCount:= 4;
  2602     vobCount:= 0;
  2606     vobCount:= 0;
  2603     vobVelocity:= 10;
  2607     vobVelocity:= 10;
  2604     vobFallSpeed:= 100;
  2608     vobFallSpeed:= 100;