Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_duel.qc
Go to the documentation of this file.
1#include "sv_duel.qh"
2
4{
5 M_ARGV(0, int) = 2; // duel is always 1v1!
6}
7
8MUTATOR_HOOKFUNCTION(duel, Scores_CountFragsRemaining)
9{
10 // announce remaining frags?
11 return true;
12}
13
14MUTATOR_HOOKFUNCTION(duel, FilterItemDefinition)
15{
16 entity definition = M_ARGV(0, entity);
17
18 if(definition.instanceOfPowerup)
19 {
21 }
22}
#define MUTATOR_HOOKFUNCTION(...)
Definition base.qh:335
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define M_ARGV(x, type)
Definition events.qh:17
int GetPlayerLimit()
Definition client.qc:2127
bool autocvar_g_duel_with_powerups
Definition sv_duel.qh:10