]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/mutators/gamemode.qh
#pragma once
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mutators / gamemode.qh
index 38e9ad8a3b39a27530021e9e3156f2484157e140..de3a215fe9d3a819dd00806d78e047c8f4980270 100644 (file)
@@ -1,49 +1,45 @@
-#ifndef GAMEMODE_H
-#define GAMEMODE_H
-
-#include "mutator_nades.qh"
+#pragma once
 
 #include "../cl_client.qh"
 #include "../cl_player.qh"
 #include "../cl_impulse.qh"
 #include "../cheats.qh"
 #include "../g_damage.qh"
-#include "../g_subs.qh"
-#include "../t_teleporters.qh"
 #include "../round_handler.qh"
 #include "../scores.qh"
 #include "../scores_rules.qh"
-#include "../waypointsprites.qh"
+#include "../teamplay.qh"
 
 #include "../bot/bot.qh"
 #include "../bot/navigation.qh"
 #include "../bot/waypoints.qh"
 #include "../bot/havocbot/roles.qh"
-#include "../bot/havocbot/role_keyhunt.qh"
 
 #include "../bot/havocbot/havocbot.qh"
 
 #include "../command/vote.qh"
 
-#include "../../common/monsters/monsters.qh"
+#include <common/monsters/all.qh>
 
 #include "../command/common.qh"
 
 #include "../weapons/tracing.qh"
 #include "../weapons/weaponsystem.qh"
 
-#include "../../common/deathtypes.qh"
-#include "../../common/notifications.qh"
-#include "../../common/stats.qh"
-#include "../../common/teams.qh"
+#include <common/deathtypes/all.qh>
+#include <common/notifications/all.qh>
+#include <common/triggers/teleporters.qh>
+#include <common/triggers/subs.qh>
+#include <common/stats.qh>
+#include <common/teams.qh>
 
-#include "../../warpzonelib/mathlib.qh"
-#include "../../warpzonelib/server.qh"
-#include "../../warpzonelib/util_server.qh"
+#include <lib/warpzone/server.qh>
+#include <lib/warpzone/util_server.qh>
 
 .float lastground;
 float total_players;
 float redalive, bluealive, yellowalive, pinkalive;
-.float redalive_stat, bluealive_stat, yellowalive_stat, pinkalive_stat;
-
-#endif
+.float redalive_stat = _STAT(REDALIVE);
+.float bluealive_stat = _STAT(BLUEALIVE);
+.float yellowalive_stat = _STAT(YELLOWALIVE);
+.float pinkalive_stat = _STAT(PINKALIVE);