hedgewars/uLocale.pas
changeset 81 d74e0e914b50
parent 80 3c3dc6a148ca
child 82 2f4f3236cccc
--- a/hedgewars/uLocale.pas	Thu Jul 20 20:11:32 2006 +0000
+++ b/hedgewars/uLocale.pas	Fri Jul 21 20:37:44 2006 +0000
@@ -36,7 +36,9 @@
 type TAmmoStrId = (sidGrenade, sidClusterBomb, sidBazooka, sidUFO, sidShotgun,
                    sidPickHammer, sidSkip, sidRope, sidMine, sidDEagle,
                    sidDynamite, sidBaseballBat);
+     TMsgStrId = (sidStartFight, sidSeconds);
 var trammo: array[TAmmoStrId] of shortstring;
+    trmsg: array[TMsgStrId] of shortstring;
 
 procedure LoadLocale(FileName: string);
 
@@ -67,6 +69,7 @@
       Delete(s, 1, 6);
       case a of
            0: if (b >=0) and (b <= ord(High(TAmmoStrId))) then trammo[TAmmoStrId(b)]:= s;
+           1: if (b >=0) and (b <= ord(High(TMsgStrId))) then trmsg[TMsgStrId(b)]:= s;
            end;
       end;
 closefile(f)