hedgewars/uLocale.pas
changeset 175 d226d976d836
parent 108 08f1fe6f21f8
child 183 57c2ef19f719
equal deleted inserted replaced
174:0b2c5b22f644 175:d226d976d836
    34 unit uLocale;
    34 unit uLocale;
    35 interface
    35 interface
    36 type TAmmoStrId = (sidGrenade, sidClusterBomb, sidBazooka, sidUFO, sidShotgun,
    36 type TAmmoStrId = (sidGrenade, sidClusterBomb, sidBazooka, sidUFO, sidShotgun,
    37                    sidPickHammer, sidSkip, sidRope, sidMine, sidDEagle,
    37                    sidPickHammer, sidSkip, sidRope, sidMine, sidDEagle,
    38                    sidDynamite, sidBaseballBat, sidFirePunch, sidSeconds);
    38                    sidDynamite, sidBaseballBat, sidFirePunch, sidSeconds);
    39      TMsgStrId = (sidStartFight, sidDraw, sidWinner);
    39      TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume);
    40 var trammo: array[TAmmoStrId] of string;
    40 var trammo: array[TAmmoStrId] of string;
    41     trmsg: array[TMsgStrId] of string;
    41     trmsg: array[TMsgStrId] of string;
    42 
    42 
    43 procedure LoadLocale(FileName: string);
    43 procedure LoadLocale(FileName: string);
    44 function Format(fmt: shortstring; var arg: shortstring): shortstring;
    44 function Format(fmt: shortstring; var arg: shortstring): shortstring;