|
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 | |
| void | Gib_Delete (entity this) |
| void | Gib_Draw (entity this) |
| void | Gib_setmodel (entity gib, string mdlname, int specnum) |
| void | Gib_Touch (entity this, entity toucher) |
| NET_HANDLE (net_gibsplash, bool isNew) | |
| void | new_te_bloodshower (int ef, vector org, float explosionspeed, int howmany) |
| string | species_prefix (int specnum) |
| void | SUB_RemoveOnNoImpact (entity this, entity toucher) |
| void | TossGib (string mdlname, vector safeorg, vector org, vector vconst, vector vrand, int specnum, bool destroyontouch, bool issilent) |
| void | Violence_GibSplash (entity source, float type, float amount, entity attacker) |
| void | Violence_GibSplash_At (vector org, vector dir, float type, float amount, entity gibowner, entity attacker) |
| bool | Violence_GibSplash_SendEntity (entity this, entity to, int sf) |
Variables | |
| float | alpha |
| float | cnt |
| vector | colormod |
| float | gravity |
| float | scale |
| bool | silent |
| int | state |
Definition at line 72 of file gibs.qc.
References entity().
Referenced by Gib_Draw(), Gib_Touch(), SUB_RemoveOnNoImpact(), and TossGib().
Definition at line 138 of file gibs.qc.
References alpha, ALPHA_MIN_VISIBLE, autocvar_cl_gibs_sloppy, autocvar_cl_gibs_ticrate, bound(), cnt, drawmask, entity(), frametime, gettouch, Gib_Delete(), Gib_Touch(), Movetype_Physics_MatchTicrate(), nextthink, origin, renderflags, species_prefix(), strcat(), time, vector, and view_quality.
Referenced by TossGib().
Definition at line 79 of file gibs.qc.
References entity(), MDL_GIB_ROBO_RANDOM(), setmodel, SPECIES_ROBOT_RUSTY, SPECIES_ROBOT_SHINY, and SPECIES_ROBOT_SOLID.
Referenced by TossGib().
Definition at line 121 of file gibs.qc.
References ATTEN_NORM, CH_PAIN, cnt, entity(), Gib_Delete(), origin, Q3SURFACEFLAG_NOIMPACT, silent, SND_GIB_SPLAT_RANDOM(), sound, species_prefix(), strcat(), toucher, trace_dphitq3surfaceflags, and VOL_BASE.
Referenced by Gib_Draw(), and TossGib().
| NET_HANDLE | ( | net_gibsplash | , |
| bool | isNew ) |
Definition at line 211 of file gibs.qc.
References ATTEN_NORM, autocvar_cl_gentle, autocvar_cl_gentle_gibs, autocvar_cl_nogibs, autocvar_cl_particlegibs, autocvar_ekg, CH_PAIN, decompressShortVector(), Net_Accept, new_te_bloodshower(), org, prandom(), prandomvec(), ReadByte(), sound, species_prefix(), strcat(), TossGib(), vector, and VOL_BASE.
Definition at line 107 of file gibs.qc.
References autocvar_cl_particles_quality, org, randomvec(), and vector.
Referenced by NET_HANDLE().
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().
Definition at line 115 of file gibs.qc.
References entity(), Gib_Delete(), Q3SURFACEFLAG_NOIMPACT, toucher, and trace_dphitq3surfaceflags.
Referenced by TossGib().
| void TossGib | ( | string | mdlname, |
| vector | safeorg, | ||
| vector | org, | ||
| vector | vconst, | ||
| vector | vrand, | ||
| int | specnum, | ||
| bool | destroyontouch, | ||
| bool | issilent ) |
Definition at line 168 of file gibs.qc.
References autocvar_cl_gibs_avelocity_scale, autocvar_cl_gibs_damageforcescale, autocvar_cl_gibs_lifetime, autocvar_cl_gibs_maxcount, autocvar_cl_gibs_velocity_random, autocvar_cl_gibs_velocity_scale, autocvar_cl_gibs_velocity_up, BIT, CasingsNGibs, entity(), g_drawables, Gib_Delete(), Gib_Draw(), Gib_setmodel(), Gib_Touch(), IL_PUSH(), LimitedChildrenRubble(), ListNewChildRubble(), MASK_NORMAL, MOVE_NOMONSTERS, MOVETYPE_BOUNCE, NULL, org, prandom(), prandomvec(), set_movetype(), settouch, SOLID_CORPSE, SUB_RemoveOnNoImpact(), time, trace_endpos, vector, and vlen().
Referenced by NET_HANDLE().
Definition at line 53 of file gibs.qc.
References entity(), and Violence_GibSplash_At().
Referenced by Monster_Damage(), and PlayerCorpseDamage().
| void Violence_GibSplash_At | ( | vector | org, |
| vector | dir, | ||
| float | type, | ||
| float | amount, | ||
| entity | gibowner, | ||
| entity | attacker ) |
Definition at line 23 of file gibs.qc.
References compressShortVector(), dir, entity(), etof, FOREACH_CLIENT, g_cts, IS_REAL_CLIENT, MSG_BROADCAST, new_pure, org, sound_allowed(), vector, and Violence_GibSplash_SendEntity().
Referenced by Monster_Damage(), Monster_Dead_Damage(), PlayerCorpseDamage(), PlayerDamage(), and Violence_GibSplash().
Definition at line 9 of file gibs.qc.
References bound(), cnt, entity(), floor(), msg_entity, MSG_ONE, oldorigin, origin, state, WriteByte(), WriteHeader, and WriteShort().
Referenced by Violence_GibSplash_At().