+#ifndef WEAPONS_CONFIG_H
+#define WEAPONS_CONFIG_H
+
// ==========================
// Balance Config Generator
// ==========================
void Dump_Weapon_Settings(void);
-float wep_config_file;
-float wep_config_alsoprint;
+int wep_config_file;
+bool wep_config_alsoprint;
-const float MAX_WEP_CONFIG = 256;
-float WEP_CONFIG_COUNT;
+const int MAX_WEP_CONFIG = 256;
+int WEP_CONFIG_COUNT;
string wep_config_queue[MAX_WEP_CONFIG];
#define WEP_CONFIG_QUEUE(a) { \
#define WEP_CONFIG_WRITE_CVARS_BOTH(wepname,name) \
WEP_CONFIG_WRITE_CVARS_PRI(wepname, name) \
WEP_CONFIG_WRITE_CVARS_SEC(wepname, name)
-
+
#define WEP_CONFIG_WRITE_CVARS(wepid,wepname,mode,name) WEP_CONFIG_WRITE_CVARS_##mode(wepname, name)
#define WEP_CONFIG_WRITE_PROPS_string(wepname,name) \
cvar(sprintf("g_balance_%s_%s", #wepname, #name)))) }
#define WEP_CONFIG_WRITE_PROPS(wepid,wepname,type,prop,name) WEP_CONFIG_WRITE_PROPS_##type(wepname,name)
+#endif