|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
Go to the source code of this file.
Functions | |
| ERASEABLE float | MachineGun_Heat (float spread_accum) |
| ERASEABLE void | MachineGun_Update_Spread (entity actor,.entity weaponentity) |
| void | W_MachineGun_Attack (Weapon thiswep, int deathtype, entity actor,.entity weaponentity) |
| void | W_MachineGun_Attack_Auto (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_MachineGun_Attack_Burst (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_MachineGun_Attack_Frame (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
Variables | |
| float | machinegun_spread_accumulation |
| float | spreadUpdateTime |
Definition at line 34 of file machinegun.qc.
References fabs(), and WEP_CVAR.
Referenced by W_MachineGun_Attack_Auto(), and W_MachineGun_Attack_Burst().
Definition at line 9 of file machinegun.qc.
References bound(), entity(), fabs(), machinegun_spread_accumulation, spreadUpdateTime, time, and WEP_CVAR.
Referenced by W_MachineGun_Attack_Auto(), and W_MachineGun_Attack_Burst().
Definition at line 59 of file machinegun.qc.
References ATTACK_FINISHED, autocvar_g_casings, autocvar_g_norecoil, CH_WEAPON_A, entity(), fireBullet_falloff(), IS_DUCKED, IS_ONGROUND, makevectors, random(), SpawnCasing(), time, v_forward, v_right, v_up, vectoangles(), W_DecreaseAmmo(), W_MuzzleFlash(), W_SetupShot, w_shotdir, w_shotorg, W_WeaponRateFactor(), and WEP_CVAR.
Referenced by W_MachineGun_Attack_Frame().
Definition at line 142 of file machinegun.qc.
References ATTACK_FINISHED, autocvar_g_casings, autocvar_g_norecoil, CH_WEAPON_A, entity(), fireBullet_falloff(), IS_DUCKED, IS_ONGROUND, IT_UNLIMITED_AMMO, Weapon::m_id, MachineGun_Heat(), machinegun_spread_accumulation, MachineGun_Update_Spread(), makevectors, misc_bulletcounter, random(), SpawnCasing(), time, v_forward, v_right, v_up, vectoangles(), W_DecreaseAmmo(), w_getbestweapon, W_MachineGun_Attack_Auto(), W_MuzzleFlash(), w_ready(), W_SetupShot, w_shotdir, w_shotorg, W_SwitchWeapon_Force(), W_WeaponRateFactor(), weapon_prepareattack_check(), weapon_thinkf(), WEP_CVAR, and Weapon::wr_checkammo1().
Referenced by W_MachineGun_Attack_Auto().
Definition at line 212 of file machinegun.qc.
References ATTACK_FINISHED, autocvar_g_casings, autocvar_g_norecoil, CH_WEAPON_A, entity(), fireBullet_falloff(), IS_DUCKED, IS_ONGROUND, Weapon::m_id, MachineGun_Heat(), machinegun_spread_accumulation, MachineGun_Update_Spread(), makevectors, misc_bulletcounter, random(), SpawnCasing(), time, v_forward, v_right, v_up, vectoangles(), W_MachineGun_Attack_Burst(), W_MuzzleFlash(), w_ready(), W_SetupShot, w_shotdir, w_shotorg, W_WeaponRateFactor(), weapon_thinkf(), and WEP_CVAR.
Referenced by W_MachineGun_Attack_Burst().
Definition at line 117 of file machinegun.qc.
References entity(), IT_UNLIMITED_AMMO, Weapon::m_id, misc_bulletcounter, PHYS_INPUT_BUTTON_ATCK, w_getbestweapon, W_MachineGun_Attack(), W_MachineGun_Attack_Frame(), w_ready(), W_SwitchWeapon_Force(), weapon_prepareattack_check(), weapon_thinkf(), WEP_CVAR, and Weapon::wr_checkammo2().
Referenced by W_MachineGun_Attack_Frame().
| float machinegun_spread_accumulation |
Definition at line 5 of file machinegun.qc.
Referenced by MachineGun_Update_Spread(), W_MachineGun_Attack_Auto(), and W_MachineGun_Attack_Burst().
| float spreadUpdateTime |
Definition at line 6 of file machinegun.qc.
Referenced by MachineGun_Update_Spread().