]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/monsters/all.qc
Merge branch 'master' into TimePath/unified_weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / monsters / all.qc
1 #ifndef MONSTERS_ALL_C
2 #define MONSTERS_ALL_C
3
4 #include "all.qh"
5
6 entity get_monsterinfo(int id)
7 {
8         if (id >= MON_FIRST && id <= MON_LAST) {
9                 entity m = monster_info[id];
10                 if (m) return m;
11         }
12         return MON_Null;
13 }
14
15 #define IMPLEMENTATION
16 #include "all.inc"
17 #undef IMPLEMENTATION
18
19 #endif