#include <server/autocvars.qh>
#include <server/defs.qh>
#include "../deathtypes/all.qh"
- #include <server/mutators/all.qh>
+ #include <server/mutators/_all.qh>
#include <server/steerlib.qh>
#include "../turrets/sv_turrets.qh"
#include "../turrets/util.qh"
#include <server/constants.qh>
#include <server/defs.qh>
#include "all.qh"
- #include <server/mutators/all.qh>
+ #include <server/mutators/_all.qh>
#endif
// ================================================
#include "../server/bot/api.qh"
- #include <server/mutators/all.qh>
+ #include <server/mutators/_all.qh>
#include "../server/weapons/common.qh"
#include "../server/weapons/selection.qh"
#include <server/defs.qh>
#include "../notifications/all.qh"
#include "../deathtypes/all.qh"
- #include <server/mutators/all.qh>
+ #include <server/mutators/_all.qh>
#include "../mapinfo.qh"
#include <server/command/_all.qh>
#include <lib/csqcmodel/sv_model.qh>
#include "_all.qh"
#include "_mod.inc"
+
+#include <common/command/_all.inc>
#pragma once
#include "_mod.qh"
+
+#include <common/command/_all.qh>
// generated file; do not modify
-#include <menu/command/all.qc>
#include <menu/command/menu_cmd.qc>
// generated file; do not modify
-#include <menu/command/all.qh>
#include <menu/command/menu_cmd.qh>
+++ /dev/null
-#include "all.qh"
-
-#include <common/command/_all.inc>
+++ /dev/null
-#pragma once
#include "../../weapons/weaponsystem.qh"
-#include "../../mutators/all.qh"
+#include "../../mutators/_all.qh"
// traces multiple trajectories to find one that will impact the target
// 'end' vector is the place it aims for,
#include "../../race.qh"
#include <common/t_items.qh>
-#include "../../mutators/all.qh"
+#include "../../mutators/_all.qh"
#include "../../weapons/accuracy.qh"
--- /dev/null
+// generated file; do not modify
+#include <server/bot/null/bot_null.qc>
--- /dev/null
+// generated file; do not modify
+#include <server/bot/null/bot_null.qh>
#include "race.qh"
#include "../common/triggers/teleporters.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "weapons/tracing.qh"
#include "../scores.qh"
#include "../teamplay.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#ifdef SVQC
#include <common/vehicles/all.qh>
#include "../bot/api.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#include <common/constants.qh>
#include <common/mapinfo.qh>
#include "../round_handler.qh"
#include "../scores.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#include <common/constants.qh>
#include <common/mapinfo.qh>
#include "bot/api.qh"
#include "g_hook.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "scores.qh"
#include "spawnpoints.qh"
#include "../common/state.qh"
#include "defs.qh"
#include <common/notifications/all.qh>
#include <common/deathtypes/all.qh>
- #include "mutators/all.qh"
+ #include "mutators/_all.qh"
#include <common/turrets/sv_turrets.qh>
#include <common/vehicles/all.qh>
#include <lib/csqcmodel/sv_model.qh>
#include "g_hook.qh"
#include "ipban.qh"
#include "mapvoting.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "race.qh"
#include "scores.qh"
#include "teamplay.qh"
#include "constants.qh"
#include "g_hook.qh"
#include "ipban.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "../common/t_items.qh"
#include "weapons/accuracy.qh"
#include "weapons/csqcprojectile.qh"
#include "_all.qh"
#include "_mod.inc"
+
+#include "mutator/_all.inc"
#pragma once
#include "_mod.qh"
+
+#include "mutator/_all.qh"
// generated file; do not modify
-#include <server/mutators/all.qc>
+#include <server/mutators/loader.qc>
// generated file; do not modify
-#include <server/mutators/all.qh>
+#include <server/mutators/loader.qh>
+++ /dev/null
-#include "mutator/gamemode_assault.qc"
-#include "mutator/gamemode_ca.qc"
-#include "mutator/gamemode_ctf.qc"
-#include "mutator/gamemode_cts.qc"
-#include "mutator/gamemode_deathmatch.qc"
-#include "mutator/gamemode_domination.qc"
-#include "mutator/gamemode_freezetag.qc"
-#include "mutator/gamemode_invasion.qc"
-#include "mutator/gamemode_keepaway.qc"
-#include "mutator/gamemode_keyhunt.qc"
-#include "mutator/gamemode_lms.qc"
-#include "mutator/gamemode_race.qc"
-#include "mutator/gamemode_tdm.qc"
+++ /dev/null
-#include "all.qh"
-#if defined(CSQC)
-#elif defined(MENUQC)
-#elif defined(SVQC)
- #include <lib/warpzone/anglestransform.qh>
- #include <lib/warpzone/common.qh>
- #include <lib/warpzone/util_server.qh>
- #include <lib/warpzone/server.qh>
- #include <common/constants.qh>
- #include <common/stats.qh>
- #include <common/teams.qh>
- #include <common/util.qh>
- #include <common/command/_all.qh>
- #include <common/net_notice.qh>
- #include <common/animdecide.qh>
- #include <common/monsters/all.qh>
- #include <common/monsters/sv_monsters.qh>
- #include <common/monsters/spawn.qh>
- #include <common/weapons/config.qh>
- #include <common/weapons/all.qh>
- #include "../weapons/accuracy.qh"
- #include "../weapons/common.qh"
- #include "../weapons/csqcprojectile.qh"
- #include "../weapons/hitplot.qh"
- #include "../weapons/selection.qh"
- #include "../weapons/spawning.qh"
- #include "../weapons/throwing.qh"
- #include "../weapons/tracing.qh"
- #include "../weapons/weaponstats.qh"
- #include "../weapons/weaponsystem.qh"
- #include <common/t_items.qh>
- #include "../autocvars.qh"
- #include "../constants.qh"
- #include "../defs.qh"
- #include <common/notifications/all.qh>
- #include <common/deathtypes/all.qh>
- #include "all.qh"
- #include <common/turrets/sv_turrets.qh>
- #include <common/vehicles/all.qh>
- #include "../campaign.qh"
- #include <common/campaign_common.qh>
- #include <common/mapinfo.qh>
- #include "../command/common.qh"
- #include "../command/banning.qh"
- #include "../command/radarmap.qh"
- #include "../command/vote.qh"
- #include "../command/getreplies.qh"
- #include "../command/cmd.qh"
- #include "../command/sv_cmd.qh"
- #include <common/csqcmodel_settings.qh>
- #include <lib/csqcmodel/common.qh>
- #include <lib/csqcmodel/sv_model.qh>
- #include "../anticheat.qh"
- #include "../cheats.qh"
- #include <common/playerstats.qh>
- #include "../portals.qh"
- #include "../g_hook.qh"
- #include "../scores.qh"
- #include "../spawnpoints.qh"
- #include "../mapvoting.qh"
- #include "../ipban.qh"
- #include "../race.qh"
- #include "../antilag.qh"
- #include "../playerdemo.qh"
- #include "../round_handler.qh"
- #include "../item_key.qh"
- #include "../pathlib/pathlib.qh"
- #include <common/vehicles/all.qh>
-#endif
-
-#include "all.qh"
-
-STATIC_INIT_LATE(Gametype) {
- Gametype g = MapInfo_CurrentGametype();
- if (g) {
- for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
- string s = car(_s);
- FOREACH(Mutators, it.m_name == s, LAMBDA(Mutator_Add(it); break));
- }
- }
-}
-
-#define IMPLEMENTATION
-#include "all.inc"
-#undef IMPLEMENTATION
+++ /dev/null
-#pragma once
-
-#include "mutator.qh"
-#include "gamemode.qh"
-
-#include "all.inc"
#pragma once
+#include "mutator.qh"
+
+// TODO: trim
+
+#include <lib/warpzone/anglestransform.qh>
+#include <lib/warpzone/common.qh>
+#include <lib/warpzone/util_server.qh>
+#include <lib/warpzone/server.qh>
+#include <common/constants.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
+#include <common/util.qh>
+#include <common/command/_all.qh>
+#include <common/net_notice.qh>
+#include <common/animdecide.qh>
+#include <common/monsters/all.qh>
+#include <common/monsters/sv_monsters.qh>
+#include <common/monsters/spawn.qh>
+#include <common/weapons/config.qh>
+#include <common/weapons/all.qh>
+#include <server/weapons/accuracy.qh>
+#include <server/weapons/common.qh>
+#include <server/weapons/csqcprojectile.qh>
+#include <server/weapons/hitplot.qh>
+#include <server/weapons/selection.qh>
+#include <server/weapons/spawning.qh>
+#include <server/weapons/throwing.qh>
+#include <server/weapons/tracing.qh>
+#include <server/weapons/weaponstats.qh>
+#include <server/weapons/weaponsystem.qh>
+#include <common/t_items.qh>
+#include <server/autocvars.qh>
+#include <server/constants.qh>
+#include <server/defs.qh>
+#include <common/notifications/all.qh>
+#include <common/deathtypes/all.qh>
+#include <common/turrets/sv_turrets.qh>
+#include <common/vehicles/all.qh>
+#include <server/campaign.qh>
+#include <common/campaign_common.qh>
+#include <common/mapinfo.qh>
+#include <server/command/common.qh>
+#include <server/command/banning.qh>
+#include <server/command/radarmap.qh>
+#include <server/command/vote.qh>
+#include <server/command/getreplies.qh>
+#include <server/command/cmd.qh>
+#include <server/command/sv_cmd.qh>
+#include <common/csqcmodel_settings.qh>
+#include <lib/csqcmodel/common.qh>
+#include <lib/csqcmodel/sv_model.qh>
+#include <server/anticheat.qh>
+#include <server/cheats.qh>
+#include <common/playerstats.qh>
+#include <server/portals.qh>
+#include <server/g_hook.qh>
+#include <server/scores.qh>
+#include <server/spawnpoints.qh>
+#include <server/mapvoting.qh>
+#include <server/ipban.qh>
+#include <server/race.qh>
+#include <server/antilag.qh>
+#include <server/playerdemo.qh>
+#include <server/round_handler.qh>
+#include <server/item_key.qh>
+#include <server/pathlib/pathlib.qh>
+#include <common/vehicles/all.qh>
+
#include <server/cl_client.qh>
#include <server/cl_player.qh>
#include <server/cl_impulse.qh>
--- /dev/null
+#include "loader.qh"
+
+STATIC_INIT_LATE(Gametype) {
+ Gametype g = MapInfo_CurrentGametype();
+ if (g) {
+ for (string _s = g.m_mutators; _s != ""; _s = cdr(_s)) {
+ string s = car(_s);
+ FOREACH(Mutators, it.m_name == s, LAMBDA(Mutator_Add(it); break));
+ }
+ }
+}
--- /dev/null
+#pragma once
#include "_all.qh"
+#define IMPLEMENTATION
#include "_mod.inc"
+#undef IMPLEMENTATION
#pragma once
-#include "_mod.qh"
+// TODO: _mod.qh
+#include "_mod.inc"
#include "portals.qh"
#include "g_hook.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "../common/constants.qh"
#include "../common/deathtypes/all.qh"
#include "../common/notifications/all.qh"
#include "scores.qh"
#include "command/common.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "../common/playerstats.qh"
#include "../common/teams.qh"
#include "spawnpoints.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "g_world.qh"
#include "race.qh"
#include "../common/constants.qh"
#include "command/common.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "weapons/csqcprojectile.qh"
#include "../common/constants.qh"
#include "command/vote.qh"
-#include "mutators/all.qh"
+#include "mutators/_all.qh"
#include "../common/deathtypes/all.qh"
#include "../common/gamemodes/all.qh"
#include "accuracy.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#include <common/constants.qh>
#include <common/teams.qh>
#include <common/util.qh>
#include "spawning.qh"
#include "weaponsystem.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#include <common/t_items.qh>
#include <common/weapons/all.qh>
#include "throwing.qh"
#include "weaponsystem.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#include <common/t_items.qh>
#include "../g_damage.qh"
#include <common/items/item.qh>
#include "selection.qh"
#include "../command/common.qh"
-#include "../mutators/all.qh"
+#include "../mutators/_all.qh"
#include "../round_handler.qh"
#include <common/t_items.qh>
#include <common/animdecide.qh>