Xonotic
|
Go to the source code of this file.
Macros | |
#define | PROJECTILE_MAKETRIGGER(e) (e).solid = SOLID_CORPSE; (e).dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE |
#define | PROJECTILE_TOUCH(e, t) MACRO_BEGIN if (WarpZone_Projectile_Touch(e,t)) return; MACRO_END |
Functions | |
void | adaptor_think2use_hittype_splash (entity this) |
STATIC_INIT (g_projectiles) | |
float | W_CheckProjectileDamage (entity inflictor, entity projowner, int deathtype, float exception) |
bool | W_DualWielding (entity player) |
void | W_GiveWeapon (entity e, float 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) |
Variables | |
int | autocvar_g_projectiles_damage |
bool | autocvar_g_projectiles_keep_owner |
float | autocvar_sv_strengthsound_antispam_refire_threshold |
float | autocvar_sv_strengthsound_antispam_time |
float | fade_rate |
float | fade_time |
IntrusiveList | g_projectiles |
const int | MIF_ARC = BIT(2) |
const int | MIF_GUIDED_AI = BIT(7) |
const int | MIF_GUIDED_ALL = MIF_GUIDED_MANUAL | MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
const int | MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI |
const int | MIF_GUIDED_HEAT = BIT(5) |
const int | MIF_GUIDED_LASER = BIT(6) |
const int | MIF_GUIDED_MANUAL = BIT(4) |
const int | MIF_GUIDED_TAG = BIT(7) |
const int | MIF_GUIDED_TRACKING = MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
const int | MIF_PROXY = BIT(3) |
const int | MIF_SPLASH = BIT(1) |
float | misc_bulletcounter |
int | missile_flags |
int | projectiledeathtype |
entity | realowner |
#define PROJECTILE_MAKETRIGGER | ( | e | ) | (e).solid = SOLID_CORPSE; (e).dphitcontentsmask = DPCONTENTS_SOLID | DPCONTENTS_BODY | DPCONTENTS_CORPSE |
Definition at line 29 of file common.qh.
Referenced by FindConnectedComponent(), FireGrapplingHook(), vehicles_projectile(), and W_Nexball_Attack2().
#define PROJECTILE_TOUCH | ( | e, | |
t | |||
) | MACRO_BEGIN if (WarpZone_Projectile_Touch(e,t)) return; MACRO_END |
Definition at line 27 of file common.qh.
Referenced by GrapplingHookTouch(), vehicles_projectile_explode(), and W_Nexball_Touch().
Definition at line 110 of file common.qc.
References HITTYPE_SPLASH, IS_ONGROUND, and projectiledeathtype.
STATIC_INIT | ( | g_projectiles | ) |
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 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().
int autocvar_g_projectiles_damage |
Definition at line 3 of file common.qh.
Referenced by W_CheckProjectileDamage().
bool autocvar_g_projectiles_keep_owner |
Definition at line 4 of file common.qh.
Referenced by W_PrepareExplosionByDamage().
float autocvar_sv_strengthsound_antispam_refire_threshold |
Definition at line 5 of file common.qh.
Referenced by MUTATOR_HOOKFUNCTION().
float autocvar_sv_strengthsound_antispam_time |
Definition at line 6 of file common.qh.
Referenced by MUTATOR_HOOKFUNCTION().
float fade_time |
Definition at line 22 of file common.qh.
Referenced by CopyBody(), CSQCProjectile_SendEntity(), HUD_HealthArmor(), HUD_Notify(), NET_HANDLE(), Portal_Think(), Projectile_Draw(), PutObserverInServer(), and PutPlayerInServer().
IntrusiveList g_projectiles |
Definition at line 46 of file common.qh.
Referenced by antilag_restore_all(), antilag_takeback_all(), EndFrame(), FireGrapplingHook(), MUTATOR_HOOKFUNCTION(), StartFrame(), vehicles_projectile(), W_Nexball_Attack2(), and WarpZone_Projectile_Touch().
const int MIF_GUIDED_ALL = MIF_GUIDED_MANUAL | MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
const int MIF_GUIDED_CONFUSABLE = MIF_GUIDED_HEAT | MIF_GUIDED_AI |
const int MIF_GUIDED_TRACKING = MIF_GUIDED_HEAT | MIF_GUIDED_LASER | MIF_GUIDED_AI | MIF_GUIDED_TAG |
float misc_bulletcounter |
Definition at line 18 of file common.qh.
Referenced by vehicles_spawn().
int projectiledeathtype |
Definition at line 20 of file common.qh.
Referenced by adaptor_think2use_hittype_splash(), and vehicles_projectile_explode().
entity realowner |
Definition at line 25 of file common.qh.
Referenced by CSQCProjectile_SendEntity(), GrapplingHook_Damage(), GrapplingHookSend(), GrapplingHookThink(), monster_setupcolors(), race_waypointsprite_visible_for_player(), RemoveHook(), vehicles_projectile_explode(), W_Model(), W_PrepareExplosionByDamage(), and write_damagetext().