4 // ==========================
5 // Balance Config Generator
6 // ==========================
8 void Dump_Weapon_Settings();
10 bool wep_config_alsoprint;
13 #define WEP_CONFIG_QUEUE(a) { \
14 config_queue[WEP_CONFIG_COUNT] = a; \
18 #define WEP_CONFIG_WRITE_CVARS(wepname, name, T) WEP_CONFIG_WRITE_PROPS_##T(wepname, name)
20 #define WEP_CONFIG_WRITE_PROPS_string(wepname, name) \
22 sprintf("set g_balance_%s_%s \"%s\"\n", #wepname, #name, \
23 cvar_string(sprintf("g_balance_%s_%s", #wepname, #name)))) }
25 #define WEP_CONFIG_WRITE_PROPS_float(wepname, name) \
27 sprintf("set g_balance_%s_%s %g\n", #wepname, #name, \
28 cvar(sprintf("g_balance_%s_%s", #wepname, #name)))) }