|
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 | |
| void (Weapon thiswep, entity actor,.entity weaponentity) rifle_bullethail_attackfunc | |
| void | W_Rifle_Attack (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Rifle_Attack2 (Weapon thiswep, entity actor,.entity weaponentity) |
| void | W_Rifle_BulletHail (Weapon thiswep, entity actor,.entity weaponentity, float mode, void(Weapon thiswep, entity actor,.entity weaponentity) AttackFunc, WFRAME fr, float animtime, float refire) |
| void | W_Rifle_BulletHail_Continue (Weapon thiswep, entity actor,.entity weaponentity, int fire) |
| void | W_Rifle_FireBullet (Weapon thiswep,.entity weaponentity, int deathtype, Sound pSound, entity actor, bool isprimary) |
Variables | |
| float | bot_secondary_riflemooth |
| float | rifle_bullethail_animtime |
| WFRAME | rifle_bullethail_frame |
| float | rifle_bullethail_refire |
Definition at line 45 of file rifle.qc.
References entity(), Weapon::m_id, and W_Rifle_FireBullet().
Definition at line 50 of file rifle.qc.
References entity(), HITTYPE_SECONDARY, Weapon::m_id, and W_Rifle_FireBullet().
| void W_Rifle_BulletHail | ( | Weapon | thiswep, |
| entity | actor, | ||
| .entity | weaponentity, | ||
| float | mode, | ||
| void(Weapon thiswep, entity actor,.entity weaponentity) | AttackFunc, | ||
| WFRAME | fr, | ||
| float | animtime, | ||
| float | refire ) |
Definition at line 81 of file rifle.qc.
References entity(), w_ready(), W_Rifle_BulletHail_Continue(), and weapon_thinkf().
Definition at line 59 of file rifle.qc.
References ATTACK_FINISHED, entity(), m_switchweapon, time, W_Rifle_BulletHail_Continue(), weapon_prepareattack(), and weapon_thinkf().
Referenced by W_Rifle_BulletHail(), and W_Rifle_BulletHail_Continue().
| void W_Rifle_FireBullet | ( | Weapon | thiswep, |
| .entity | weaponentity, | ||
| int | deathtype, | ||
| Sound | pSound, | ||
| entity | actor, | ||
| bool | isprimary ) |
Definition at line 5 of file rifle.qc.
References ammo, autocvar_g_casings, CH_WEAPON_A, entity(), fireBullet_falloff(), makevectors, PHYS_INPUT_BUTTON_ZOOM, PHYS_INPUT_BUTTON_ZOOMSCRIPT, random(), SpawnCasing(), v_forward, v_right, v_up, vectoangles(), W_DecreaseAmmo(), W_MuzzleFlash(), W_SetupShot, w_shotdir, w_shotorg, and WEP_CVAR_BOTH.
Referenced by W_Rifle_Attack(), and W_Rifle_Attack2().