X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode.qh;h=1e60b203e3caa7226883860198bc9f9e130977df;hp=5e2c4635734d27cdd3717ccfe1d76b4df39e37d5;hb=b7d363a108963ca13647ee25b58c5a531366cf49;hpb=ae8867e3301e6cdda736e245858932f8f36d71f1 diff --git a/qcsrc/server/mutators/gamemode.qh b/qcsrc/server/mutators/gamemode.qh index 5e2c46357..1e60b203e 100644 --- a/qcsrc/server/mutators/gamemode.qh +++ b/qcsrc/server/mutators/gamemode.qh @@ -1,45 +1,43 @@ -#ifndef GAMEMODE_H -#define GAMEMODE_H +#pragma once -#include "../cl_client.qh" -#include "../cl_player.qh" -#include "../cl_impulse.qh" -#include "../cheats.qh" -#include "../g_damage.qh" -#include "../round_handler.qh" -#include "../scores.qh" -#include "../scores_rules.qh" -#include "../teamplay.qh" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "../bot/bot.qh" -#include "../bot/navigation.qh" -#include "../bot/waypoints.qh" -#include "../bot/havocbot/roles.qh" +#include -#include "../bot/havocbot/havocbot.qh" +#include -#include "../command/vote.qh" +#include -#include "../../common/monsters/all.qh" +#include -#include "../command/common.qh" +#include +#include -#include "../weapons/tracing.qh" -#include "../weapons/weaponsystem.qh" +#include +#include +#include +#include +#include +#include +#include +#include -#include "../../common/deathtypes/all.qh" -#include "../../common/notifications.qh" -#include "../../common/triggers/teleporters.qh" -#include "../../common/triggers/subs.qh" -#include "../../common/stats.qh" -#include "../../common/teams.qh" - -#include "../../lib/warpzone/server.qh" -#include "../../lib/warpzone/util_server.qh" +#include +#include .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);