hedgewars/uLocale.pas
changeset 281 5b483aa9f2ab
parent 263 36379e6abcdd
child 285 cdab49768c83
equal deleted inserted replaced
280:4d6e365befc1 281:5b483aa9f2ab
    20 interface
    20 interface
    21 type TAmmoStrId = (sidGrenade, sidClusterBomb, sidBazooka, sidUFO, sidShotgun,
    21 type TAmmoStrId = (sidGrenade, sidClusterBomb, sidBazooka, sidUFO, sidShotgun,
    22                    sidPickHammer, sidSkip, sidRope, sidMine, sidDEagle,
    22                    sidPickHammer, sidSkip, sidRope, sidMine, sidDEagle,
    23                    sidDynamite, sidBaseballBat, sidFirePunch, sidSeconds,
    23                    sidDynamite, sidBaseballBat, sidFirePunch, sidSeconds,
    24                    sidParachute, sidAirAttack);
    24                    sidParachute, sidAirAttack);
    25      TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume);
    25      TMsgStrId = (sidStartFight, sidDraw, sidWinner, sidVolume, sidPaused);
    26 var trammo: array[TAmmoStrId] of string;
    26 var trammo: array[TAmmoStrId] of string;
    27     trmsg: array[TMsgStrId] of string;
    27     trmsg: array[TMsgStrId] of string;
    28 
    28 
    29 procedure LoadLocale(FileName: string);
    29 procedure LoadLocale(FileName: string);
    30 function Format(fmt: shortstring; var arg: shortstring): shortstring;
    30 function Format(fmt: shortstring; var arg: shortstring): shortstring;