|
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 | |
| vector | damage_explosion_calcpush (vector explosion_f, vector target_v, float speedfactor) |
| float | explosion_calcpush_getmultiplier (vector explosion_v, vector target_v) |
| vector | W_CalculateSpread (vector dir, float spread, int spread_style, bool must_normalize) |
| vector | W_CalculateSpreadPattern (int pattern, float bias, int counter, int total) |
| int | W_GunAlign (entity this, int preferred_align) |
Variables | |
| float | autocvar_g_weaponspreadfactor |
| const float | W_SPREAD_GAUSS_MAX_STDEV = 4 |
Definition at line 45 of file calculations.qc.
References explosion_calcpush_getmultiplier(), LOG_INFOF, and vector.
Referenced by Damage(), MUTATOR_HOOKFUNCTION(), and NET_HANDLE().
Definition at line 7 of file calculations.qc.
References vector.
Referenced by damage_explosion_calcpush().
Definition at line 238 of file calculations.qc.
References autocvar_g_weaponspreadfactor, cliptoplane(), cos(), cross, dir, error, findperpendicular(), gsl_ran_ugaussian(), M_PI, normalize(), random(), randomvec(), sin(), solve_cubic_abcd(), sqrt(), vector, vlen2, and W_SPREAD_GAUSS_MAX_STDEV.
Referenced by fireBullet_falloff(), nades_CheckThrow(), and W_SetupProjVelocity_Explicit().
Definition at line 187 of file calculations.qc.
References makevectors, random(), v_forward, and vector.
Referenced by W_Crylink_Attack(), W_Crylink_Attack2(), W_Hagar_Attack2_Load_Release(), and W_Shotgun_Attack().
Definition at line 138 of file calculations.qc.
References BIT, entity(), m_gunalign, MAX_WEAPONSLOTS, owner, and weaponentities.
Referenced by CL_WeaponEntity_SetModel(), Draw_GrapplingHook(), FireGrapplingHook(), GrapplingHookThink(), NET_HANDLE(), and W_ResetGunAlign().
| float autocvar_g_weaponspreadfactor |
Definition at line 3 of file calculations.qh.
Referenced by W_CalculateSpread(), W_Crylink_Attack(), W_Crylink_Attack2(), W_Hagar_Attack2_Load_Release(), and W_Shotgun_Attack().
| const float W_SPREAD_GAUSS_MAX_STDEV = 4 |
Definition at line 5 of file calculations.qh.
Referenced by W_CalculateSpread().