|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "common.qh"#include <common/constants.qh>#include <common/deathtypes/all.qh>#include <common/items/_mod.qh>#include <common/net_linked.qh>#include <common/notifications/all.qh>#include <common/state.qh>#include <common/stats.qh>#include <common/util.qh>#include <common/weapons/_all.qh>#include <common/wepent.qh>#include <server/command/common.qh>#include <server/damage.qh>#include <server/hook.qh>#include <server/items/items.qh>#include <server/mutators/_mod.qh>#include <server/weapons/csqcprojectile.qh>Go to the source code of this file.
Functions | |
| void | adaptor_think2use_hittype_splash (entity this) |
| bool | SUB_NoImpactCheck (entity this, entity toucher) |
| float | W_CheckProjectileDamage (entity inflictor, entity projowner, int deathtype, float exception) |
| bool | W_DualWielding (entity player) |
| void | W_GiveWeapon (entity e, int wep) |
| void | W_PlayStrengthSound (entity player) |
| void | W_PrepareExplosionByDamage (entity this, entity attacker, void(entity this) explode) |
| bool | WarpZone_Projectile_Touch_ImpactFilter_Callback (entity this, entity toucher) |
Definition at line 106 of file common.qc.
References entity(), HITTYPE_SPLASH, IS_ONGROUND, and projectiledeathtype.
Referenced by M_Spider_Attack_Web(), W_Arc_Attack_Bolt(), W_Electro_Attack_Orb(), W_Electro_Orb_Follow_Think(), W_Electro_Orb_Stick(), W_Hagar_Attack(), W_Hagar_Attack2(), W_Hagar_Attack2_Load_Release(), W_Hook_Attack2(), W_Mortar_Attack2(), W_RocketMinsta_Attack(), and W_Seeker_Fire_Flac().
Definition at line 113 of file common.qc.
References checkclient, classname, entity(), LOG_TRACE, LOG_TRACEF, maxs, mins, MOVE_NORMAL, normalize(), NULL, origin, Q3SURFACEFLAG_NOIMPACT, size, sys_frametime, toucher, trace_dphitcontents, trace_dphitq3surfaceflags, trace_fraction, vector, velocity, and vlen().
Referenced by WarpZone_Projectile_Touch_ImpactFilter_Callback().
| float W_CheckProjectileDamage | ( | entity | inflictor, |
| entity | projowner, | ||
| int | deathtype, | ||
| float | exception ) |
Definition at line 45 of file common.qc.
References autocvar_g_projectiles_damage, and entity().
Referenced by GrapplingHook_Damage(), M_Golem_Attack_Lightning_Damage(), W_Arc_Bolt_Damage(), W_Devastator_Damage(), W_Electro_Orb_Damage(), W_Fireball_Damage(), W_Hagar_Damage(), W_Hook_Damage(), W_MineLayer_Damage(), W_Mortar_Grenade_Damage(), W_OverkillRocketPropelledChainsaw_Damage(), and W_Seeker_Missile_Damage().
Definition at line 20 of file common.qc.
References entity(), MAX_WEAPONSLOTS, and weaponentities.
Referenced by IMPULSE(), PlayerThink(), W_Devastator_Think(), W_ResetGunAlign(), W_SetupShot_Dir_ProjectileSize_Range(), and weapon_prepareattack_do().
Definition at line 33 of file common.qc.
References entity(), REGISTRY_GET, STAT, Weapons, and WepSet_FromWeapon.
Referenced by Item_GiveTo(), and TEST().
Definition at line 40 of file common.qc.
References entity(), MUTATOR_CALLHOOK, and W_PlayStrengthSound().
Referenced by MUTATOR_HOOKABLE(), MUTATOR_HOOKFUNCTION(), W_PlayStrengthSound(), W_SetupShot_Dir_ProjectileSize_Range(), and W_Shotgun_Melee_Think().
Definition at line 87 of file common.qc.
References autocvar_g_projectiles_keep_owner, DAMAGE_NO, entity(), func_null(), IS_CLIENT, MUTATOR_CALLHOOK, nextthink, owner, realowner, setthink, takedamage, and time.
Referenced by M_Golem_Attack_Lightning_Damage(), nade_damage(), nade_translocate_DestroyDamage(), turret_projectile_damage(), W_Arc_Bolt_Damage(), W_Devastator_Damage(), W_Fireball_Damage(), W_Hagar_Damage(), W_Hook_Damage(), W_MineLayer_Damage(), W_Mortar_Grenade_Damage(), W_OverkillRocketPropelledChainsaw_Damage(), W_Seeker_Missile_Damage(), and walker_rocket_damage().
Definition at line 151 of file common.qc.
References autocvar_g_projectiles_interact, classname, entity(), gettouch, movetype, MOVETYPE_BOUNCE, MOVETYPE_BOUNCEMISSILE, owner, RemoveHook(), SOLID_TRIGGER, SUB_NoImpactCheck(), toucher, trace_ent, and UpdateCSQCProjectile().
Referenced by WarpZone_Projectile_Touch().