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>
34 #define TC(T, sym) MACRO_BEGIN MACRO_END
36 #define TC(T, sym) MACRO_BEGIN \
37 if (!is_##T(sym)) LOG_WARNINGF("Type check failed: " #sym " :: " #T); \
41 bool is_float (float this) { return true; }
42 bool is_vector(vector this) { return true; }
43 bool is_string(string this) { return true; }
44 bool is_entity(entity this) { return true; }
45 bool is_int (float this) { return this == floor(this); }
46 bool is_bool (float this) { return this == true || this == false; }
48 #include "warpzone/mathlib.qc"
50 #include "accumulate.qh"
52 #include "arraylist.qh"
55 #include "counting.qh"
59 #include "enumclass.qh"
61 #include "functional.qh"
65 #include "linkedlist.qh"
68 #include "markdown.qh"
75 #include "p2mathlib.qc"
76 #include "progname.qh"
78 #include "registry.qh"
79 #include "registry_net.qh"
80 #include "replicate.qh"
82 #include "sortlist.qc"
84 #include "spawnfunc.qh"