]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/all.qh
672ed707cd0c3bf271d98fd713ba3f44177ae32a
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qh
1 #ifndef ITEMS_ALL_H
2 #define ITEMS_ALL_H
3
4 #include "item.qh"
5
6 REGISTRY(Items, BIT(5))
7 REGISTER_REGISTRY(RegisterItems)
8 /** If you register a new item, make sure to add it to all.inc */
9 #define REGISTER_ITEM(id, class) REGISTER(RegisterItems, ITEM, Items, id, m_id, NEW(class))
10
11 void Dump_Items();
12
13 #ifndef MENUQC
14 string Item_Model(string item_mdl);
15 #endif
16
17 #endif
18
19 #include "inventory.qh"