]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/menudefs.qh
Implement intrusive lists
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / menudefs.qh
1 #ifndef MENUDEFS_H
2 #define MENUDEFS_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
13 #include "upstream/menudefs.qc"
14
15 #undef true
16 #undef false
17 #undef TRUE
18 #undef FALSE
19
20 #undef spawn
21
22 #define localcmd cmd
23
24 int(string str, string sub, int startpos) _strstrofs = #221;
25 #define strstrofs _strstrofs
26 int(string str, int ofs) _str2chr = #222;
27 #define str2chr _str2chr
28 string(int c, ...) _chr2str = #223;
29 #define chr2str _chr2str
30
31 int(string s1, string s2) _strcmp = #228;
32 #define strcmp _strcmp
33 int(string s1, string s2, int len) _strncmp = #228;
34 #define strncmp _strncmp
35 int(string s1, string s2) _strcasecmp = #229;
36 #define strcasecmp _strcasecmp
37 int(string s1, string s2, int len) _strncasecmp = #230;
38 #define strncasecmp _strncasecmp
39
40 int() _buf_create = #440;
41 #define buf_create _buf_create
42
43 bool(entity ent) wasfreed = #353;
44
45 #pragma noref 0
46
47 #endif