X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmutators%2Fgamemode.qh;h=1e60b203e3caa7226883860198bc9f9e130977df;hb=9185b58da6fe5f2b095d7066577e1e024b4d2798;hp=9de38eae73f5ede057824df7bf60808d984fb582;hpb=3ae1efa7401791e42e3171f4db2cc2d38adde088;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mutators/gamemode.qh b/qcsrc/server/mutators/gamemode.qh index 9de38eae7..1e60b203e 100644 --- a/qcsrc/server/mutators/gamemode.qh +++ b/qcsrc/server/mutators/gamemode.qh @@ -1,48 +1,43 @@ -#ifndef GAMEMODE_H -#define GAMEMODE_H +#pragma once -#include "mutator_nades.qh" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#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 "../bot/bot.qh" -#include "../bot/navigation.qh" -#include "../bot/waypoints.qh" -#include "../bot/havocbot/roles.qh" -#include "../bot/havocbot/role_keyhunt.qh" +#include -#include "../bot/havocbot/havocbot.qh" +#include -#include "../command/vote.qh" +#include -#include "../../common/monsters/all.qh" +#include +#include -#include "../command/common.qh" +#include +#include +#include +#include +#include +#include +#include +#include -#include "../weapons/tracing.qh" -#include "../weapons/weaponsystem.qh" - -#include "../../common/deathtypes.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);