]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/all.qh
Expand /lib
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qh
1 #ifndef ITEMS_ALL_H
2 #define ITEMS_ALL_H
3
4 void RegisterItems();
5 const int MAX_ITEMS = 24;
6 entity ITEMS[MAX_ITEMS], ITEMS_first, ITEMS_last;
7 int ITEM_COUNT;
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, ITEM_COUNT, id, m_id, NEW(class))
10 REGISTER_REGISTRY(RegisterItems)
11
12 void Dump_Items();
13
14 #endif
15
16 #include "inventory.qh"