#ifndef THROWING_H #define THROWING_H #if defined(CSQC) #elif defined(MENUQC) #elif defined(SVQC) #include "../../common/util-pre.qh" #include "../sys-pre.qh" #include "../../dpdefs/progsdefs.qc" #include "../../dpdefs/dpextensions.qc" #include "../sys-post.qh" #include "../../warpzonelib/anglestransform.qh" #include "../../warpzonelib/mathlib.qh" #include "../../warpzonelib/common.qh" #include "../../warpzonelib/util_server.qh" #include "../../warpzonelib/server.qh" #include "../../common/constants.qh" #include "../../common/stats.qh" #include "../../common/teams.qh" #include "../../common/util.qh" #include "../../common/nades.qh" #include "../../common/buffs.qh" #include "../../common/test.qh" #include "../../common/counting.qh" #include "../../common/urllib.qh" #include "../../common/command/markup.qh" #include "../../common/command/rpn.qh" #include "../../common/command/generic.qh" #include "../../common/command/shared_defs.qh" #include "../../common/net_notice.qh" #include "../../common/animdecide.qh" #include "../../common/monsters/monsters.qh" #include "../../common/monsters/sv_monsters.qh" #include "../../common/monsters/spawn.qh" #include "../../common/weapons/config.qh" #include "../../common/weapons/weapons.qh" #include "accuracy.qh" #include "common.qh" #include "csqcprojectile.qh" #include "hitplot.qh" #include "selection.qh" #include "spawning.qh" #endif .float savenextthink; void thrown_wep_think(); // returns amount of ammo used as string, or -1 for failure, or 0 for no ammo count string W_ThrowNewWeapon(entity own, float wpn, float doreduce, vector org, vector velo); float W_IsWeaponThrowable(float w); // toss current weapon void W_ThrowWeapon(vector velo, vector delta, float doreduce); void SpawnThrownWeapon(vector org, float w); #endif