|
Xonotic
|
Include dependency graph for all.qh:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Macros | |
| #define | DEATH_ENT(t) (DEATH_ISSPECIAL(t) ? (REGISTRY_GET(Deathtypes, t - DT_FIRST)) : NULL) |
| #define | DEATH_IS(t, dt) (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)) == dt) |
| #define | DEATH_ISMONSTER(t) (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)).death_msgextra == "monster") |
| #define | DEATH_ISSPECIAL(t) (t >= DT_FIRST) |
| #define | DEATH_ISTURRET(t) (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)).death_msgextra == "turret") |
| #define | DEATH_ISVEHICLE(t) (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)).death_msgextra == "vehicle") |
| #define | DEATH_ISWEAPON(t, w) (DEATH_WEAPONOF(t) == (w)) |
| #define | DEATH_WEAPONOF(t) (DEATH_ISSPECIAL(t) ? WEP_Null : REGISTRY_GET(Weapons, (t) & DEATH_WEAPONMASK)) |
| #define | REGISTER_DEATHTYPE(id, msg_death, msg_death_by, extra) |
Functions | |
| string | Deathtype_Name (int deathtype) |
Variables | |
| const int | DEATH_HITTYPEMASK = HITTYPE_SECONDARY | HITTYPE_SPLASH | HITTYPE_BOUNCE | HITTYPE_ARMORPIERCE | HITTYPE_SOUND |
| string | death_msgextra |
| entity | death_msgmurder |
| entity | death_msgself |
| const int | DEATH_WEAPONMASK = BITS(8) |
| const int | DT_FIRST = BIT(13) |
| const int | HITTYPE_ARMORPIERCE = BITS(1) << 11 |
| const int | HITTYPE_BOUNCE = BITS(1) << 10 |
| const int | HITTYPE_SECONDARY = BITS(1) << 8 |
| const int | HITTYPE_SOUND = BITS(1) << 12 |
| const int | HITTYPE_SPLASH = BITS(1) << 9 |
| automatically set by RadiusDamage More... | |
| #define DEATH_ENT | ( | t | ) | (DEATH_ISSPECIAL(t) ? (REGISTRY_GET(Deathtypes, t - DT_FIRST)) : NULL) |
Definition at line 37 of file all.qh.
Referenced by MUTATOR_HOOKFUNCTION(), and Obituary().
| #define DEATH_IS | ( | t, | |
| dt | |||
| ) | (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)) == dt) |
Definition at line 36 of file all.qh.
Referenced by decompressShotOrigin().
| #define DEATH_ISMONSTER | ( | t | ) | (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)).death_msgextra == "monster") |
| #define DEATH_ISSPECIAL | ( | t | ) | (t >= DT_FIRST) |
Definition at line 35 of file all.qh.
Referenced by Damage(), Deathtype_Name(), door_damage(), Obituary(), Obituary_SpecialDeath(), PlayerDamage(), and RadiusDamageForSource().
| #define DEATH_ISTURRET | ( | t | ) | (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)).death_msgextra == "turret") |
| #define DEATH_ISVEHICLE | ( | t | ) | (DEATH_ISSPECIAL(t) && (REGISTRY_GET(Deathtypes, t - DT_FIRST)).death_msgextra == "vehicle") |
| #define DEATH_ISWEAPON | ( | t, | |
| w | |||
| ) | (DEATH_WEAPONOF(t) == (w)) |
Definition at line 42 of file all.qh.
Referenced by Damage(), MUTATOR_HOOKFUNCTION(), and vehicles_damage().
| #define DEATH_WEAPONOF | ( | t | ) | (DEATH_ISSPECIAL(t) ? WEP_Null : REGISTRY_GET(Weapons, (t) & DEATH_WEAPONMASK)) |
Definition at line 41 of file all.qh.
Referenced by Damage(), DamageText::DamageText_draw2d(), Fire_AddDamage(), MUTATOR_HOOKFUNCTION(), Obituary_WeaponDeath(), PlayerDamage(), RadiusDamageForSource(), vehicles_damage(), and W_SetupShot_Dir_ProjectileSize_Range().
| #define REGISTER_DEATHTYPE | ( | id, | |
| msg_death, | |||
| msg_death_by, | |||
| extra | |||
| ) |
Definition at line 3 of file all.qc.
References backtrace, DEATH_ISSPECIAL, DT_FIRST, entity(), ftos(), and REGISTRY_GET.
Referenced by LogDeath(), and Obituary().
Here is the call graph for this function:
Here is the caller graph for this function:| const int DEATH_HITTYPEMASK = HITTYPE_SECONDARY | HITTYPE_SPLASH | HITTYPE_BOUNCE | HITTYPE_ARMORPIERCE | HITTYPE_SOUND |
Definition at line 33 of file all.qh.
Referenced by Deathtype_Name(), and Obituary_SpecialDeath().
Definition at line 29 of file all.qh.
Referenced by decompressShotOrigin().
Definition at line 28 of file all.qh.
Referenced by RadiusDamageForSource().
Definition at line 25 of file all.qh.
Referenced by MUTATOR_HOOKFUNCTION(), RadiusDamageForSource(), and W_Nexball_Attack2().
Definition at line 30 of file all.qh.
Referenced by Damage(), PlayerDamage(), and RadiusDamageForSource().
automatically set by RadiusDamage
Definition at line 27 of file all.qh.
Referenced by adaptor_think2use_hittype_splash(), door_damage(), MUTATOR_HOOKFUNCTION(), and RadiusDamageForSource().