hedgewars/uVariables.pas
changeset 10304 7e40820b7ed6
parent 10271 e770bfcf488a
child 10325 7315870716f2
equal deleted inserted replaced
10303:f726e36c3e24 10304:7e40820b7ed6
   210 
   210 
   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, ViewWidth, ViewHeight: LongInt;
       
   216 
       
   217     // for debugging the view limits visually
       
   218     cViewLimitsDebug: boolean;
   216 
   219 
   217     dirtyLandTexCount: LongInt;
   220     dirtyLandTexCount: LongInt;
   218 
   221 
   219     hiTicks: Word;
   222     hiTicks: Word;
   220 
   223 
   223     LuaTemplateNumber : LongWord;
   226     LuaTemplateNumber : LongWord;
   224 
   227 
   225     LastVoice : TVoice = ( snd: sndNone; voicepack: nil );
   228     LastVoice : TVoice = ( snd: sndNone; voicepack: nil );
   226 
   229 
   227     mobileRecord: TMobileRecord;
   230     mobileRecord: TMobileRecord;
       
   231 
       
   232     MaxTextureSize: LongInt;
   228 
   233 
   229 /////////////////////////////////////
   234 /////////////////////////////////////
   230 //Buttons
   235 //Buttons
   231 {$IFDEF USE_TOUCH_INTERFACE}
   236 {$IFDEF USE_TOUCH_INTERFACE}
   232     buttonScale: GLFloat;
   237     buttonScale: GLFloat;
  2632 
  2637 
  2633     LuaTemplateNumber:= 0;
  2638     LuaTemplateNumber:= 0;
  2634 
  2639 
  2635     UIDisplay:= uiAll;
  2640     UIDisplay:= uiAll;
  2636     LocalMessage:= 0;
  2641     LocalMessage:= 0;
       
  2642 
       
  2643     cViewLimitsDebug:= false;
  2637 end;
  2644 end;
  2638 
  2645 
  2639 procedure freeModule;
  2646 procedure freeModule;
  2640 begin
  2647 begin
  2641 end;
  2648 end;