2 #define COMPAT_NO_MOD_IS_XONOTIC
7 #ifndef QCC_SUPPORT_INT
11 #ifndef QCC_SUPPORT_BOOL
15 #include <dpdefs/pre.qh>
18 #include <dpdefs/csprogsdefs.qh>
19 #include <dpdefs/keycodes.qh>
21 #include <server/sys-pre.qh>
22 #include <dpdefs/progsdefs.qh>
23 #include <dpdefs/dpextensions.qh>
24 #include <server/sys-post.qh>
26 #include <dpdefs/menudefs.qh>
27 #include <dpdefs/keycodes.qh>
30 #include <dpdefs/post.qh>
34 #define USING(name, T) typedef T name
42 #define TC(T, sym) MACRO_BEGIN MACRO_END
44 #define TC(T, sym) MACRO_BEGIN \
46 LOG_WARNINGF("Type check failed: " #sym " :: " #T); \
52 #define is_float( this) (true || ftoe(this))
53 #define isnt_float( this)
54 #define is_vector( this) (true || vtos(this))
55 #define isnt_vector( this)
56 #define is_string( this) (true || stof(this))
57 #define isnt_string( this)
58 #define is_entity( this) (true || etof(this))
59 #define isnt_entity( this)
60 bool is_int( float this) { return this == floor(this); }
61 void isnt_int( float this) { print(ftos(this)); }
62 bool is_bool( float this) { return this == true || this == false; }
63 void isnt_bool( float this) { print(ftos(this)); }
65 #include "warpzone/mathlib.qc"
67 #include "accumulate.qh"
69 #include "arraylist.qh"
72 #include "counting.qh"
76 #include "enumclass.qh"
78 #include "functional.qh"
83 #include "linkedlist.qh"
86 #include "markdown.qh"
93 #include "p2mathlib.qc"
94 #include "progname.qh"
96 #include "registry.qh"
97 #include "registry_net.qh"
98 #include "replicate.qh"
99 #include "sortlist.qc"
101 #include "spawnfunc.qh"
112 #include "matrix/_mod.inc"