]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/weapons/throwing.qh
Merge branch 'master' into samual/weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qh
1 .float savenextthink;
2 void thrown_wep_think();
3
4 // returns amount of ammo used as string, or -1 for failure, or 0 for no ammo count
5 string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vector velo);
6
7 float W_IsWeaponThrowable(float w);
8
9 // toss current weapon
10 void W_ThrowWeapon(vector velo, vector delta, float doreduce);
11
12 void SpawnThrownWeapon(vector org, float w);