hedgewars/uVariables.pas
changeset 4748 ce9b48de1f52
parent 4695 ac2cb3b99d70
child 4772 02370ca8e92c
equal deleted inserted replaced
4745:b9a9f70948da 4748:ce9b48de1f52
   129     InitStepsFlags  : Longword;
   129     InitStepsFlags  : Longword;
   130     RealTicks       : Longword;
   130     RealTicks       : Longword;
   131     AttackBar       : LongInt;
   131     AttackBar       : LongInt;
   132 
   132 
   133     WaterColorArray : array[0..3] of HwColor4f;
   133     WaterColorArray : array[0..3] of HwColor4f;
       
   134     SDWaterColorArray : array[0..3] of HwColor4f;
       
   135     SDMusic         : shortstring;
   134 
   136 
   135     CursorPoint     : TPoint;
   137     CursorPoint     : TPoint;
   136     TargetPoint     : TPoint;
   138     TargetPoint     : TPoint;
   137 
   139 
   138     ScreenFade      : TScreenFade;
   140     ScreenFade      : TScreenFade;
   173         'Graphics/AmmoMenu',             // ptAmmoMenu
   175         'Graphics/AmmoMenu',             // ptAmmoMenu
   174         'Graphics/Hedgehog',             // ptHedgehog
   176         'Graphics/Hedgehog',             // ptHedgehog
   175         'Sounds/voices',                 // ptVoices
   177         'Sounds/voices',                 // ptVoices
   176         'Graphics/Hats',                 // ptHats
   178         'Graphics/Hats',                 // ptHats
   177         'Graphics/Flags',                // ptFlags
   179         'Graphics/Flags',                // ptFlags
   178         'Missions/Maps'                  // ptMissionMaps
   180         'Missions/Maps',                 // ptMissionMaps
       
   181         'Graphics/SuddenDeath'           // ptSuddenDeath
   179     );
   182     );
   180 
   183 
   181     cTagsMasks : array[0..15] of byte = (7, 0, 0, 0, 15, 6, 4, 5, 0, 0, 0, 0, 0, 14, 12, 13);
   184     cTagsMasks : array[0..15] of byte = (7, 0, 0, 0, 15, 6, 4, 5, 0, 0, 0, 0, 0, 14, 12, 13);
   182     cTagsMasksNoHealth: array[0..15] of byte = (3, 2, 11, 1, 0, 0, 0, 0, 0, 10, 0, 9, 0, 0, 0, 0);
   185     cTagsMasksNoHealth: array[0..15] of byte = (3, 2, 11, 1, 0, 0, 0, 0, 0, 10, 0, 9, 0, 0, 0, 0);
   183 
   186 
   556             (FileName:  'Snowball'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   559             (FileName:  'Snowball'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   557             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnowball
   560             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnowball
   558             (FileName:  'amSnowball'; Path: ptCurrTheme; AltPath: ptHedgehog; Texture: nil; Surface: nil;
   561             (FileName:  'amSnowball'; Path: ptCurrTheme; AltPath: ptHedgehog; Texture: nil; Surface: nil;
   559             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSnowball
   562             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHandSnowball
   560             (FileName:  'Snow'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   563             (FileName:  'Snow'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   561             Width:  4; Height: 4; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true) // sprSnow
   564             Width:  4; Height: 4; imageWidth: 0; imageHeight: 0; saveSurf: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSnow
       
   565             (FileName:      'Flake'; Path: ptSuddenDeath; AltPath: ptNone; Texture: nil; Surface: nil;
       
   566             Width:  64; Height: 64; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDFlake
       
   567             (FileName:  'BlueWater'; Path: ptSuddenDeath; AltPath: ptNone; Texture: nil; Surface: nil;
       
   568             Width:   0; Height:  0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true) // sprSDWater
   562             );
   569             );
   563 
   570 
   564 
   571 
   565     Wavez: array [TWave] of record
   572     Wavez: array [TWave] of record
   566             Sprite: TSprite;
   573             Sprite: TSprite;
  2163         LAND_HEIGHT:= 2048;
  2170         LAND_HEIGHT:= 2048;
  2164         LAND_WIDTH_MASK:= $FFFFF000;
  2171         LAND_WIDTH_MASK:= $FFFFF000;
  2165         LAND_HEIGHT_MASK:= $FFFFF800
  2172         LAND_HEIGHT_MASK:= $FFFFF800
  2166     end;
  2173     end;
  2167 
  2174 
       
  2175     SDWaterColorArray[0].r := 184;
       
  2176     SDWaterColorArray[0].g := 152;
       
  2177     SDWaterColorArray[0].b := 195;
       
  2178     SDWaterColorArray[0].a := 255;
       
  2179     SDWaterColorArray[2].r := 152;
       
  2180     SDWaterColorArray[2].g := 120;
       
  2181     SDWaterColorArray[2].b := 163;
       
  2182     SDWaterColorArray[2].a := 255;
       
  2183     SDWaterColorArray[1]:= SDWaterColorArray[0];
       
  2184     SDWaterColorArray[3]:= SDWaterColorArray[2];
       
  2185 
       
  2186     SDMusic:= 'main_theme.ogg';
       
  2187 
  2168     cDrownSpeed.QWordValue  := 257698038;       // 0.06
  2188     cDrownSpeed.QWordValue  := 257698038;       // 0.06
  2169     cDrownSpeedf            := 0.06;
  2189     cDrownSpeedf            := 0.06;
  2170     cMaxWindSpeed.QWordValue:= 1073742;     // 0.00025
  2190     cMaxWindSpeed.QWordValue:= 1073742;     // 0.00025
  2171     cWindSpeed.QWordValue   := 429496;      // 0.0001
  2191     cWindSpeed.QWordValue   := 429496;      // 0.0001
  2172     cWindSpeedf             := 0.0001;
  2192     cWindSpeedf             := 0.0001;