X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fitems.qh;h=64d7abd644b5f9de2240e4d1779596c19ccd15e0;hb=961fd2402928e52177ae5f9d6bc8a6d097ec918f;hp=a410474eb559d98500fc3ad9e12f43743f9ecd95;hpb=85ff31f9ec26adf70f835d95184f6dded9d0c785;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/items.qh b/qcsrc/common/items.qh index a410474eb..64d7abd64 100644 --- a/qcsrc/common/items.qh +++ b/qcsrc/common/items.qh @@ -49,9 +49,10 @@ float IT_AMMO = 8064; // IT_SHELLS | IT_NAILS | IT_ROCKETS | IT_CELLS | IT_S float IT_PICKUPMASK = 51; // IT_FUEL_REGEN | IT_JETPACK | IT_UNLIMITED_AMMO; // strength and invincible are handled separately float IT_UNLIMITED_AMMO = 3; // IT_UNLIMITED_SUPERWEAPONS | IT_UNLIMITED_WEAPON_AMMO; +float AMMO_COUNT = 4; // amount of ammo types to show in the inventory panel + // variables: string weaponorder_byid; -string weaponorder_byimpulse; // functions: entity get_weaponinfo(float id); @@ -109,3 +110,11 @@ float WEPBIT_ALL; #undef REGISTER_WEAPON ACCUMULATE_FUNCTION(RegisterWeapons, register_weapons_done) + + +string W_FixWeaponOrder(string order, float complete); +string W_NumberWeaponOrder(string order); +string W_NameWeaponOrder(string order); +string W_FixWeaponOrder_BuildImpulseList(string o); +string W_FixWeaponOrder_AllowIncomplete(string order); +string W_FixWeaponOrder_ForceComplete(string order);