X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode.qh;h=1e60b203e3caa7226883860198bc9f9e130977df;hb=9185b58da6fe5f2b095d7066577e1e024b4d2798;hp=5e2c4635734d27cdd3717ccfe1d76b4df39e37d5;hpb=948c08402a7b9b7af36059104937650e343ecefe;p=xonotic%2Fxonotic-data.pk3dir.git 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);