|
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 | |
| AUTOCVAR (g_buffs, int, -1, "enable buffs; \\\"-1\\\" = enabled but no auto location or replacing powerups, \\\"1\\\" = enabled and can replace them") | |
| float | buff_Available (entity buff) |
| entity | buff_FirstFromFlags (entity actor) |
| void | buff_RemoveAll (entity actor, int removal_type) |
| void | buffs_Initialize () |
| REGISTER_MUTATOR (buffs, autocvar_g_buffs) | |
| AUTOCVAR | ( | g_buffs | , |
| int | , | ||
| - | 1, | ||
| "enable buffs; \\\"-1\\\" | = enabled but no auto location or replacing powerups ) |
Definition at line 256 of file sv_buffs.qc.
References cvar(), entity(), IT_UNLIMITED_AMMO, start_items, and strcat().
Referenced by buff_Init(), buff_NewType(), and GiveItems().
Definition at line 293 of file sv_buffs.qc.
References entity(), FOREACH, and NULL.
Referenced by buff_Think(), buff_Touch(), buff_Waypoint_visible_for_player(), buffs_BuffModel_Customize(), buffs_BuffModel_Think(), MUTATOR_HOOKFUNCTION(), Obituary(), and target_init_use().
Definition at line 284 of file sv_buffs.qc.
References entity(), and FOREACH.
Referenced by buff_Touch(), GiveBuff(), MUTATOR_HOOKFUNCTION(), MUTATOR_HOOKFUNCTION(), and target_init_use().
| void buffs_Initialize | ( | ) |
Definition at line 716 of file sv_buffs.qc.
References autocvar_g_buffs_spawn_count, buffs_DelayedInit(), InitializeEntity(), INITPRIO_FINDTARGET, and NULL.
Referenced by REGISTER_MUTATOR().
| REGISTER_MUTATOR | ( | buffs | , |
| autocvar_g_buffs | ) |
Definition at line 11 of file sv_buffs.qh.
References buffs_Initialize(), and MUTATOR_ONADD.
| float autocvar_g_buffs_cooldown_activate |
Definition at line 32 of file sv_buffs.qh.
Referenced by buff_Init(), and buff_Reset().
| float autocvar_g_buffs_cooldown_respawn |
Definition at line 33 of file sv_buffs.qh.
Referenced by buff_Think().
Definition at line 31 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| bool autocvar_g_buffs_effects |
Definition at line 19 of file sv_buffs.qh.
Referenced by buff_Effect().
Definition at line 21 of file sv_buffs.qh.
Referenced by buff_Think().
| float autocvar_g_buffs_pickup_delay = 0.7 |
Definition at line 22 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_random_lifetime |
Definition at line 25 of file sv_buffs.qh.
Referenced by buff_Respawn().
| bool autocvar_g_buffs_random_location |
Definition at line 26 of file sv_buffs.qh.
Referenced by buff_Init(), buff_Reset(), and buff_Think().
| int autocvar_g_buffs_random_location_attempts |
Definition at line 27 of file sv_buffs.qh.
Referenced by buff_Respawn().
| bool autocvar_g_buffs_randomize |
Definition at line 23 of file sv_buffs.qh.
Referenced by buff_Reset(), and buff_Think().
Definition at line 24 of file sv_buffs.qh.
Referenced by buff_Reset(), and buff_Think().
Definition at line 30 of file sv_buffs.qh.
Referenced by buff_Init().
| bool autocvar_g_buffs_replace_powerups |
Definition at line 29 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| int autocvar_g_buffs_spawn_count |
Definition at line 28 of file sv_buffs.qh.
Referenced by buffs_DelayedInit(), and buffs_Initialize().
| float autocvar_g_buffs_waypoint_distance |
Definition at line 20 of file sv_buffs.qh.
Referenced by buff_Think(), and buff_Waypoint_Spawn().
| bool buff_active |
Definition at line 39 of file sv_buffs.qh.
Referenced by buff_Customize(), buff_Init(), buff_SetCooldown(), buff_Think(), and buff_Touch().
| float buff_activetime |
Definition at line 40 of file sv_buffs.qh.
Referenced by buff_Init(), buff_SetCooldown(), buff_Think(), and buff_Waypoint_Reset().
| bool buff_activetime_updated |
Definition at line 41 of file sv_buffs.qh.
Referenced by buff_Reset(), and buff_Think().
| float buff_effect_delay |
Definition at line 36 of file sv_buffs.qh.
| entity buff_model |
Definition at line 45 of file sv_buffs.qh.
Referenced by buffs_BuffModel_Spawn(), and buffs_BuffModel_Update().
| float buff_shield |
Definition at line 44 of file sv_buffs.qh.
| entity buff_waypoint |
Definition at line 42 of file sv_buffs.qh.
Referenced by buff_Delete(), buff_Respawn(), buff_SetCooldown(), buff_Think(), buff_Waypoint_Reset(), and buff_Waypoint_Spawn().
| entity oldbuffs |
Definition at line 43 of file sv_buffs.qh.
Referenced by buff_Think().