|
Xonotic
|
Include dependency graph for sv_buffs.qh:
This graph shows which files directly or indirectly include this file: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, | ||
| 1:enabled and can replace them" | |||
| ) |
Definition at line 257 of file sv_buffs.qc.
References cvar(), start_items, and strcat().
Referenced by buff_Init(), buff_NewType(), and GiveItems().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 296 of file sv_buffs.qc.
Referenced by buff_Think(), buff_Touch(), buff_Waypoint_visible_for_player(), buffs_BuffModel_Customize(), buffs_BuffModel_Think(), MUTATOR_HOOKFUNCTION(), Obituary(), and target_init_use().
Here is the caller graph for this function:Definition at line 286 of file sv_buffs.qc.
References FOREACH.
Referenced by buff_Touch(), GiveBuff(), MUTATOR_HOOKFUNCTION(), and target_init_use().
Here is the caller graph for this function:| void buffs_Initialize | ( | ) |
Definition at line 1000 of file sv_buffs.qc.
References autocvar_g_buffs_spawn_count, buffs_DelayedInit(), InitializeEntity(), and NULL.
Referenced by REGISTER_MUTATOR().
Here is the call graph for this function:
Here is the caller graph for this function:| REGISTER_MUTATOR | ( | buffs | , |
| autocvar_g_buffs | |||
| ) |
Definition at line 11 of file sv_buffs.qh.
References buffs_Initialize(), and MUTATOR_ONADD.
Here is the call graph for this function:| float autocvar_g_buffs_bash_force |
Definition at line 40 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_bash_force_self |
Definition at line 41 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_cooldown_activate |
Definition at line 31 of file sv_buffs.qh.
Referenced by buff_Init(), and buff_Reset().
| float autocvar_g_buffs_cooldown_respawn |
Definition at line 32 of file sv_buffs.qh.
Referenced by buff_Think().
| float autocvar_g_buffs_disability_rate |
Definition at line 44 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_disability_slowtime |
Definition at line 42 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_disability_speed |
Definition at line 43 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_disability_weaponspeed |
Definition at line 45 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
Definition at line 30 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().
| float autocvar_g_buffs_inferno_burntime_factor |
Definition at line 48 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_inferno_burntime_min_time |
Definition at line 49 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_inferno_burntime_target_damage |
Definition at line 50 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_inferno_burntime_target_time |
Definition at line 51 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_inferno_damagemultiplier |
Definition at line 52 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_jump_height |
Definition at line 47 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_luck_chance = 0.15 |
Definition at line 56 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_luck_damagemultiplier = 3 |
Definition at line 57 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_magnet_range_buff = 200 |
Definition at line 55 of file sv_buffs.qh.
| float autocvar_g_buffs_magnet_range_item |
Definition at line 54 of file sv_buffs.qh.
| float autocvar_g_buffs_medic_max |
Definition at line 37 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_medic_regen |
Definition at line 38 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_medic_rot |
Definition at line 36 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_medic_survive_chance |
Definition at line 34 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_medic_survive_health |
Definition at line 35 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
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 buff_Inferno_CalculateTime(), and 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_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().
| bool autocvar_g_buffs_replace_powerups |
Definition at line 29 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_resistance_blockpercent |
Definition at line 33 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_swapper_range |
Definition at line 53 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_vampire_damage_steal |
Definition at line 46 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| float autocvar_g_buffs_vengeance_damage_multiplier |
Definition at line 39 of file sv_buffs.qh.
Referenced by MUTATOR_HOOKFUNCTION().
| 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 69 of file sv_buffs.qh.
Referenced by buff_Customize(), buff_Init(), buff_SetCooldown(), buff_Think(), and buff_Touch().
| float buff_activetime |
Definition at line 70 of file sv_buffs.qh.
Referenced by buff_Init(), buff_SetCooldown(), buff_Think(), and buff_Waypoint_Reset().
| bool buff_activetime_updated |
Definition at line 71 of file sv_buffs.qh.
Referenced by buff_Reset(), and buff_Think().
| int buff_ammo_prev_clipload |
Definition at line 61 of file sv_buffs.qh.
Referenced by buff_Inferno_CalculateTime().
| float buff_ammo_prev_infitems |
Definition at line 60 of file sv_buffs.qh.
| float buff_effect_delay |
Definition at line 66 of file sv_buffs.qh.
| bool buff_flight_crouchheld |
Definition at line 64 of file sv_buffs.qh.
| float buff_flight_oldgravity |
Definition at line 63 of file sv_buffs.qh.
| const vector BUFF_MAX = ('16 16 60') |
Definition at line 78 of file sv_buffs.qh.
Referenced by buff_Init(), and buff_Think().
| const vector BUFF_MIN = ('-16 -16 0') |
Definition at line 77 of file sv_buffs.qh.
Referenced by buff_Init(), and buff_Think().
| entity buff_model |
Definition at line 75 of file sv_buffs.qh.
Referenced by buffs_BuffModel_Spawn(), and buffs_BuffModel_Update().
| float buff_shield |
Definition at line 74 of file sv_buffs.qh.
| entity buff_waypoint |
Definition at line 72 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 73 of file sv_buffs.qh.
Referenced by buff_Think().