33 |
33 |
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); |
38 sidDynamite, sidBaseballBat, sidFirePunch, sidSeconds); |
39 TMsgStrId = (sidStartFight, sidSeconds); |
39 TMsgStrId = (sidStartFight, sidDraw, sidWinner); |
40 var trammo: array[TAmmoStrId] of shortstring; |
40 var trammo: array[TAmmoStrId] of shortstring; |
41 trmsg: array[TMsgStrId] of shortstring; |
41 trmsg: array[TMsgStrId] of shortstring; |
42 |
42 |
43 procedure LoadLocale(FileName: string); |
43 procedure LoadLocale(FileName: string); |
|
44 function Format(fmt: shortstring; var arg: shortstring): shortstring; |
44 |
45 |
45 implementation |
46 implementation |
46 uses uMisc; |
47 uses uMisc; |
47 |
48 |
48 procedure LoadLocale(FileName: string); |
49 procedure LoadLocale(FileName: string); |