]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
menu: bufstr_get
authorTimePath <andrew.hardaker1995@gmail.com>
Sun, 20 Dec 2015 23:50:39 +0000 (10:50 +1100)
committerTimePath <andrew.hardaker1995@gmail.com>
Sun, 20 Dec 2015 23:50:39 +0000 (10:50 +1100)
qcsrc/common/debug.qh
qcsrc/menu/progs.inc

index 4285a5941e9f4fa339fb143d820311ffa89bb996..4a75c50fd2a214a61eb4ff0c67e1469b4b3aa787 100644 (file)
@@ -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;
index 5282a01888d791d9d61e47d4e9f7451fc6846282..730fb652b086358cd07d14519928006a1a6c1c18 100644 (file)
@@ -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"