]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/weapons/throwing.qh
Fix whitespace for #include
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / weapons / throwing.qh
1 #ifndef THROWING_H
2 #define THROWING_H
3
4 .float savenextthink;
5 void thrown_wep_think();
6
7 // returns amount of ammo used as string, or -1 for failure, or 0 for no ammo count
8 string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vector velo);
9
10 float W_IsWeaponThrowable(float w);
11
12 // toss current weapon
13 void W_ThrowWeapon(vector velo, vector delta, float doreduce);
14
15 void SpawnThrownWeapon(vector org, float w);
16 #endif