]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/lib/_all.inc
General cleanup/optimize
[xonotic/xonotic-data.pk3dir.git] / qcsrc / lib / _all.inc
index c00c5a12afff460286089191ddc4912ae06c04ea..ceb59b780a7db71dd87640d9831cd78d810534b5 100644 (file)
@@ -1,18 +1,51 @@
-#include "bool.qh"
+#ifndef NOCOMPAT
+       #define COMPAT_NO_MOD_IS_XONOTIC
+#endif
+
+#include "compiler.qh"
+
+#ifndef QCC_SUPPORT_INT
+       #define int float
+#endif
+
+#ifndef QCC_SUPPORT_BOOL
+       #define bool float
+#endif
 
-#include "../warpzonelib/mathlib.qc"
+#if defined(CSQC)
+       #include "../dpdefs/csprogsdefs.qh"
+       #include "../dpdefs/keycodes.qh"
+#elif defined(SVQC)
+       #include "../server/sys-pre.qh"
+       #include "../dpdefs/progsdefs.qh"
+       #include "../dpdefs/dpextensions.qh"
+       #include "../server/sys-post.qh"
+#elif defined(MENUQC)
+       #include "../dpdefs/menudefs.qh"
+       #include "../dpdefs/keycodes.qh"
+#endif
+
+#include "warpzone/mathlib.qc"
 
 #include "accumulate.qh"
 #include "bits.qh"
+#include "bool.qh"
+#include "color.qh"
 #include "counting.qh"
 #include "cvar.qh"
 #include "defer.qh"
 #include "draw.qh"
 #include "file.qh"
+#include "functional.qh"
 #include "i18n.qh"
+#include "int.qh"
+#include "iter.qh"
 #include "lazy.qh"
+#include "linkedlist.qh"
 #include "log.qh"
+#include "map.qc"
 #include "math.qh"
+#include "misc.qh"
 #include "net.qh"
 #include "nil.qh"
 #include "noise.qc"
 #include "progname.qh"
 #include "random.qc"
 #include "registry.qh"
+#include "registry_net.qh"
 #include "replicate.qh"
-#include "sort.qh"
+#include "self.qh"
 #include "sortlist.qc"
+#include "sort.qh"
 #include "spawnfunc.qh"
 #include "static.qh"
+#include "stats.qh"
 #include "string.qh"
 #include "struct.qh"
 #include "test.qc"