]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/dpdefs/menudefs.qh
Reduce repeated operations in a few places, mostly in the slick detector loop of...
[xonotic/xonotic-data.pk3dir.git] / qcsrc / dpdefs / menudefs.qh
1 #pragma once
2
3 #pragma noref 1
4
5 #define true _true
6 #define false _false
7 #define TRUE _TRUE
8 #define FALSE _FALSE
9
10 #define spawn _spawn
11
12 #include "upstream/menudefs.qc"
13
14 #undef true
15 #undef false
16 #undef TRUE
17 #undef FALSE
18
19 #undef spawn
20
21 int(string str, string sub, int startpos) _strstrofs = #221;
22 #define strstrofs _strstrofs
23 int(string str, int ofs) _str2chr = #222;
24 #define str2chr _str2chr
25 string(int c, ...) _chr2str = #223;
26 #define chr2str _chr2str
27
28 int(string s1, string s2) _strcmp = #228;
29 #define strcmp _strcmp
30 int(string s1, string s2, int len) _strncmp = #228;
31 #define strncmp _strncmp
32 int(string s1, string s2) _strcasecmp = #229;
33 #define strcasecmp _strcasecmp
34 int(string s1, string s2, int len) _strncasecmp = #230;
35 #define strncasecmp _strncasecmp
36
37 int() _buf_create = #440;
38 #define buf_create _buf_create
39
40 bool(entity ent) wasfreed = #353;
41
42 #pragma noref 0