hedgewars/uVariables.pas
branchsdl2transition
changeset 11343 9006e158a81f
parent 11317 62287d4044e7
child 11408 b894922d58cc
child 11482 e425a6eb9da3
equal deleted inserted replaced
11342:ed5a6478e710 11343:9006e158a81f
   241     LastVoice : TVoice;
   241     LastVoice : TVoice;
   242 
   242 
   243     mobileRecord: TMobileRecord;
   243     mobileRecord: TMobileRecord;
   244 
   244 
   245     MaxTextureSize: LongInt;
   245     MaxTextureSize: LongInt;
   246 
       
   247     ChatPasteBuffer: shortstring;
       
   248 
   246 
   249 /////////////////////////////////////
   247 /////////////////////////////////////
   250 //Buttons
   248 //Buttons
   251 {$IFDEF USE_TOUCH_INTERFACE}
   249 {$IFDEF USE_TOUCH_INTERFACE}
   252     buttonScale: GLFloat;
   250     buttonScale: GLFloat;
  2737 
  2735 
  2738     cStereoDepth:= 0;
  2736     cStereoDepth:= 0;
  2739     cViewLimitsDebug:= false;
  2737     cViewLimitsDebug:= false;
  2740     AprilOne := false;
  2738     AprilOne := false;
  2741 
  2739 
  2742     ChatPasteBuffer:= '';
       
  2743 
       
  2744     // initialize pointers to nil
  2740     // initialize pointers to nil
  2745     // (don't rely on implicit init of fpc, because that one only happens ONCE when used as lib)
  2741     // (don't rely on implicit init of fpc, because that one only happens ONCE when used as lib)
  2746     CurAmmoGear:= nil;
  2742     CurAmmoGear:= nil;
  2747     lastGearByUID:= nil;
  2743     lastGearByUID:= nil;
  2748     GearsList:= nil;
  2744     GearsList:= nil;