hedgewars/uVariables.pas
changeset 12189 31184d9b9bfc
parent 12163 9b5748fa7974
child 12190 4d818abdc00f
equal deleted inserted replaced
12188:099e59894671 12189:31184d9b9bfc
   331     SpritesData: array[TSprite] of TSpriteData;
   331     SpritesData: array[TSprite] of TSpriteData;
   332 
   332 
   333 const
   333 const
   334     SpritesDataInit: array[TSprite] of TSpriteData = (
   334     SpritesDataInit: array[TSprite] of TSpriteData = (
   335             (FileName:  'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
   335             (FileName:  'BlueWater'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
   336             Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprWater
   336             Width:   0; Height:  -1; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprWater
   337             (FileName:     'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
   337             (FileName:     'Clouds'; Path: ptCurrTheme;AltPath: ptGraphics; Texture: nil; Surface: nil;
   338             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCloud
   338             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprCloud
   339             (FileName:       'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   339             (FileName:       'Bomb'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   340             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBomb
   340             Width:   8; Height:  8; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprBomb
   341             (FileName:  'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   341             (FileName:  'BigDigits'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   700             (FileName:  'Snow'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   700             (FileName:  'Snow'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   701             Width:  4; Height: 4; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnow
   701             Width:  4; Height: 4; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnow
   702             (FileName:    'SDFlake'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   702             (FileName:    'SDFlake'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   703             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDFlake
   703             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDFlake
   704             (FileName:    'SDWater'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   704             (FileName:    'SDWater'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   705             Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprSDWater
   705             Width:   0; Height:  -2; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprSDWater
   706             (FileName:   'SDClouds'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   706             (FileName:   'SDClouds'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   707             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
   707             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
   708             (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   708             (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   709             Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
   709             Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
   710             (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   710             (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
  2453     lastVisualGearByUID: PVisualGear;
  2453     lastVisualGearByUID: PVisualGear;
  2454     vobFrameTicks, vobFramesCount, vobCount: Longword;
  2454     vobFrameTicks, vobFramesCount, vobCount: Longword;
  2455     vobVelocity, vobFallSpeed: LongInt;
  2455     vobVelocity, vobFallSpeed: LongInt;
  2456     vobSDFrameTicks, vobSDFramesCount, vobSDCount: Longword;
  2456     vobSDFrameTicks, vobSDFramesCount, vobSDCount: Longword;
  2457     vobSDVelocity, vobSDFallSpeed: LongInt;
  2457     vobSDVelocity, vobSDFallSpeed: LongInt;
       
  2458     watFrames, watFrameTicks: Longword;
       
  2459     watMove: LongInt;
       
  2460     watSDFrames, watSDFrameTicks: Longword;
       
  2461     watSDMove: LongInt;
  2458 
  2462 
  2459     DefaultBinds : TBinds;
  2463     DefaultBinds : TBinds;
  2460 
  2464 
  2461     lastTurnChecksum : Longword;
  2465     lastTurnChecksum : Longword;
  2462 
  2466 
  2758     vobFrameTicks:= 0;
  2762     vobFrameTicks:= 0;
  2759     vobFramesCount:= 4;
  2763     vobFramesCount:= 4;
  2760     vobCount:= 0;
  2764     vobCount:= 0;
  2761     vobVelocity:= 10;
  2765     vobVelocity:= 10;
  2762     vobFallSpeed:= 100;
  2766     vobFallSpeed:= 100;
       
  2767     watFrames:= 1;
       
  2768     watFrameTicks:= 0;
       
  2769     watMove:= 10;
  2763 
  2770 
  2764     vobSDFrameTicks:= 0;
  2771     vobSDFrameTicks:= 0;
  2765     vobSDFramesCount:= 4;
  2772     vobSDFramesCount:= 4;
  2766     vobSDCount:= 30 * cScreenSpace div LAND_WIDTH;
  2773     vobSDCount:= 30 * cScreenSpace div LAND_WIDTH;
  2767     vobSDVelocity:= 15;
  2774     vobSDVelocity:= 15;
  2768     vobSDFallSpeed:= 250;
  2775     vobSDFallSpeed:= 250;
       
  2776     watSDFrames:= 1;
       
  2777     watSDFrameTicks:= 0;
       
  2778     watSDMove:= 10;
  2769 
  2779 
  2770 {$IFDEF MOBILE}
  2780 {$IFDEF MOBILE}
  2771     cMinScreenWidth  := min(cScreenWidth, 480);
  2781     cMinScreenWidth  := min(cScreenWidth, 480);
  2772     cMinScreenHeight := min(cScreenHeight, 320);
  2782     cMinScreenHeight := min(cScreenHeight, 320);
  2773 {$ELSE}
  2783 {$ELSE}