4 // ==========================
5 // Balance Config Generator
6 // ==========================
8 void Dump_Turret_Settings();
10 float tur_config_alsoprint;
12 float TUR_CONFIG_COUNT;
13 void T_Config_Queue(string setting);
15 #define TUR_CONFIG_WRITE_CVARS(turname, name, T) TUR_CONFIG_WRITE_PROPS_##T(turname, name)
17 #define TUR_CONFIG_WRITE_PROPS_string(turname, name) {\
19 sprintf("set g_turrets_unit_%s_%s \"%s\"\n", #turname, #name, \
20 cvar_string(sprintf("g_turrets_unit_%s_%s", #turname, #name)))); \
23 #define TUR_CONFIG_WRITE_PROPS_float(turname, name) {\
25 sprintf("set g_turrets_unit_%s_%s %g\n", #turname, #name, \
26 cvar(sprintf("g_turrets_unit_%s_%s", #turname, #name)))); \