X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fdpdefs%2Fmenudefs.qh;h=036d87ff2fa8e7a213932d69fc66e84e30700a94;hb=7ff985ed6aa644a01d2520ec06603f32f9dd4074;hp=dce99cde598cbba758d4c3cb36fdc3db325a66ba;hpb=fc62dfa34fa5b13d63660d5249633af1222d6476;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/dpdefs/menudefs.qh b/qcsrc/dpdefs/menudefs.qh index dce99cde5..036d87ff2 100644 --- a/qcsrc/dpdefs/menudefs.qh +++ b/qcsrc/dpdefs/menudefs.qh @@ -1,5 +1,4 @@ -#ifndef MENUDEFS_H -#define MENUDEFS_H +#pragma once #pragma noref 1 @@ -8,6 +7,8 @@ #define TRUE _TRUE #define FALSE _FALSE +#define spawn _spawn + #include "upstream/menudefs.qc" #undef true @@ -15,6 +16,10 @@ #undef TRUE #undef FALSE +#undef spawn + +#define localcmd cmd + int(string str, string sub, int startpos) _strstrofs = #221; #define strstrofs _strstrofs int(string str, int ofs) _str2chr = #222; @@ -34,6 +39,6 @@ int(string s1, string s2, int len) _strncasecmp = #230; int() _buf_create = #440; #define buf_create _buf_create -#pragma noref 0 +bool(entity ent) wasfreed = #353; -#endif +#pragma noref 0