|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/teams.qh>#include "effects.inc"#include "all.inc"#include <common/mutators/base.qh>Go to the source code of this file.
Classes | |
| class | MutatorNades |
| class | Nade |
| class | NullNade |
Macros | |
| #define | NADE_PROJECTILE(i, projectile, trail) |
| #define | REGISTER_NADE(id, inst) |
Functions | |
| Nade | Nade_FromProjectile (int proj) |
| REGISTER (Nades, NADE_TYPE, Null, m_id, NEW(NullNade)) | |
| REGISTER_MUTATOR (nades, true, MutatorNades) | |
| REPLICATE_INIT (string, cvar_cl_nade_type) | |
| REPLICATE_INIT (string, cvar_cl_pokenade_type) | |
Variables | |
| float | orb_lifetime |
| float | orb_radius |
| const int | PROJECTILE_NADE = 71 |
| const int | PROJECTILE_NADE_BURN = 72 |
| #define NADE_PROJECTILE | ( | i, | |
| projectile, | |||
| trail ) |
Definition at line 54 of file nades.qh.
Referenced by REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), REGISTER_NADE(), and REGISTER_NADE().
| #define REGISTER_NADE | ( | id, | |
| inst ) |
Definition at line 60 of file nades.qh.
References FOREACH.
Referenced by MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and Projectile_isnade().
References m_id, NEW, REGISTER, and REGISTRY_DEFINE_GET.
| REGISTER_MUTATOR | ( | nades | , |
| true | , | ||
| MutatorNades | ) |
References REGISTER_MUTATOR, and true.
| REPLICATE_INIT | ( | string | , |
| cvar_cl_nade_type | ) |
References cvar_cl_nade_type.
| REPLICATE_INIT | ( | string | , |
| cvar_cl_pokenade_type | ) |
References cvar_cl_pokenade_type.
| float orb_lifetime |
Definition at line 70 of file nades.qh.
Referenced by NET_HANDLE(), orb_draw(), orb_draw2d(), and orb_send().
| float orb_radius |
Definition at line 71 of file nades.qh.
Referenced by NET_HANDLE(), orb_draw(), and orb_send().
| const int PROJECTILE_NADE = 71 |
Definition at line 47 of file nades.qh.
Referenced by MODEL(), Nade_TrailEffect(), and REGISTER_NADE().
| const int PROJECTILE_NADE_BURN = 72 |
Definition at line 48 of file nades.qh.
Referenced by Nade_TrailEffect(), and REGISTER_NADE().