d742c77af105f6d33e916fcd1704acc23f3010ce
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / all.qc
1 #include "all.qh"
2 #if defined(CSQC)
3 #elif defined(MENUQC)
4 #elif defined(SVQC)
5     #include <lib/warpzone/anglestransform.qh>
6     #include <lib/warpzone/common.qh>
7     #include <lib/warpzone/util_server.qh>
8     #include <lib/warpzone/server.qh>
9     #include <common/constants.qh>
10     #include <common/stats.qh>
11     #include <common/teams.qh>
12     #include <common/util.qh>
13     #include <common/command/markup.qh>
14     #include <common/command/rpn.qh>
15     #include <common/command/generic.qh>
16     #include <common/command/command.qh>
17     #include <common/net_notice.qh>
18     #include <common/animdecide.qh>
19     #include <common/monsters/all.qh>
20     #include <common/monsters/sv_monsters.qh>
21     #include <common/monsters/spawn.qh>
22     #include <common/weapons/config.qh>
23     #include <common/weapons/all.qh>
24     #include "../weapons/accuracy.qh"
25     #include "../weapons/common.qh"
26     #include "../weapons/csqcprojectile.qh"
27     #include "../weapons/hitplot.qh"
28     #include "../weapons/selection.qh"
29     #include "../weapons/spawning.qh"
30     #include "../weapons/throwing.qh"
31     #include "../weapons/tracing.qh"
32     #include "../weapons/weaponstats.qh"
33     #include "../weapons/weaponsystem.qh"
34     #include <common/t_items.qh>
35     #include "../autocvars.qh"
36     #include "../constants.qh"
37     #include "../defs.qh"
38     #include <common/notifications/all.qh>
39     #include <common/deathtypes/all.qh>
40     #include "all.qh"
41     #include <common/turrets/sv_turrets.qh>
42     #include <common/vehicles/all.qh>
43     #include "../campaign.qh"
44     #include <common/campaign_common.qh>
45     #include <common/mapinfo.qh>
46     #include "../command/common.qh"
47     #include "../command/banning.qh"
48     #include "../command/radarmap.qh"
49     #include "../command/vote.qh"
50     #include "../command/getreplies.qh"
51     #include "../command/cmd.qh"
52     #include "../command/sv_cmd.qh"
53     #include <common/csqcmodel_settings.qh>
54     #include <lib/csqcmodel/common.qh>
55     #include <lib/csqcmodel/sv_model.qh>
56     #include "../anticheat.qh"
57     #include "../cheats.qh"
58     #include <common/playerstats.qh>
59     #include "../portals.qh"
60     #include "../g_hook.qh"
61     #include "../scores.qh"
62     #include "../spawnpoints.qh"
63     #include "../mapvoting.qh"
64     #include "../ipban.qh"
65     #include "../race.qh"
66     #include "../antilag.qh"
67     #include "../playerdemo.qh"
68     #include "../round_handler.qh"
69     #include "../item_key.qh"
70     #include "../pathlib/pathlib.qh"
71     #include <common/vehicles/all.qh>
72 #endif
73
74 #include "all.qh"
75
76 STATIC_INIT_LATE(Gametype) {
77     Gametype g = MapInfo_Type(MapInfo_CurrentGametype());
78     if (g) {
79         for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
80             string s = car(_s);
81             FOREACH(Mutators, it.m_name == s, LAMBDA(Mutator_Add(it); break));
82         }
83     }
84 }
85
86 #define IMPLEMENTATION
87 #include "all.inc"
88 #undef IMPLEMENTATION