Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
sv_powerups.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
common/mutators/base.qh
>
4
5
#include "
powerups.qh
"
6
7
int
autocvar_g_powerups
;
8
int
autocvar_g_powerups_drop
;
9
int
autocvar_g_powerups_drop_ondeath
;
10
bool
autocvar_g_powerups_stack
;
11
12
REGISTER_MUTATOR
(powerups,
true
);
13
14
.float
prevstrengthsound
;
15
.float
prevstrengthsoundattempt
;
16
17
void
powerups_DropItem_Think
(
entity
this
);
18
19
// q3compat
20
.float
count
;
base.qh
REGISTER_MUTATOR
#define REGISTER_MUTATOR(...)
Definition
base.qh:295
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
count
float count
Definition
powerups.qc:22
powerups.qh
powerups_DropItem_Think
void powerups_DropItem_Think(entity this)
Definition
sv_powerups.qc:80
autocvar_g_powerups
int autocvar_g_powerups
Definition
sv_powerups.qh:7
autocvar_g_powerups_drop_ondeath
int autocvar_g_powerups_drop_ondeath
Definition
sv_powerups.qh:9
autocvar_g_powerups_stack
bool autocvar_g_powerups_stack
Definition
sv_powerups.qh:10
prevstrengthsoundattempt
float prevstrengthsoundattempt
Definition
sv_powerups.qh:15
prevstrengthsound
float prevstrengthsound
Definition
sv_powerups.qh:14
autocvar_g_powerups_drop
int autocvar_g_powerups_drop
Definition
sv_powerups.qh:8
common
mutators
mutator
powerups
sv_powerups.qh
Generated on
for Xonotic QuakeC by
1.14.0