hedgewars/uVariables.pas
branchui-scaling
changeset 15663 d92eeb468dad
parent 15283 c4fd2813b127
parent 15327 2196aa902d2d
child 15665 63e2b7b2ec47
equal deleted inserted replaced
15283:c4fd2813b127 15663:d92eeb468dad
    31     cMinScreenHeight   : LongInt;
    31     cMinScreenHeight   : LongInt;
    32     cFullscreenWidth   : LongInt;
    32     cFullscreenWidth   : LongInt;
    33     cFullscreenHeight  : LongInt;
    33     cFullscreenHeight  : LongInt;
    34     cWindowedWidth     : LongInt;
    34     cWindowedWidth     : LongInt;
    35     cWindowedHeight    : LongInt;
    35     cWindowedHeight    : LongInt;
       
    36     cWindowedMaximized : boolean;
    36     cScreenWidth       : LongInt;
    37     cScreenWidth       : LongInt;
    37     cScreenHeight      : LongInt;
    38     cScreenHeight      : LongInt;
    38     cNewScreenWidth    : LongInt;
    39     cNewScreenWidth    : LongInt;
    39     cNewScreenHeight   : LongInt;
    40     cNewScreenHeight   : LongInt;
    40     cScreenResizeDelay : LongWord;
    41     cScreenResizeDelay : LongWord;
   477             (FileName:   'amGirder'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   478             (FileName:   'amGirder'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   478             Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder
   479             Width: 160; Height:160; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprAmGirder
   479             (FileName:     'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   480             (FileName:     'hhMask'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   480             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHHTelepMask
   481             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: true; critical: true; checkSum: true; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprHHTelepMask
   481             (FileName:     'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   482             (FileName:     'Switch'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   482             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSwitch
   483             Width:  40; Height: 40; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSwitch
   483             (FileName:  'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   484             (FileName:  'Parachute'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   484             Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprParachute
   485             Width:  48; Height: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprParachute
   485             (FileName:     'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   486             (FileName:     'Target'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;
   486             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTarget
   487             Width:  32; Height: 32; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprTarget
   487             (FileName:   'RopeNode'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
   488             (FileName:   'RopeNode'; Path: ptCurrTheme; AltPath: ptGraphics; Texture: nil; Surface: nil;
  2587     FollowGear: PGear;
  2588     FollowGear: PGear;
  2588     WindBarWidth: LongInt;
  2589     WindBarWidth: LongInt;
  2589     bShowAmmoMenu: boolean;
  2590     bShowAmmoMenu: boolean;
  2590     bSelected: boolean;
  2591     bSelected: boolean;
  2591     bShowFinger: boolean;
  2592     bShowFinger: boolean;
       
  2593     bShowSwitcher: boolean;
  2592     Frames: Longword;
  2594     Frames: Longword;
  2593     WaterColor, DeepWaterColor: TSDL_Color;
  2595     WaterColor, DeepWaterColor: TSDL_Color;
  2594     SDTint, SkyColor, RQSkyColor, SDSkyColor: TSDL_Color;
  2596     SDTint, SkyColor, RQSkyColor, SDSkyColor: TSDL_Color;
  2595     SkyOffset: LongInt;
  2597     SkyOffset: LongInt;
  2596 {$IFDEF COUNTTICKS}
  2598 {$IFDEF COUNTTICKS}
  2676 
  2678 
  2677     cFullscreenWidth  := 0;
  2679     cFullscreenWidth  := 0;
  2678     cFullscreenHeight := 0;
  2680     cFullscreenHeight := 0;
  2679     cWindowedWidth    := 1024;
  2681     cWindowedWidth    := 1024;
  2680     cWindowedHeight   := 768;
  2682     cWindowedHeight   := 768;
       
  2683     cWindowedMaximized:= false;
  2681     cScreenWidth      := cWindowedWidth;
  2684     cScreenWidth      := cWindowedWidth;
  2682     cScreenHeight     := cWindowedHeight;
  2685     cScreenHeight     := cWindowedHeight;
  2683 
  2686 
  2684     cShowFPS        := false;
  2687     cShowFPS        := false;
  2685     cAltDamage      := false;
  2688     cAltDamage      := false;