hedgewars/uConsts.pas
changeset 202 8603c0420461
parent 199 f156e54736a4
child 211 558476056205
equal deleted inserted replaced
201:c9610ad20fef 202:8603c0420461
    48      THWFont    = (fnt16, fntBig);
    48      THWFont    = (fnt16, fntBig);
    49      TCapGroup  = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
    49      TCapGroup  = (capgrpGameState, capgrpAmmoinfo, capgrpNetSay, capgrpVolume);
    50      THHFont    = record
    50      THHFont    = record
    51                   Handle: PTTF_Font;
    51                   Handle: PTTF_Font;
    52                   Height: integer;
    52                   Height: integer;
       
    53                   style: integer;
    53                   Name: string[15];
    54                   Name: string[15];
    54                   end;
    55                   end;
    55      TAmmo = record
    56      TAmmo = record
    56              Propz: LongWord;
    57              Propz: LongWord;
    57              Count: LongWord;
    58              Count: LongWord;
   158       cCHFileName   = 'Crosshair';
   159       cCHFileName   = 'Crosshair';
   159       cThemeCFGFilename = 'theme.cfg';
   160       cThemeCFGFilename = 'theme.cfg';
   160 
   161 
   161       Fontz: array[THWFont] of THHFont = (
   162       Fontz: array[THWFont] of THHFont = (
   162                                          (Height: 12;
   163                                          (Height: 12;
       
   164                                           style: TTF_STYLE_NORMAL;
   163                                           Name: 'DejaVuSans.ttf'),
   165                                           Name: 'DejaVuSans.ttf'),
   164                                          (Height: 24;
   166                                          (Height: 24;
       
   167                                           style: TTF_STYLE_NORMAL;
   165                                           Name: 'DejaVuSans.ttf')
   168                                           Name: 'DejaVuSans.ttf')
   166                                          );
   169                                          );
       
   170 
       
   171       FontBorder = 2;
   167 
   172 
   168       PathPrefix: string = './';
   173       PathPrefix: string = './';
   169       Pathz: array[TPathType] of string      = (
   174       Pathz: array[TPathType] of string      = (
   170                                                '',                              // ptNone      
   175                                                '',                              // ptNone      
   171                                                'Data',                          // ptData
   176                                                'Data',                          // ptData