]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/mapobjects/misc/keys.qh
Remove key-specific BIT macro
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / mapobjects / misc / keys.qh
1 #pragma once
2
3 #define ITEM_KEY_MAX    24
4
5 /**
6  * list of key names.
7  */
8 #ifdef SVQC
9 string item_keys_names[ITEM_KEY_MAX];
10
11 /**
12  * Use keys from p on l.
13  * Returns true if any new keys were given, false otherwise.
14  */
15 float item_keys_usekey(entity l, entity p);
16
17 /**
18  * Returns a string with a comma separated list of key names, as specified in keylist.
19  */
20 string item_keys_keylist(float keylist);
21 #endif