]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/common/turrets/all.qc
Merge branch 'master' into TimePath/unified_weapons
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / turrets / all.qc
1 #include "all.qh"
2
3 Turret get_turretinfo(int id)
4 {
5     if (id < 1 || id > TUR_COUNT - 1)
6         return TUR_Null;
7     Turret m = turret_info[id];
8     if (m) return m;
9     return TUR_Null;
10 }
11
12 #ifdef SVQC
13 #include "sv_turrets.qh"
14 #endif
15
16 #ifdef CSQC
17 #include "cl_turrets.qh"
18 #endif
19
20 #define IMPLEMENTATION
21 #include "all.inc"
22 #undef IMPLEMENTATION