Xonotic
|
#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 110 of file common.qc.
References HITTYPE_SPLASH, IS_ONGROUND, and projectiledeathtype.
Definition at line 117 of file common.qc.
References checkclient, classname, LOG_TRACE, LOG_TRACEF, maxs, mins, MOVE_NORMAL, normalize(), NULL, origin, Q3SURFACEFLAG_NOIMPACT, size, sys_frametime, 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 49 of file common.qc.
References autocvar_g_projectiles_damage.
Referenced by GrapplingHook_Damage().
Definition at line 20 of file common.qc.
References MAX_WEAPONSLOTS, and weaponentities.
Referenced by IMPULSE(), PlayerThink(), W_ResetGunAlign(), W_SetupShot_Dir_ProjectileSize_Range(), and weapon_prepareattack_do().
Definition at line 33 of file common.qc.
References IS_PLAYER, REGISTRY_GET, and WepSet_FromWeapon.
Referenced by Item_GiveTo(), and TEST().
Definition at line 44 of file common.qc.
References MUTATOR_CALLHOOK, and W_PlayStrengthSound().
Referenced by W_PlayStrengthSound(), and W_SetupShot_Dir_ProjectileSize_Range().
Definition at line 91 of file common.qc.
References autocvar_g_projectiles_keep_owner, DAMAGE_NO, func_null(), IS_CLIENT, MUTATOR_CALLHOOK, nextthink, owner, realowner, setthink, takedamage, and time.
Definition at line 150 of file common.qc.
References classname, owner, RemoveHook(), SOLID_TRIGGER, SUB_NoImpactCheck(), trace_ent, and UpdateCSQCProjectile().
Referenced by WarpZone_Projectile_Touch().