]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/mutator_buffs.qh
Apply some minor updates from recent code cleanups
[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 // invisible
9 .float buff_invisible_prev_alpha;
10 // flight
11 .float buff_flight_prev_gravity;
12 // jump
13 .float stat_jumpheight;
14 //const float STAT_MOVEVARS_JUMPVELOCITY = 250; // engine hack
15 // disability
16 .float buff_disability_time;
17 .float buff_disability_effect_time;
18
19 // buff definitions
20 .float buff_active;
21 .float buff_activetime;
22 .float buff_activetime_updated;
23 .entity buff_waypoint;
24 .float oldbuffs; // for updating effects
25 .entity buff_model; // controls effects (TODO: make csqc)
26
27 const vector BUFF_MIN = ('-16 -16 -20');
28 const vector BUFF_MAX = ('16 16 20');
29
30 // client side options
31 .float cvar_cl_buffs_autoreplace;
32 #endif