hedgewars/uLocale.pas
changeset 2863 9eb53b1f1842
parent 2747 7889a3a9724f
child 2903 e28356fe532a
--- a/hedgewars/uLocale.pas	Thu Feb 25 12:49:04 2010 +0000
+++ b/hedgewars/uLocale.pas	Thu Feb 25 13:02:08 2010 +0000
@@ -38,11 +38,14 @@
 			eidNewHealthPack, eidNewAmmoPack, eidNewUtilityPack, eidTurnSkipped, eidHurtSelf,
 			eidHomerun, eidFrozen);
 
+	TGoalStrId = (gidCaption, gidSubCaption, gidForts, gidLowGravity, gidInvulnerable, gidVampiric, gidKarma, gidKing, gidPlaceHog, gidArtillery, gidSolidLand);
+
 const MAX_EVENT_STRINGS = 100;
 var trammo: array[TAmmoStrId] of string;
     trammoc: array[TAmmoStrId] of string;
     trammod: array[TAmmoStrId] of string;
     trmsg: array[TMsgStrId] of string;
+    trgoal: array[TGoalStrId] of string;
 
 procedure LoadLocale(FileName: string);
 function Format(fmt: shortstring; var arg: shortstring): shortstring;
@@ -103,6 +106,7 @@
                end;
            3: if (b >=0) and (b <= ord(High(TAmmoStrId))) then trammoc[TAmmoStrId(b+1)]:= s;
            4: if (b >=0) and (b <= ord(High(TAmmoStrId))) then trammod[TAmmoStrId(b+1)]:= s;
+           5: if (b >=0) and (b <= ord(High(TGoalStrId))) then trgoal[TGoalStrId(b)]:= s;
            end;
        end;
    Close(f)