hedgewars/uVariables.pas
branchhedgeroid
changeset 5725 e27100a0e2d0
parent 5655 44c2d19f79e2
parent 5706 4454aa0523e7
child 5824 2e5835130d9a
equal deleted inserted replaced
5671:ba4c3a4c8b09 5725:e27100a0e2d0
    23 
    23 
    24 uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uMobile;
    24 uses SDLh, uTypes, uFloat, GLunit, uConsts, Math, uMobile;
    25 
    25 
    26 var
    26 var
    27 /////// init flags ///////
    27 /////// init flags ///////
    28     cScreenWidth    : LongInt     = 1024;
    28     cMinScreenWidth   : LongInt     = 480;
    29     cScreenHeight   : LongInt     = 768;
    29     cMinScreenHeight  : LongInt     = 320;
       
    30     cScreenWidth      : LongInt     = 1024;
       
    31     cScreenHeight     : LongInt     = 768;
       
    32     cOrigScreenWidth  : LongInt     = 1024;
       
    33     cOrigScreenHeight : LongInt     = 768;
    30     cBits           : LongInt     = 32;
    34     cBits           : LongInt     = 32;
    31     ipcPort         : Word        = 0;
    35     ipcPort         : Word        = 0;
    32     cFullScreen     : boolean     = false;
    36     cFullScreen     : boolean     = false;
    33     isSoundEnabled  : boolean     = true;
    37     isSoundEnabled  : boolean     = true;
    34     isMusicEnabled  : boolean     = false;
    38     isMusicEnabled  : boolean     = false;
   612             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
   616             Width: 256; Height:128; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true),// sprSDCloud
   613             (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   617             (FileName:   'SDSplash'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   614             Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
   618             Width:  80; Height: 50; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: false; getImageDimensions: true),// sprSDSplash
   615             (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   619             (FileName:  'SDDroplet'; Path: ptCurrTheme; AltPath: ptSuddenDeath; Texture: nil; Surface: nil;
   616             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDDroplet
   620             Width:  16; Height: 16; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHighest; getDimensions: false; getImageDimensions: true),// sprSDDroplet
       
   621             (FileName:  'Egg'; Path: ptGraphics; AltPath: ptNone; Texture: nil; Surface: nil;//TODO change back 'Egg' to 'Tardis'
       
   622             Width:  0; Height: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpMedium; getDimensions: true; getImageDimensions: true),// sprTardis
   617             (FileName: 'firebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
   623             (FileName: 'firebutton'; Path: ptButtons; AltPath: ptNone; Texture: nil; Surface: nil;
   618             Width: 450; Height: 150; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true) // sprFireButton
   624             Width: 450; Height: 150; imageWidth: 0; imageHeight: 0; saveSurf: false; priority: tpHigh; getDimensions: false; getImageDimensions: true) // sprFireButton
   619             );
   625             );
   620 
   626 
   621 
   627 
  2297     bShowAmmoMenu: boolean;
  2303     bShowAmmoMenu: boolean;
  2298     bSelected: boolean;
  2304     bSelected: boolean;
  2299     bShowFinger: boolean;
  2305     bShowFinger: boolean;
  2300     Frames: Longword;
  2306     Frames: Longword;
  2301     WaterColor, DeepWaterColor: TSDL_Color;
  2307     WaterColor, DeepWaterColor: TSDL_Color;
  2302     SDSkyColor: TSDL_Color;
  2308     SkyColor, RQSkyColor, SDSkyColor: TSDL_Color;
  2303     SkyOffset: LongInt;
  2309     SkyOffset: LongInt;
  2304     HorizontOffset: LongInt;
  2310     HorizontOffset: LongInt;
  2305 {$IFDEF COUNTTICKS}
  2311 {$IFDEF COUNTTICKS}
  2306     cntTicks: LongWord;
  2312     cntTicks: LongWord;
  2307 {$ENDIF}
  2313 {$ENDIF}