Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
config.qh
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef SVQC
4
// ==========================
5
// Balance Config Generator
6
// ==========================
7
8
void
Dump_Turret_Settings
();
9
float
tur_config_file
;
10
float
tur_config_alsoprint
;
11
12
float
TUR_CONFIG_COUNT
;
13
void
T_Config_Queue
(
string
setting);
14
15
#define TUR_CONFIG_WRITE_CVARS(turname, name, T) TUR_CONFIG_WRITE_PROPS_##T(turname, name)
16
17
#define TUR_CONFIG_WRITE_PROPS_string(turname, name) {\
18
T_Config_Queue( \
19
sprintf("set g_turrets_unit_%s_%s \"%s\"\n", #turname, #name, \
20
cvar_string(sprintf("g_turrets_unit_%s_%s", #turname, #name)))); \
21
}
22
23
#define TUR_CONFIG_WRITE_PROPS_float(turname, name) {\
24
T_Config_Queue( \
25
sprintf("set g_turrets_unit_%s_%s %g\n", #turname, #name, \
26
cvar(sprintf("g_turrets_unit_%s_%s", #turname, #name)))); \
27
}
28
29
#endif
Dump_Turret_Settings
void Dump_Turret_Settings()
Definition
config.qc:45
TUR_CONFIG_COUNT
float TUR_CONFIG_COUNT
Definition
config.qh:12
tur_config_alsoprint
float tur_config_alsoprint
Definition
config.qh:10
tur_config_file
float tur_config_file
Definition
config.qh:9
T_Config_Queue
void T_Config_Queue(string setting)
Definition
config.qc:16
common
turrets
config.qh
Generated on
for Xonotic QuakeC by
1.14.0