]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/util-pre.qh
Move TRUE and FALSE definitions to util-pre.qh and hide them under a definition check...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / util-pre.qh
1 #ifndef NOCOMPAT
2 # define COMPAT_NO_MOD_IS_XONOTIC
3 #endif
4
5 #ifndef QCC_SUPPORT_INT
6 #define int float
7 #endif
8
9 #ifndef QCC_SUPPORT_BOOL
10 #define bool float
11
12 // Boolean Constants
13 const float true        = 1;
14 const float false       = 0;
15 const float TRUE        = 1;
16 const float FALSE       = 0;
17 #endif