hedgewars/uVariables.pas
changeset 14598 62dea281e4d5
parent 14566 85921db6f7c3
child 14670 56831f466d1d
equal deleted inserted replaced
14597:6d2954037e57 14598:62dea281e4d5
    39     cNewScreenHeight   : LongInt;
    39     cNewScreenHeight   : LongInt;
    40     cScreenResizeDelay : LongWord;
    40     cScreenResizeDelay : LongWord;
    41     ipcPort            : Word;
    41     ipcPort            : Word;
    42     AprilOne           : boolean;
    42     AprilOne           : boolean;
    43     cFullScreen        : boolean;
    43     cFullScreen        : boolean;
    44     cLocaleFName       : shortstring;
    44     cLanguageFName     : shortstring;
    45     cLocale            : shortstring;
    45     cLanguage          : shortstring;
    46     cTimerInterval     : LongInt;
    46     cTimerInterval     : LongInt;
    47     PathPrefix         : ansistring;
    47     PathPrefix         : ansistring;
    48     UserPathPrefix     : ansistring;
    48     UserPathPrefix     : ansistring;
    49     cShowFPS           : boolean;
    49     cShowFPS           : boolean;
    50     cFlattenFlakes     : boolean;
    50     cFlattenFlakes     : boolean;
  2604 
  2604 
  2605     cShowFPS        := false;
  2605     cShowFPS        := false;
  2606     cAltDamage      := false;
  2606     cAltDamage      := false;
  2607     cTimerInterval  := 8;
  2607     cTimerInterval  := 8;
  2608     cReducedQuality := rqNone;
  2608     cReducedQuality := rqNone;
  2609     cLocaleFName    := 'en.txt';
  2609     cLanguageFName  := 'en.txt';
  2610     cFullScreen     := false;
  2610     cFullScreen     := false;
  2611 
  2611 
  2612     UserPathPrefix  := '';
  2612     UserPathPrefix  := '';
  2613     ipcPort         := 0;
  2613     ipcPort         := 0;
  2614     recordFileName  := '';
  2614     recordFileName  := '';
  2659     Move(FontzInit, Fontz, sizeof(Fontz));
  2659     Move(FontzInit, Fontz, sizeof(Fontz));
  2660     Move(SpritesDataInit, SpritesData, sizeof(SpritesData));
  2660     Move(SpritesDataInit, SpritesData, sizeof(SpritesData));
  2661     Move(AmmozInit, Ammoz, sizeof(Ammoz));
  2661     Move(AmmozInit, Ammoz, sizeof(Ammoz));
  2662 
  2662 
  2663 
  2663 
  2664     cLocale:= cLocaleFName;
  2664     cLanguage:= cLanguageFName;
  2665     SplitByChar(cLocale, s, '.');
  2665     SplitByChar(cLanguage, s, '.');
  2666 
  2666 
  2667     cFlattenFlakes      := false;
  2667     cFlattenFlakes      := false;
  2668     cFlattenClouds      := false;
  2668     cFlattenClouds      := false;
  2669     cIce                := false;
  2669     cIce                := false;
  2670     cSnow               := false;
  2670     cSnow               := false;