|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "damageeffects.qh"Go to the source code of this file.
Functions | |
| void | Damage_DamageInfo (vector org, float coredamage, float edgedamage, float rad, vector force, int deathtype, float bloodtype, entity dmgowner) |
| bool | Damage_DamageInfo_SendEntity (entity this, entity to, int sf) |
| void | DamageEffect (entity this, vector hitorg, float thedamage, int type, int specnum) |
| void | DamageEffect_Think (entity this) |
| NET_HANDLE (ENT_CLIENT_DAMAGEINFO, bool isNew) | |
| string | species_prefix (int specnum) |
Variables | |
| float | cnt |
| bool | silent |
| int | state |
| entity | tag_entity |
| int | total_damages |
| number of effects which currently are attached to a player | |
| void Damage_DamageInfo | ( | vector | org, |
| float | coredamage, | ||
| float | edgedamage, | ||
| float | rad, | ||
| vector | force, | ||
| int | deathtype, | ||
| float | bloodtype, | ||
| entity | dmgowner ) |
Definition at line 27 of file damageeffects.qc.
References BIT, BITS, Damage_DamageInfo_SendEntity(), entity(), MSG_BROADCAST, Net_LinkEntity(), new_pure, org, sound_allowed(), teamplay, vector, and vlen().
Referenced by fireBullet_falloff(), FireRailgunBullet(), nade_normal_boom(), RadiusDamageForSource(), raptor_bomb_burst(), W_Seeker_Tag_Explode(), and W_Seeker_Tag_Touch().
Definition at line 7 of file damageeffects.qc.
References bound(), colormap, dmg, dmg_edge, dmg_radius, entity(), floor(), MSG_ENTITY, org, origin, projectiledeathtype, species, vec3, vector, velocity, WriteByte(), WriteHeader, and WriteShort().
Referenced by Damage_DamageInfo().
Definition at line 123 of file damageeffects.qc.
References autocvar_cl_damageeffect, autocvar_cl_damageeffect_bones, autocvar_cl_damageeffect_lifetime, autocvar_cl_damageeffect_lifetime_max, autocvar_cl_damageeffect_lifetime_min, autocvar_cl_gentle, autocvar_cl_gentle_damage, bound(), DamageEffect_Think(), DEATH_WEAPONOF, drawmask, entity(), FOR_EACH_TAG, gettaginfo, gettaginfo_name, ISPLAYER_MODEL, isplayermodel, modelindex, setmodel, setthink, species_prefix(), strcat(), time, total_damages, vector, vlen2, and WEP_FLAG_BLEED.
Referenced by NET_HANDLE().
Definition at line 76 of file damageeffects.qc.
References autocvar_chase_active, autocvar_cl_damageeffect_distribute, autocvar_cl_damageeffect_ticrate, cnt, entity(), gettaginfo, ISPLAYER_LOCAL, max(), nextthink, org, owner, state, team, time, and vector.
Referenced by DamageEffect().
| NET_HANDLE | ( | ENT_CLIENT_DAMAGEINFO | , |
| bool | isNew ) |
Definition at line 194 of file damageeffects.qc.
References ang, ATTEN_LOW, ATTEN_NORM, BIT, BITS, bound(), CH_SHOTS, colormapPaletteColor, csqcplayer, damage_explosion_calcpush(), DamageEffect(), damagepush_speedfactor, DEATH_ENT, DEATH_ISSPECIAL, DEATH_ISTURRET, DEATH_ISVEHICLE, DEATH_WEAPONOF, floor(), FOREACH_ENTITY_RADIUS, is_pure, ISPLAYER_MODEL, MAX_DAMAGEEXTRARADIUS, MIN_DAMAGEEXTRARADIUS, MOVE_NOMONSTERS, MUTATOR_CALLHOOK, NearestPointOnBox(), normalize(), NULL, origin, particles_colormax, particles_colormin, pointparticles, prandom(), Q3SURFACEFLAG_SKY, randomvec(), RaptorCBShellfragToss(), ReadByte(), ReadVector, SND_FLACEXP_RANDOM(), SND_RIC_RANDOM(), sound, species, teamplay, trace_dphitq3surfaceflags, trace_fraction, trace_plane_normal, trace_startsolid, UNSET_ONGROUND, vdist, vectoangles(), vector, vlen(), VOL_BASE, w_backoff, w_deathtype, w_issilent, w_org, w_random, and Weapon::wr_impacteffect().
Definition at line 108 of file damageeffects.qc.
References SPECIES_ALIEN, SPECIES_ANIMAL, SPECIES_HUMAN, SPECIES_RESERVED, SPECIES_ROBOT_RUSTY, SPECIES_ROBOT_SHINY, and SPECIES_ROBOT_SOLID.
Referenced by DamageEffect(), Gib_Draw(), Gib_Touch(), and NET_HANDLE().
| float cnt |
Definition at line 71 of file damageeffects.qc.
| bool silent |
Definition at line 74 of file damageeffects.qc.
Referenced by Casing_Touch(), classfield(), Gib_Touch(), and NET_HANDLE().
| int state |
Definition at line 72 of file damageeffects.qc.
Referenced by bot_cmd_debug_assert_canfire(), button_done(), button_fire(), button_reset(), button_return(), button_wait(), Casing_Touch(), classfield(), classfield(), classfield(), DamageEffect_Think(), door_blocked(), door_generic_plat_blocked(), door_go_down(), door_go_up(), door_hit_bottom(), door_hit_top(), door_init_shared(), door_reset(), door_rotating_go_down(), door_rotating_go_up(), door_rotating_hit_bottom(), door_rotating_hit_top(), door_rotating_reset(), door_send(), door_use(), DropBall(), flipflop_use(), func_breakable_behave_destroyed(), func_breakable_behave_restore(), func_breakable_damage(), func_breakable_init_for_player(), GiveBall(), GrapplingHook_Stop(), GrapplingHookThink(), HUD_Mod_KH(), Item_Reset(), M_Mage_Attack_Push(), M_Mage_Defend_Heal(), M_Zombie_Attack_Leap_Touch(), M_Zombie_Defend_Block(), ModalController_switchState(), monoflop_fixed_use(), monoflop_reset(), monoflop_think(), monoflop_use(), Monster_Attack_Leap(), Monster_Attack_Leap_Check(), Monster_Attack_Melee(), Monster_Dead(), Monster_Move(), multivibrator_send(), multivibrator_toggle(), MX_Typing(), plat_crush(), plat_go_down(), plat_go_up(), plat_hit_bottom(), plat_hit_top(), plat_reset(), plat_send(), plat_target_use(), plat_use(), rainsnow_SendEntity(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), spawnfunc(), StartItem(), train_send(), viewmodel_draw(), Violence_GibSplash_SendEntity(), W_Hagar_Attack2_Load(), W_Reload(), W_ThrowWeapon(), W_WeaponFrame(), weapon_prepareattack_do(), and weapon_thinkf().
| entity tag_entity |
Definition at line 69 of file damageeffects.qc.
| int total_damages |
number of effects which currently are attached to a player
Definition at line 67 of file damageeffects.qc.
Referenced by DamageEffect().