diff -r 070fdd33ce0d -r 928e2040d34f hedgewars/PascalExports.pas --- a/hedgewars/PascalExports.pas Sat Oct 16 19:01:11 2010 +0200 +++ b/hedgewars/PascalExports.pas Sun Oct 17 17:47:07 2010 +0200 @@ -267,6 +267,16 @@ exit (str2pchar(trammo[Ammoz[TAmmoType(whichone+1)].NameId])); end; +function HW_getWeaponCaptionByIndex(whichone: LongInt): PChar; cdecl; export; +begin + exit (str2pchar(trammoc[Ammoz[TAmmoType(whichone+1)].NameId])); +end; + +function HW_getWeaponDescriptionByIndex(whichone: LongInt): PChar; cdecl; export; +begin + exit (str2pchar(trammod[Ammoz[TAmmoType(whichone+1)].NameId])); +end; + function HW_getNumberOfWeapons:LongInt; cdecl; export; begin exit(ord(high(TAmmoType)));