Merge branch 'master' into Mario/vaporizer_damage
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_buffs.qh
1 #ifndef MUTATOR_BUFFS_H
2 #define MUTATOR_BUFFS_H
3
4 // buff specific variables \\
5 //
6 // ammo
7 .float buff_ammo_prev_infitems;
8 .int buff_ammo_prev_clipload;
9 // invisible
10 .float buff_invisible_prev_alpha;
11 // flight
12 .float buff_flight_prev_gravity;
13 // disability
14 .float buff_disability_time;
15 .float buff_disability_effect_time;
16 // common buff variables
17 .float buff_effect_delay;
18
19 // buff definitions
20 .float buff_active;
21 .float buff_activetime;
22 .float buff_activetime_updated;
23 .entity buff_waypoint;
24 .int oldbuffs; // for updating effects
25 .entity buff_model; // controls effects (TODO: make csqc)
26
27 const string BUFF_MODEL = "models/relics/relic.md3";
28
29 const vector BUFF_MIN = ('-16 -16 -20');
30 const vector BUFF_MAX = ('16 16 20');
31
32 // client side options
33 .float cvar_cl_buffs_autoreplace;
34 #endif