3 #include <common/weapons/_all.qh>
4 #include <common/stats.qh>
6 bool autocvar_g_weapon_throwable;
9 void thrown_wep_think(entity this);
11 // returns amount of ammo used, or -1 for failure, or 0 for no ammo count
12 float W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vector velo, .entity weaponentity);
14 bool W_IsWeaponThrowable(entity this, int w);
16 // toss current weapon
17 void W_ThrowWeapon(entity this, .entity weaponentity, vector velo, vector delta, float doreduce);
19 void SpawnThrownWeapon(entity this, vector org, Weapon wep, .entity weaponentity);