]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/util-pre.qh
Merge remote-tracking branch 'origin/Mario/qc_updates' into Mario/qc_updates
[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
8 #define stoi(s) stof(s)
9 #define itos(s) ftos(s)
10 #endif
11
12 #ifndef QCC_SUPPORT_BOOL
13 #define bool float
14
15 // Boolean Constants
16 const float true        = 1;
17 const float false       = 0;
18 const float TRUE        = 1;
19 const float FALSE       = 0;
20 #endif