3 #include <common/weapons/_all.qh>
4 #include <common/stats.qh>
5 #include <server/miscfunctions.qh>
8 void thrown_wep_think(entity this);
10 // returns amount of ammo used, or -1 for failure, or 0 for no ammo count
11 float W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vector velo, .entity weaponentity);
13 bool W_IsWeaponThrowable(entity this, int w);
15 // toss current weapon
16 void W_ThrowWeapon(entity this, .entity weaponentity, vector velo, vector delta, float doreduce);
18 void SpawnThrownWeapon(entity this, vector org, Weapon wep, .entity weaponentity);