]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/item_key.qh
Merge branch 'TimePath/hudpanels_registry' into 'master'
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / item_key.qh
index 99b2b1d5c3579134b638f10896f1a6dd392146cf..4a2acd85b7d1c015d8303f3c4d120b4b25178292 100644 (file)
@@ -1,3 +1,6 @@
+#ifndef ITEM_KEY
+#define ITEM_KEY
+
 /**
  * Returns the bit ID of a key
  */
@@ -8,6 +11,7 @@
 /**
  * list of key names.
  */
+#ifdef SVQC
 string item_keys_names[ITEM_KEY_MAX];
 
 /**
@@ -20,4 +24,6 @@ float item_keys_usekey(entity l, entity p);
  * Returns a string with a comma separated list of key names, as specified in keylist.
  */
 string item_keys_keylist(float keylist);
+#endif
 
+#endif