]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/monsters/all.qc
Ensure headers are always #included
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / all.qc
1 #include "all.qh"
2 #ifndef MONSTERS_ALL_C
3 #define MONSTERS_ALL_C
4
5 string M_Model(string m_mdl)
6 {
7         string output = strcat("models/monsters/", m_mdl);
8 #ifdef SVQC
9         MUTATOR_CALLHOOK(MonsterModel, m_mdl, output);
10         return M_ARGV(1, string);
11 #else
12         return output;
13 #endif
14 }
15
16 #include "all.qh"
17
18 #define IMPLEMENTATION
19 #include "monster/_mod.inc"
20 #undef IMPLEMENTATION
21
22 #ifdef SVQC
23 #include "spawn.qc"
24 #include "sv_monsters.qc"
25 #endif
26
27 #endif