]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/items/all.qc
Merge branch 'master' into terencehill/hud_updates
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / items / all.qc
1 #include "all.qh"
2
3 void Dump_Items()
4 {
5     FOREACH(Items, true, ITEM_HANDLE(Show, it));
6 }
7
8 string Item_Model(string item_mdl)
9 {
10     string output = strcat("models/items/", item_mdl);
11 #ifdef SVQC
12     MUTATOR_CALLHOOK(ItemModel, item_mdl, output);
13     output = M_ARGV(1, string);
14 #endif
15     return output;
16 }