]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/config.qc
#include this
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / config.qc
index 2537022f6ac55bba9cff6d12570e68ea0f12b3f9..ab6e7905cb003d2c3cf2f0c01807337b41bcb1ba 100644 (file)
@@ -1,3 +1,13 @@
+#if defined(CSQC)
+#elif defined(MENUQC)
+#elif defined(SVQC)
+       #include "../../dpdefs/progsdefs.qc"
+    #include "../../dpdefs/dpextensions.qc"
+    #include "../util.qh"
+    #include "config.qh"
+    #include "weapons.qh"
+#endif
+
 // ==========================
 //  Balance Config Generator
 // ==========================
@@ -36,9 +46,9 @@ void Dump_Weapon_Settings(void)
                        i,
                        WEP_NAME(i),
                        (((get_weaponinfo(i)).spawnflags & WEP_FLAG_MUTATORBLOCKED) ? " (MUTATOR WEAPON)" : "")
-               ))
-               for(x = 0; x <= WEP_CONFIG_COUNT; ++x) { WEP_CONFIG_WRITETOFILE(wep_config_queue[x]) }
-               WEP_CONFIG_WRITETOFILE("// }}}\n")
+               ));
+               for(x = 0; x <= WEP_CONFIG_COUNT; ++x) { WEP_CONFIG_WRITETOFILE(wep_config_queue[x]); }
+               WEP_CONFIG_WRITETOFILE("// }}}\n");
 
                // step 5: debug info
                print(sprintf("#%d: %s: %d settings...\n", i, WEP_NAME(i), WEP_CONFIG_COUNT));