hedgewars/uAmmos.pas
changeset 2855 7e6adeb57427
parent 2838 4a79fd4f04a8
child 2860 13a53315ae18
equal deleted inserted replaced
2854:7aac108149d9 2855:7e6adeb57427
    35 procedure ApplyAmmoChanges(var Hedgehog: THedgehog);
    35 procedure ApplyAmmoChanges(var Hedgehog: THedgehog);
    36 procedure SwitchNotHeldAmmo(var Hedgehog: THedgehog);
    36 procedure SwitchNotHeldAmmo(var Hedgehog: THedgehog);
    37 procedure SetWeapon(weap: TAmmoType);
    37 procedure SetWeapon(weap: TAmmoType);
    38 procedure DisableSomeWeapons;
    38 procedure DisableSomeWeapons;
    39 procedure ResetWeapons;
    39 procedure ResetWeapons;
       
    40 function GetAmmoByNum(num: Longword): PHHAmmo;
    40 
    41 
    41 var shoppa: boolean;
    42 var shoppa: boolean;
    42 
    43 
    43 implementation
    44 implementation
    44 uses uMisc, uGears, uWorld, uLocale, uConsole;
    45 uses uMisc, uGears, uWorld, uLocale, uConsole;