]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/progsdefs.qh
Merge branch 'master' into terencehill/race_fix
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / progsdefs.qh
1 #ifndef PROGSDEFS_H
2 #define PROGSDEFS_H
3
4 #pragma noref 1
5
6 #define true _true
7 #define false _false
8 #define TRUE _TRUE
9 #define FALSE _FALSE
10
11 #define spawn _spawn
12 #define setmodel _setmodel
13
14 #include "upstream/progsdefs.qc"
15
16 #undef true
17 #undef false
18 #undef TRUE
19 #undef FALSE
20
21 #undef spawn
22 #undef setmodel
23
24 #define stuffcmd(cl, ...) MACRO_BEGIN \
25     entity _cl = (cl); \
26     if (IS_REAL_CLIENT(_cl)) stuffcmd(_cl, __VA_ARGS__); \
27 MACRO_END
28
29 #pragma noref 0
30
31 #endif