8 entity weapon_dropevent_item;
10 // VorteX: static frame globals
11 const float WFRAME_DONTCHANGE = -1;
12 const float WFRAME_FIRE1 = 0;
13 const float WFRAME_FIRE2 = 1;
14 const float WFRAME_IDLE = 2;
15 const float WFRAME_RELOAD = 3;
17 void CL_SpawnWeaponentity(entity e);
19 vector CL_Weapon_GetShotOrg(float wpn);
21 float forbidWeaponUse(entity player);
23 void W_AttachToShotorg(entity actor, entity flash, vector offset);
25 void W_DecreaseAmmo(Weapon wep, entity actor, float ammo_use);
27 void W_DropEvent(.void(Weapon) event, entity player, float weapon_type, entity weapon_item);
29 void W_Reload(entity actor, float sent_ammo_min, string sent_sound);
31 void W_WeaponFrame(entity actor);
33 float W_WeaponRateFactor();
35 float W_WeaponSpeedFactor();
37 bool weapon_prepareattack(entity actor, bool secondary, float attacktime);
39 bool weapon_prepareattack_check(entity actor, float secondary, float attacktime);
41 void weapon_prepareattack_do(entity actor, float secondary, float attacktime);
43 void weapon_thinkf(entity actor, float fr, float t, void(Weapon thiswep, entity actor, bool fire1, bool fire2) func);