From: TimePath Date: Sun, 20 Dec 2015 23:50:39 +0000 (+1100) Subject: menu: bufstr_get X-Git-Tag: xonotic-v0.8.2~1468 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=af5bcb8e69e8bb70e0e08b92f68c39e4481ed1da;p=xonotic%2Fxonotic-data.pk3dir.git menu: bufstr_get --- diff --git a/qcsrc/common/debug.qh b/qcsrc/common/debug.qh index 4285a5941..4a75c50fd 100644 --- a/qcsrc/common/debug.qh +++ b/qcsrc/common/debug.qh @@ -1,9 +1,12 @@ #ifndef DEBUG_H #define DEBUG_H +#ifndef MENUQC .bool debug; .int sv_entnum; REGISTER_NET_TEMP(net_debug) +#endif + #ifdef CSQC NET_HANDLE(net_debug, bool isNew) { @@ -40,7 +43,9 @@ REGISTER_NET_TEMP(net_debug) } #endif +#ifndef MENUQC bool autocvar_debugdraw; +#endif #ifdef CSQC string autocvar_debugdraw_filter, autocvar_debugdraw_filterout; diff --git a/qcsrc/menu/progs.inc b/qcsrc/menu/progs.inc index 5282a0188..730fb652b 100644 --- a/qcsrc/menu/progs.inc +++ b/qcsrc/menu/progs.inc @@ -16,6 +16,7 @@ #include "../common/mapinfo.qc" #include "../common/playerstats.qc" #include "../common/util.qc" +#include "../common/debug.qh" #include "../common/items/all.qc" #include "../common/monsters/all.qc"