Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
all.qc
Go to the documentation of this file.
1#include "all.qh"
2
4{
5 FOREACH(Items, true, ITEM_HANDLE(Show, it));
6}
7
8string 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}
17
18string Item_Sound(string it_snd)
19{
20 string output = strcat("misc/", it_snd);
21#ifdef SVQC
22 MUTATOR_CALLHOOK(ItemSound, it_snd, output);
23 return M_ARGV(1, string);
24#else
25 return output;
26#endif
27}
#define MUTATOR_CALLHOOK(id,...)
Definition base.qh:143
#define ITEM_HANDLE(signal,...)
Definition item.qh:125
#define M_ARGV(x, type)
Definition events.qh:17
void Dump_Items()
Definition all.qc:3
string Item_Model(string item_mdl)
Definition all.qc:8
string Item_Sound(string it_snd)
Definition all.qc:18
#define FOREACH(list, cond, body)
Definition iter.qh:19
strcat(_("^F4Countdown stopped!"), "\n^BG", _("Teams are too unbalanced."))