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 \
40 LOG_WARNINGF("Type check failed: " #sym " :: " #T); \
46 #define is_float( this) (true || ftoe(this))
47 #define isnt_float( this)
48 #define is_vector( this) (true || vtos(this))
49 #define isnt_vector( this)
50 #define is_string( this) (true || stof(this))
51 #define isnt_string( this)
52 #define is_entity( this) (true || etof(this))
53 #define isnt_entity( this)
54 bool is_int( float this) { return this == floor(this); }
55 void isnt_int( float this) { print(ftos(this)); }
56 bool is_bool( float this) { return this == true || this == false; }
57 void isnt_bool( float this) { print(ftos(this)); }
59 #include "warpzone/mathlib.qc"
61 #include "accumulate.qh"
63 #include "arraylist.qh"
66 #include "counting.qh"
70 #include "enumclass.qh"
72 #include "functional.qh"
76 #include "linkedlist.qh"
79 #include "markdown.qh"
86 #include "p2mathlib.qc"
87 #include "progname.qh"
89 #include "registry.qh"
90 #include "registry_net.qh"
91 #include "replicate.qh"
93 #include "sortlist.qc"
95 #include "spawnfunc.qh"