]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mutators/mutator_nades.qh
Merge branch 'master' into terencehill/weapon_panel_fix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / mutator_nades.qh
1 #ifndef MUTATOR_NADES_H
2 #define MUTATOR_NADES_H
3
4 .entity nade;
5 .entity fake_nade;
6 .float nade_timer;
7 .float nade_refire;
8 .float bonus_nades;
9 .float nade_special_time;
10 .float bonus_nade_score;
11 .float nade_type;
12 .string pokenade_type;
13 .entity nade_damage_target;
14 .float cvar_cl_nade_type;
15 .string cvar_cl_pokenade_type;
16 .float toss_time;
17 .float stat_healing_orb;
18 .float stat_healing_orb_alpha;
19 .float nade_show_particles;
20
21 void toss_nade(entity e, vector _velocity, float _time);
22
23 // Remove nades that are being thrown
24 void(entity player) nades_Clear;
25
26 // Give a bonus grenade to a player
27 void(entity player, float score) nades_GiveBonus;
28 // Remove all bonus nades from a player
29 void(entity player) nades_RemoveBonus;
30 #endif