|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/teams.qh>#include <common/util.qh>#include <common/items/item.qh>#include <common/mutators/mutator/waypoints/all.qh>#include <common/mutators/mutator/status_effects/_mod.qh>Go to the source code of this file.
Classes | |
| class | Buff |
Macros | |
| #define | BUFF_SPAWNFUNC(e, b, t) |
| #define | BUFF_SPAWNFUNC_Q3COMPAT(o, r) |
| #define | BUFF_SPAWNFUNCS(e, b) |
| #define | REGISTER_BUFF(id, inst) |
Functions | |
| string | Buff_CompatName (string buffname) |
| void | buff_Init (entity ent) |
| void | buff_Init_Compat (entity ent, entity replacement) |
| REPLICATE_INIT (bool, cvar_cl_buffs_autoreplace) | |
| STATIC_INIT (REGISTER_BUFFS) | |
Variables | |
| entity | buffdef |
| int | team_forced |
| #define BUFF_SPAWNFUNC | ( | e, | |
| b, | |||
| t ) |
Definition at line 64 of file buffs.qh.
| #define BUFF_SPAWNFUNC_Q3COMPAT | ( | o, | |
| r ) |
Definition at line 78 of file buffs.qh.
Referenced by REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), and REGISTER_BUFF().
| #define BUFF_SPAWNFUNCS | ( | e, | |
| b ) |
Definition at line 72 of file buffs.qh.
Referenced by REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), and REGISTER_BUFF().
| #define REGISTER_BUFF | ( | id, | |
| inst ) |
Definition at line 14 of file buffs.qh.
Referenced by REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), REGISTER_BUFF(), and REGISTER_BUFF().
Definition at line 10 of file buffs.qc.
Referenced by GiveItems().
Definition at line 427 of file sv_buffs.qc.
References autocvar_g_buffs_cooldown_activate, autocvar_g_buffs_random_location, autocvar_g_buffs_replace_available, bot_pickup, bot_pickupbasevalue, buff_active, buff_activetime, buff_Available(), buff_Customize(), buff_Delete(), buff_NewType(), buff_Reset(), buff_Respawn(), buff_SetCooldown(), buff_Think(), buff_Touch(), buffdef, buffs_finished, classname, color, count, DPCONTENTS_BODY, DPCONTENTS_SOLID, dphitcontentsmask, EF_FULLBRIGHT, EF_NOSHADOW, EF_STARDUST, effects, entity(), FL_ITEM, flags, g_items, game_starttime, generic_pickupevalfunc(), glowmod, gravity, IL_PUSH(), ITEM_D_MINS, ITEM_L_MAXS, max(), MOVETYPE_NONE, MOVETYPE_TOSS, nextthink, noalign, pflags, PFLAGS_FULLDYNAMIC, scale, set_movetype(), setcefc, setmodel, setthink, settouch, skin, solid, SOLID_TRIGGER, spawnflags, and time.
Referenced by buff_Init_Compat(), buff_SpawnReplacement(), and buffs_DelayedInit().
Definition at line 492 of file sv_buffs.qc.
References buff_Init(), entity(), NUM_TEAM_1, NUM_TEAM_2, and teamplay.
| REPLICATE_INIT | ( | bool | , |
| cvar_cl_buffs_autoreplace | ) |
| STATIC_INIT | ( | REGISTER_BUFFS | ) |
Definition at line 52 of file buffs.qh.
References FOREACH, and STATIC_INIT.
| entity buffdef |
Definition at line 60 of file buffs.qh.
Referenced by buff_Customize(), buff_Init(), buff_Think(), buff_Touch(), and spawnfunc().
| int team_forced |
Definition at line 61 of file buffs.qh.
Referenced by buff_Customize(), buff_Think(), and buff_Touch().