2 #define COMPAT_NO_MOD_IS_XONOTIC
7 #ifndef QCC_SUPPORT_INT
11 #ifndef QCC_SUPPORT_BOOL
16 #include <dpdefs/csprogsdefs.qh>
17 #include <dpdefs/keycodes.qh>
19 #include <server/sys-pre.qh>
20 #include <dpdefs/progsdefs.qh>
21 #include <dpdefs/dpextensions.qh>
22 #include <server/sys-post.qh>
24 #include <dpdefs/menudefs.qh>
25 #include <dpdefs/keycodes.qh>
28 #define USING(name, T) typedef T name
36 #define TC(T, sym) MACRO_BEGIN MACRO_END
38 #define TC(T, sym) MACRO_BEGIN \
39 if (!is_##T(sym)) LOG_WARNINGF("Type check failed: " #sym " :: " #T); \
43 bool is_float (float this) { return true; }
44 bool is_vector(vector this) { return true; }
45 bool is_string(string this) { return true; }
46 bool is_entity(entity this) { return true; }
47 bool is_int (float this) { return this == floor(this); }
48 bool is_bool (float this) { return this == true || this == false; }
50 #include "warpzone/mathlib.qc"
52 #include "accumulate.qh"
54 #include "arraylist.qh"
57 #include "counting.qh"
61 #include "enumclass.qh"
63 #include "functional.qh"
67 #include "linkedlist.qh"
70 #include "markdown.qh"
77 #include "p2mathlib.qc"
78 #include "progname.qh"
80 #include "registry.qh"
81 #include "registry_net.qh"
82 #include "replicate.qh"
84 #include "sortlist.qc"
86 #include "spawnfunc.qh"